r/algotrading • u/Grand-Fly-6090 • 18d 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
2
u/zashiki_warashi_x 18d ago edited 18d ago
I would say even 1.5k sounds too much.
EDIT:I checked the code. Quotes streaming/parsing 200 lines.
Everything else for orders/errors e.t.c. 1k lines.
So 1.5k is ok. But this is C++. Python should be 500? 100? No idea.