Hey Shivam, great code. I suspect the model makes many profits because it has an aggressive buy-sell strategy, but how do you think it would play out if a flat commission for each trade, as is common in real trading, were implemented? Would the model settle for a standard buy-and-hold strategy?

ML & CS enthusiast. Let’s connect: https://www.linkedin.com/in/andre-ye. Check out my podcast: https://open.spotify.com/show/0wUzfk9C6nnH9G0tKXudUe

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store