Note:
- Don't share any API key, secret key, or password.
- Any questions, please contact:
Discord/Wechat ID: squawkwallstreet
.
Prerequisite:
-
Install Python: https://www.python.org/downloads/
-
Install requirements: run in CMD under root directory:
pip install -r requirements.txt
-
Install MooMoo/Futu OpenD: https://www.moomoo.com/download/OpenAPI
-
PyCharm (Recommended), download and install: https://www.jetbrains.com/products/compare/?product=pycharm&product=pycharm-ce
-
Go to the
env/_secret.py
and fill in your trading password and Discord info. -
Go to the
strategy/Your_Strategy.py
, and replace the example strategy instrategy_decision(self)
with your own strategy -
Login to MooMoo/Futu OpenD, setup the port number to 11112 or 11111, which should be the same as
MOOMOOOPEND_PORT
inTradingBOT.py
. -
Go to the project root directory and run in CMD:
python TradingBOT.py
Feel free to use the link below to get a MooMoo account, 0 fees for most tradings. We both can get some free stocks. 💰
or, just add me on Discord. My Discord ID: squawkwallstreet
(Please feel free to develop your own strategy under strategy/Your_Strategy.py
)