TD Ameritrade Trading Bot
This is a trading bot based on TD Ameritrade API to fetch stock prices from the US stock market in real-time. Reference resources can be found here:
- Documentation: https://developer.tdameritrade.com/apis
- YouTube Video: https://www.youtube.com/watch?v=qJ94sSyPGBw&ab_channel=SigmaCoding
- External Module Source: https://tda-api.readthedocs.io/en/stable/
How it works
- RUN 'main.py'
- GET info from 'info.py'
- PUT info into 'strategies.py'
- TRIGGER 'open_order.py'
- RECORD order in 'portfolio.py'
- TRIGGER take profit / stop loss in 'close_order.py
- REPEAT from step 2 to step 6 again and again
Do List:
- Authentication
- Time
- Indicator
- Open Order
- Check Profit