Skip to content

Trading cryptocurrencies using deep reinforcement learning.

License

Notifications You must be signed in to change notification settings

sarikayamehmet/reinforcement-learning-trader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepBubble

Trading altcoins using deep reinforcement learning.

Strategy

Start with a small-cap, low-volume altcoin market. First, let it learn to “buy low, sell high” by training 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published