Please read the disclaimer before using.
This bot helps users to buy ASNB Fixed Price UT units.
The user shall proceed to make his/her own payment only if there is a successful purchase attempt.
Currently, this bot supports up to 3 fixed price unit trusts:
- ASM (Malaysia)
- ASM2 (Wawasan)
- ASM3 (1Malaysia)
sequenceDiagram
participant Bot
participant Login
participant Portfolio
participant Transactions
participant Payment
participant Logout
link Bot: SixPercent @ https://github.com/ngshiheng/six-percent
link Login: https://www.myasnb.com.my/login
link Portfolio: https://www.myasnb.com.my/portfoio
link Transactions: https://www.myasnb.com.my/transactions
link Logout: https://www.myasnb.com.my/logout
Bot->>Login: launch browser
Login->>Portfolio: success
Portfolio->>Transactions: select ASM
loop 10 attempts
Transactions->>Transactions: purchase
end
Transactions->>Payment: success
Payment->>Logout: success
Transactions-->>Portfolio: failed
loop ASM, ASM2, ASM3
Portfolio->>Portfolio: select fund
end
Portfolio->>Logout: no successful purchase attempt
- Windows 10+
- python 3.8+
- pip package installer
- poetry
- chromedriver based on your OS & Chrome version
We use poetry to manage our dependencies.
Start by installing all the dependencies
poetry install --no-root
pre-commit install
poetry run python main.py
Optional: to generate a new SixPercent.spec
file, run the following:
pyi-makespec main.py --name SixPercent --icon "img\favicon.ico" --onefile --console --add-binary "bin\driver\chromedriver.exe;bin\driver\"
-
To (re)generate the executable, run
pyinstaller SixPercent.spec --clean
-
A
SixPercent.exe
will be generated inside thedist/
folder -
Run
SixPercent.exe
and use the bot
Read USAGE.md.
Read CONTRIBUTING.md.
Read DISCLAIMER.md.
For more details, visit myASNB Official Website
What is myASNB Fixed Price Fund?
- ASNB is a subsidiary of “Permodalan Nasional Berhad” (PNB). It is a government-supported unit trust management company.
- Amanah Saham are funds that are managed by Amanah Saham National Berhad (ASNB).
How does the fund work? Why should I care?
- If there is no unit available, you will never be able to purchase new units or open up a new account.
- A fixed price (RM 1/unit) means there will be no price fluctuation. These funds can thus be regarded as saving accounts.
- The dividend earned is not taxable.
Is there any sales charge or additional fees?
- No sales charge.
- No additional fees.
How to start buying or investing?
- You need an ASNB account in order to start investing.
- You can perform all the transactions (including opening an account) at any ASNB branch or agent.