Skip to main content

Historic Crypto

An open source Python library for scraping Historical Cryptocurrency data.

This library scrapes coinmarketcap.com to collect historical Cryptocurrency data, returning a Pandas DataFrame.

Installation

From Python:

pip install Historic-Crypto
from Historic_Crypto import HistoricalData

Usage

If you are unsure of the correct 'ticker' to scrape:

pip install Historic-Crypto
from Historic_Crypto import HistoricalData
HistoricalData(start_date = '', ticker = '').find_all_tickers()

Returns a Pandas DataFrame containing the columns "Name" and "Symbol", which indicate the Name - Symbol pairs of available cryptocurrencies. The "Symbol" is required as the corresponding 'ticker' input argument of other class methods:

pip install Historic-Crypto
from Historic_Crypto import HistoricalData

dataset = HistoricalData(start_date = '2013-06-06',
                        end_date = '2015-01-01',
                        ticker = 'BTC').retrieve_data()

Returns a Pandas DataFrame 'dataset', which contains the Open, Close, High, Low, Volume and Market Capitalisation of Bitcoin between 2013-06-06 and 2015-01-01, indexed by Date.

pip install Historic-Crypto
from Historic_Crypto import HistoricalData

dataset = HistoricalData(start_date = '2013-06-06',
                        ticker = 'BTC').retrieve_data()

Returns a Pandas DataFrame 'dataset', which contains the Open, Close, High, Low, Volume and Market Capitalisation of Bitcoin between 2013-06-06 and today, indexed by Date.

Input Arguments

Argument Description
ticker information for which the user would like to return (str).
start_date a string in the format YYYY-MM-DD (str). [optional]
end_date a string in the format YYYY-MM-DD (str). [optional]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Historic_Crypto-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Historic_Crypto-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file Historic_Crypto-0.0.1.tar.gz.

File metadata

  • Download URL: Historic_Crypto-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for Historic_Crypto-0.0.1.tar.gz
Algorithm Hash digest
SHA256 37123fd7d8bd36bff11969673fabc8a713f338829a5820e0abbed11c64c2c3c0
MD5 3669bfc1e3633bcc1810b08974d2bd04
BLAKE2b-256 101d4b4a6dfcd19a70a333725683feac259ad9bff675dfabb021a941c466ff07

See more details on using hashes here.

File details

Details for the file Historic_Crypto-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Historic_Crypto-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for Historic_Crypto-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef8db79616176fe89261e28ef6dd5d560747e38f684f878628ff78472feac0b0
MD5 65d737a419f076c5a095e161fbf97f76
BLAKE2b-256 0b4236bfff1d19b0148dcc53d4fb9837046348c00dc15d3afaab8800e917775c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page