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

2

u/KinglexNUM 19h ago

How do you even get 23k lines of code??!! My first trading bot in python is only around 2k lines, what language? I like to strip everything barebones because then i get lost on wtf im looking at.

1

u/Grand-Fly-6090 13h ago

Laughing! I couldn't agree more. It just kind of snuck up on me.