Scraping Historical Cryptocurrency Prices [Python Beautiful Soup & Selenium Tutorial]

preview_player
Показать описание
In this python tutorial video, we show you how you can scrape historical data for a cryptocurrency of your choice using beautifulsoup and selenium, from coinmarketcap. We capture all of the data going back as far as they have it and then automatically save it into a csv, all with python. Web scraping work with python is often times such an important early stage need for any sort of data analysis pipeline that you may have, and automated trading systems are no different.

You could use the data after scraping it, to attempt to train a predictive model for a cryptocurrency trading bot (crypto arbitrage anyone?). If you build your model properly, you may even have an improved chance at predicting future crypto prices (sounds like magic I know).
If you enjoyed the video, make sure and hit like and subscribe. We will keep putting out more great content like this on how to learn python.

Also if you have any requests for video content, just comment down below or email us (email at bottom of description).

Make sure to install the correct version for your operating system.



To download the example .py file in the video-

Links for all documentation:

Рекомендации по теме
Комментарии
Автор

I am trying to scrape yahoo finance. Your method works perfectly fine but the csv file only saves data upto 101 rows. How do we increase the row size to indefinite?

tarun
Автор

Just a thought, could HasData help in scraping historical crypto prices instead of using Selenium?

maystephens
Автор

Hello there. Great video . How can you run this python selenium script daily at let's say 3 PM to do some tasks . Can we schedule it on a windows server and let is run ?

sunil
Автор

Hi does this still work? Or has CMC walled this data off?

raphaelortiz
Автор

Prerequisite of this video?I only know basics of python.

MdBahauddinZakaria
welcome to shbcf.ru