Skip to content

BorjaRuizReverter/Scraping_BTCpricedata_from_Bitcoincharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scraping BTCpricedata from Bitcoincharts

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.

Installation

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.

Configuration

Before execution you will have to choose your configuration options in the config.py file. These are:

  1. Start date
  2. Final date
  3. Exchange
  4. Currency

Execution

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.

About

This repo is to show how to scrap data from a website in order to collect data for further analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages