- Ufc data: https://gist.github.com/martj42/695f9a976b7beaa11617840467ac0352.
- Remember to run a bash command from ipython, just start the line with an exclamation mark.
- Tradebot.
- Added all reqs.
- Got live prices with yahoo_fin, at first. It’s an extremely simple package, basically just fetching data from yahoo.
- It was only about 400 lines, and was a poorly written package (didn’t even specify requirements), so I gutted and rewrote it myself. Condensed to about 100 lines. Delinted.
- Created a ticket to adjust risk based on ISM PMI later: https://gitlab.com/bmahlstedt-group/tradebot/issues/3.
- EPS = earnings per share.
- TTM= trailing 12 months.
- YOY = year over year.
- MRQ = most recent quarter.
- EBITDA = earnings before interest, tax, depreciation, and amortization.
- PEG = price/earnings-to-growth.
- Data fetch capability is complete.
- I now have a few decisions to make, as to the strategy/stance the bot uses to trade:
- Get the day’s biggest losers, run regression/ML on the historical data (how far back?) for all 100 to see who is trending positive, and buy at that low. Get the day’s biggest winners, and sell any you’re holding at that high.
- Use analyst/earnings/stats. Decide which ones, do an instantaneous fetch, and trade based on those numbers.