This is a simple autotrader I made during a competition at my high-school that involved the MarketWatch Virtual Stock market game. Unfortuanlly I never got to use it because I broke it and didn't fix it until the end. It involves going thru a screener from trading view and getting the riskiest stocks of the day ( based on pre-market data ) and then using a hybrid algorithm that takes the premarket data from market watch ( which market watch needed really special ticket types as indicated by the csv file and to translate the actual stock tickets into a proprietary format I reverse engineered from the API ). It then tries to connect to the marketwatch webstocket endpoints to get the live data which then it reports to telegram.
Now the part that broke is that I changed the loggin from the python built in logging to my own queue implementation to try to get all the logs to print to telegram, however, the queue kept freezing, possibly because the piping realtime stockmarket data from 30 websocket connections into one queue freezes it :(
Have fun, you may find use in the reverse engineering of the API and how it goes about the proprietary translation of the stocks and stock exchange/market tickets.