This repository scrapes Bitcoin price data from the openwebsite Bitcoincharts.com
The purpose is to collect, clean and prepare Bitcoin price action data for further analysis.
Make sure you are using the latest version of Python. Otherwise, download if from here
After that install all the required packages:
pip install -r requirements.txt
You will also need a webdriver in order to the script manipulate the browser automaticly. Firefox, Internet Explorer, Safari, Opera, Chrome and Edge provide their own webdriver. However, the most reliable one is the GeckoDriver from Firefox. You will need both the browser and the webdriver, so download Firefox from here and the Geckodriver from here, depending on your OS.
Before execution you will have to choose your configuration options in the config.py file. These are:
- Start date
- Final date
- Exchange
- Currency
Once you have all installed, you can clone this repository by open a terminal and typing:
git clone https://github.com/BorjaRuizReverter/Scraping_BTCpricedata_from_Bitcoincharts.git
Then move to the repository folder cloned:
cd Scraping_BTCpricedata_from_Bitcoincharts
and execute the python script
python3 ScrapingBTCpricedata.py
if you are in Linux, or
python ScrapingBTCpricedata.py
under Windows.