{"repo":"hugocen/freqtrade-gym","free":true,"listed":false,"github":"https://github.com/hugocen/freqtrade-gym","clone":"git clone https://github.com/hugocen/freqtrade-gym.git","description":"A customized gym environment for developing and comparing reinforcement learning algorithms in crypto trading.","language":"Python","stars":230,"topics":["freqtrade","baseline","algorithmic-trading","reinforcement-learning","gym","machine-learning","cryptocurrency","crypto","trading","trading-bot"],"license":"GPL-3.0","category":"trading","readme_excerpt":"freqtrade-gym This project is base on freqtrade The project is in very early stage, so there are a lot of inconvenient part that you have to set up manually. I am working on the improvements. Installation 1. freqtrade Follow the freqtrade documentation to install freqtrade Initialize the user directory 2. Pandas 3. OpenAI Gym 4. Copy freqtrade-gym files Baseline files IndicatorforRL.py - [freqtrade home]/user data/strategies/IndicatorforRL.py config rl.json - [freqtrade home]/config rl.json freqtradegym.py - [freqtrade home]/freqtradegym.py deep rl.py - [freqtrade home]/deep rl.py RLib Copy first the baseline files. LoadRLModel.py - [freqtrade home]/user data/strategies/LoadRLModel.py rllib example.py - [freqtrade home]/rllib example.py Example Usage (baseline) The usage example is deep rl.py and the config for freqtrade and freqtrade-gym is config rl.json and uses IndicatorforRL.py as feature extraction. This demo is using openai baseline library to train reinforcement learning agents. Baseline can install by Download historical data (Remember to download a little bit more data than the timerange in config file just in case.) To match the example config rl.json Move the IndicatorforRL.py into user data/strategies (you should have user data/strategies/IndicatorforRL.py) Run the demo to train an agent. You can use tensorboard to monior the training process logdir is defined in deep rl.py when initializing the rl model This will look like Example Usage (RLlib) The usage example","default_branch":null,"files":null,"tree":[],"storefront":"/r/hugocen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hugocen/freqtrade-gym/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}