Kismuz / btgym

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

AttributError #87

Closed macd2 closed 5 years ago

macd2 commented 5 years ago

Hey There im just pulled the latest version and getting:

AttributeError: 'ActionDictSpace' object has no attribute 'n'

Running environment:

i used the examples to initialize the env

Files or part of package has been run:

i fails here: self.env.action_space.n

in addition im getting this warning 'WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype.'

which has to do with h5py but is surely not related to this issue.

Thanks for help

Kismuz commented 5 years ago

@macd2, which example exactly is throwing this?