Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

inherit BTgymDataset to use binary feed #41

Closed
GaelReinaudi opened this issue Feb 21, 2018 · 1 comment
Closed

inherit BTgymDataset to use binary feed #41

GaelReinaudi opened this issue Feb 21, 2018 · 1 comment

Comments

@GaelReinaudi
Copy link

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
Copy link
Owner

Kismuz commented Feb 21, 2018

@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

@Kismuz Kismuz closed this as completed Mar 8, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants