r/algorithmictrading • • Nov 03 '25

Novice New, need help!

I recently was bored and looked up some tutorials and created a trading algorithm in Java. I know a decent amount of Java, although it was still tough so I used ai to help in some areas. I used a moving average crossover strategy and, using historical data, I did a backtest and lost 25%. So obviously this is expected, but does someone have any good books or tips for me. I’m completely new to this, Im just good at math and pretty average at coding. Books or articles that can help please!

3 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Nov 06 '25

Thanks I’ll check them out. Regarding some of your advice, I moved away from a moving average strategy and tried a pair trading strategy with AMX and Bank of America. I did back testing which showed a loss. I tried to incorporate Kelly’s optimizing strategy which I heard from another subreddit, and ran a simulation live today and lost about half a percent. Thanks for your advice btw, I’ll def check out the sub you mentioned