Kismuz / btgym

Scalable, event-driven, deep-learning-friendly backtesting library
https://kismuz.github.io/btgym/
GNU Lesser General Public License v3.0
979 stars 259 forks source link

Workaround fix for #95 - order mixup on datas #120

Closed JaCoderX closed 4 years ago

JaCoderX commented 4 years ago

datas[] is created when we use cerebro.adddata() in sever.py but before we add the data, 2 dictionary are created on BTgymMultiData which mix the oredered data_config.

change dictionary declaration from {} to OrderedDict()

Kismuz commented 4 years ago

LGTM!