Kismuz / btgym

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

inherit BTgymDataset to use binary feed #41

Closed GaelReinaudi closed 6 years ago

GaelReinaudi commented 6 years ago

Hi, when I try to derivate BTgymDataset in order to use my own datasource in this way: https://www.backtrader.com/blog/posts/2015-08-11-datafeed-development/datafeed-development.html

I get btgym complaining about the NoneType being not iterable. It is trying to read a csv file even though I did override the necessary methods such as load.

Is there a use case I am missing so that I can use a non csv source of data in the same way backtrader does in the example linked above? Thx.

Kismuz commented 6 years ago

@GaelReinaudi, would you please specify which methods of base class has been overridden and how?

what behaviour you expected?

what exact error log you get?

Related: #32, #25, #13, #12