Kismuz / btgym

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

if 'raw' in self.params['strategy']['state_shape'].keys(): AttributeError: 'tuple' object has no attribute 'keys' #68

Closed Kalelv45 closed 6 years ago

Kalelv45 commented 6 years ago

Use this template when reporting bugs, errors or unexpected behaviour. Override for general questions, feature requests, proposals etc.

Hi, having some problem while running env in GYM preferred way. Running the code as in documentation gets me this error:

Running environment:

if 'raw' in self.params['strategy']['state_shape'].keys(): AttributeError: 'tuple' object has no attribute 'keys'

Kismuz commented 6 years ago

@Kalelv45 , thank you for spotting, doc. example corrected.

Kalelv45 commented 6 years ago

Thanks to you! Tried to reach out and communicate with you, but don't know how. Thanks for you work!

Kismuz commented 6 years ago

@Kalelv45 - updated personal profile with public email.