My Simple Back Testing script

I wrote a simple back testing script, please check and test it, and make changes or give suggestion to improve the code

3 Likes

That’s cool! Often hand-crafted backtesting is easier and simpler than using any of existing tools because every strategy needs different capability and it’s so hard to support all cases.

Only one recommendation from me is that it would be nice to have Pipefile or requirements.txt so people can understand dependencies easily. Python dependencies is always tough.

I added requirement txt