Downloading historical cryptocurrency data and learning to trade Bitcoin automatically – YouTube

Downloading historical cryptocurrency data and learning to trade Bitcoin automatically


  • Video Views: 7696
  • Published On: 2021-02-08 21:55:17
  • Video Published/Author: Python Lessons
  • Video Duration: 00:30:31
  • Source: Watch on YouTube

In this tutorial, we’ll learn what is the simplest way to download historical cryptocurrency OHCL market data via exchange APIs and we’ll use this data to train our Reinforcement Learning Bitcoin trading agent that could finally beat the market!

Text version tutorial:
GitHub code:

✅ Support My Channel Through Patreon:

✅ One-Time Contribution Through PayPal:


  1. Thanks for uploading this video, it helped in clarify a lot of things for me. I have the following question: How do you combine the learning of these parallel agents? Do we take the weights from the agent that performed best? Which part of the code does this as I was not able to find where we are combining the weights? I think without combining, it is same as running a single worker.

  2. hi the video is awesome and it helped me a lot but when I want to download those cryptocurrencies which have less than 3 words or more in their symbols it won't download such as BUSD, USDt , DOGE,… what should I do please help me.

  3. Nice job! Look into risk/reward management. This will improve your model. Consider using a stoploss (in terms of % for example) and one or more take profits. If first take profit reached, consider moving stoploss to entry. If you have a risk reward of 1:2, this means you risk 1 to earn a reward of 2. Mathematically speaking you need to have 33.3% accuracy. Good luck, in any case.

  4. Please add an option or go over how this could be applied to another exchange api (ie coinbase or kraken). Thank you.

    Really enjoying the walk through and seeing the process of this as it develops.

Leave a Reply

Your email address will not be published.

Related Posts