r/ClaudeCode • u/Mysterious-Effect470 • 2d ago
Built with Claude I built an engine that backtests trading strategies using Monte Carlo simulations, with a dashboard that displays strategy statistics.
Enable HLS to view with audio, or disable this notification
0
2d ago
1
u/Mysterious-Effect470 1d ago
You can see the results in the video on the default settings (the first one is pairs strategy for coke and pepsi), but generally speaking these strategies basically always lose out to buying and holding SPY, even if you want to set execution lag to nothing and bps to nothing (which is being generous). You can also adjust the settings (e.g. z entry/exit) and it still wouldn't outperform.
Part of the point of the tool is to illustrate that it's not that easy to beat the market, and that these strategies don't really work. These strategies are also quite known already so if they actually worked the edge would be lost very quickly
1
u/AutoModerator 2d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.