Skip to main content

Historical data manager for cryptos.

Project description


PyPI Python Build Status License

Historical data all cryptocurrencies.

Use it for machine learning, vector prediction or for whatever you like. Be my guest.


Install with pip or clone, both works.

$ git clone
$ python coindata/ install

or just do pip install coindata

Setup installs requirements itself. Requirements are beautifulsoup4 and requests.


Cache with cache

>>> coindata.cache('xrp')

Access data through get

>>> coindata.get('RIPPLE')
      [Beginning of the time]
      ['Date': string,
       'Open*': float,
       'High': float,
       'Low': float,
       'Close**': float,
       'Volume': float,
       'Market Cap': float,
       # additional info below #
       'date': datetime.object,
       'circulation': decimal,
       'change': float]

Note: Any form of input is legit: xrp = XRP = ripple = RIPPLE

File structure:

            CSV files
            JSON files

Read documentation at code for a lot more functionality

Important Notes

+ Symbol, name and case doesn't matter.

btc = BTC = bitcoin = BITCOIN

+ Based on USD.

+ Date notation is ISO8601 in CSV files.

>>> coindata.ISO8601

Give this a star this if you feel this helped you. Contributions always welcome.


1.3 (2019-03-22)

  • Refactor to

  • Migrate from snapshot logic to single caching

  • Update documentation

  • Update parsing for coinmarketcap’s html template change

  • Add test case

1.2 (2019-01-28)

  • Update
    • Align with documentation by refactoring take_snapshot to take

    • Add docstrings to take

  • Handle first snapshot by giving warnings

1.1 (2019-01-27)

  • Major update to data manager
    • Refactor to

    • Add and

    • Update documentation

1.0 (????-??-??)

  • First release

Project details

Download files

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

Source Distribution

coindata-1.3.tar.gz (6.3 kB view hashes)

Uploaded source

Built Distribution

coindata-1.3-py2.py3-none-any.whl (8.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page