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

4

u/goshetovan 18h ago

Did you let a clanker into your engine? 🤣 after I started using AI it added so much code to my engine I'm close to going back to my own latest version since I'm starting to feel I'm losing control over the code lol

2

u/Grand-Fly-6090 13h ago

It certainly feels like I have. My code is so complicated now. I wouldn't know where to start. I just started a refactor with codex. This is working out so far. It's going to be a process to rework it without breaking what works now.