gelinger777 / reinforcement-learning-trader

Trading cryptocurrencies using deep reinforcement learning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepBubble

Trading altcoins using deep reinforcement learning.

Strategy

Start with a small-cap, low-volume altcoin market. First, train it with paper trading. Next, let it start trading with real money. Once the agent has learned to successfully make money when trading with real money, move it up to the next market (by market cap or volume).

Implementation Plan

  • Uses ccxt library for trades.
  • use OpenAI gym (implement the Env interface) for the exchange.
    • For simplicity, constrain trades to just the Bittrex exchange (ie. do not allow for an arbitrage strategy).
    • Inputs to the system are the order book (including bid, ask, spread) and the price ticker.
    • Outputs are {do nothing, place buy order, place sell order, cancel open order}. Buy and sell orders also have floats for price and quantity.
    • The score is the total value of holdings, using BTC as the reference. Calculate the score as follows: (BTC in BTC wallet) + (amount of ALT held * value of ALT in BTC)
  • Use Keras with a Tensorflow backend for the agent (deep recurrent Q-network).

Resources

http://www.wildml.com/2018/02/introduction-to-learning-to-trade-with-reinforcement-learning/

trading

deep reinforcement learning

References

must-read

relevant

tangentially relevant

About

Trading cryptocurrencies using deep reinforcement learning.

License:GNU General Public License v3.0


Languages

Language:Python 99.5%Language:Makefile 0.5%