pybacktest
pybacktest copied to clipboard
do i have to use locals() to call backtest
I have gone through the example code and I have a confusion in here bt = pybacktest.Backtest(locals(), 'ma_cross'). Instead of using locals() I want to use my own custom dict. What format as well as values should I use in this dict?
Thank you for your help