AminHP / gym-anytrading

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
MIT License
2.1k stars 465 forks source link

how to enable live peper trading? #17

Closed lorrp1 closed 4 years ago

lorrp1 commented 4 years ago

hello, is there a way to implement a live paper trading? or just a way to feed the price in real time?

AminHP commented 4 years ago

Hi lorrp1!

Currently, there is no built-in support for that. However, it is possible by overriding these methods: _get_observation _process_data _calculate_reward

Please take a look at their source codes.