froggleston/freqtrade_analysis_notebook

KeyError: '20230101' in RunTestStrategy

vaidab opened this issue · 1 comments

vaidab commented

I get a KeyError: '20230101' in RunTestStrategy:76
timerange / single_tr is "20230105-20230415"
I'm not sure what's happening here and if I need to provide more details..

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In[31], line 76
     73 else:
     74     tm_rounded = tm_rounded.iloc[0].strftime(dtformat)
---> 76 redo_results.append(redo_dict[tm_rounded])
     78 # reset config_i
     79 new_srs_tuple = (srs[0], srs[1], srs[2], srs[3], 1, srs[5])

KeyError: '20230101'

This needs more work as it should work as intended but clearly doesn't. I'll dig into this.