AI powered trading (part III)steemCreated with Sketch.

in cryptocurrency •  7 years ago 

Training deep Q learning on BTC/EUR

For this blog post, we've decided to take the algorithm from part I, and train it on Kraken BTCEUR exchange data. The features that were used for learning the Q function (the AI part, the magical black box that is able to look at the data and tell you what action will yield the best reward):

  • Close price
  • One-day price movement
  • SMA15
  • SMA60
  • Difference between SMA15 and SMA60
  • RSI
  • ATR

We've trained a model for up to 150 iterations on Nvidia Tesla K80 GPUs on three different datasets, each roughly 200 days shorter than the previous one. On this setup, it took about 6-7 hours per dataset.

Well, let's see what training these models looks like!

data_2017.gif
data_2016.gif
data_2015.gif

Notice the huge fluctuations in how "decisive" our AI trader aims to be when the iteration count is low: the AI is still learning and starts acting too optimistically, only to find out that it's much more valuable to predict long-term trends rather than playing the "guess tomorrow's price" game, hence the charts become mostly all "hold" towards the end of learning. However it still does not possess the decisiveness and steady hand of a human, and decides to take an odd trade every once in awhile in order to keep searching for a new "alpha" and correct course if need be.

Would you want to learn to train such AI that will help you trade smarter? Would you like to get your hands on the source code for this model and adapt it to your needs with your custom features, to combine machine and human intelligence?

When we launch Rados our subscribers will get access to realtime diverse datasets, insights powered by market research and AI assistants, and premium educational content along with the tools and/or source code needed in order to learn, for both beginners and seasoned quants looking at this new market.

In the meantime, let us know if you want to see the sources in the comments section below, resteem us, and when we get to 100 steemit followers we will publish the code in our blog.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for sharing this. I need to sleep but will check out the earlier parts of this series soon! Will be following closely, this is exactly what I am interested in right now

interesting

Congratulations @rados! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

  ·  7 years ago Reveal Comment

Nice post
Upvote and follow me @raziadlani

More information about this topic, please! Thank you.

I would love to see the source please. I am also working on this [email protected]