Kismuz / btgym

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

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

Closed Kalelv45 closed 5 years ago

Kalelv45 commented 5 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 5 years ago

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

Kalelv45 commented 5 years ago

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

Kismuz commented 5 years ago

@Kalelv45 - updated personal profile with public email.