hackthemarket / gym-trading

Environment for reinforcement-learning algorithmic trading models
MIT License
699 stars 214 forks source link

How to add this environment to gym? #2

Open anubhavj880 opened 7 years ago

anubhavj880 commented 7 years ago

I am new to OpenAi Gym so i don't know how to add third party environment .So can tell me how to add this environment to gym it will be a great help.

tasercake commented 6 years ago
  1. Clone this repo (optionally, fork it first).
  2. Navigate to the directory you cloned this repo to.
  3. Run pip install -e . to install the package in 'edit mode'.
  4. In your python file: import gym import gym_trading
YingxiaoKong commented 4 years ago

Hello I tried what you said but still it gives an error:No registered env with id:... I installed this package in the same environment as my gym.