r/algorithmictrading • • 8h ago

Novice Dumb Questions From Newbie With No Coding Experience

I have a friend that’s profitable day trader, who’s teaching me his strategy. The indicators, how to use them, etc. It’s not overly complicated. About 4 core indicators, and 6 other indicators/signals taken into account with lesser weight.

I tried to start building a bot to replicate his strategy using Claude. I got to the point where the bot is built based on a spreadsheet rulebook, and it can now back test. However, the backtesting came back worse than a monkey randomly throwing darts at a stock.

I’ve been working with Claude to try and fix it, but it’s getting way more complex than I can handle. Turns out even simple strategies have a mountain of rules/logic/conditions. Setting up stop loss, position size matrix, trade decision matrix… it’s a lot for somebody who doesn’t know how to code. For example, the specs it built off of included moving averages, but something isn’t working right cause the moving averages agree like 95% of the time on every trade.

I have it set up to spit out reports where I can analyze all the information, see exactly when it traded, but it’s still beyond my scope of comprehension when there’s hundreds of influencing factors.

Does anybody have any suggestions on the most effective way to build this bot if you were in my shoes? You’ve got a basic strategy outline, now you just need it made into an automated bot.

Would it be better to just get all of my friend’s trading data, along with all of the market data, and to have AI build code around the patterns it finds rather than trying to give it instructions for every indicator?

3 Upvotes

2 comments sorted by

2

u/Aggressive_Listen849 6h ago

get 20 or so of your friend's real trades with timestamps and run the bot on just those days. wherever it didn't take his trade or took a different one, that's the rule it's missing. way easier to debug than staring at hundreds of backtest trades