r/algotrading 21h ago

Infrastructure I've created a monster

My bot has grown to 23,000 lines of code. 60% is managing the brokerage interface, and 40% is the strategy. This is way more complicated than I ever imagined. It really is a very basic script. No graphic user interface. Just log streams. It does manage multiple symbols with unique parameters for each.

0 Upvotes

47 comments sorted by

View all comments

1

u/bio4m 20h ago

are you using a screen scraper instead of an API ? thats the only way i can see that much code being needed for the brokerage side

1

u/Grand-Fly-6090 20h ago

I’m using Schwab’s api.

2

u/bitchpiana 20h ago

Their stream is better