Skip to main content

Download on-chain data for bitcoin (works for cryptoquant)

Project description

OCFINANCE (Works with Cryptoquant)

Download On-Chain data from cryptoquant, checkonchain, etc.

Installation

Use pip to install the ocfinance package.

pip install ocfinance

Supported Websites

Usage

Get the url of the chart and download it:

import ocfinance as of
data = of.download("https://charts.checkonchain.com/btconchain/pricing/pricing_picycleindicator/pricing_picycleindicator_light.html")

# Export as CSV
data.to_csv('out.csv')

Cryptoquant guide

Email and password of your account are required.

Works only with third party indicators

Pass your email and password to the download function (preferably using environment variables)

import os
import ocfinance as of

email = os.getenv('CRYPTOQUANT_EMAIL')
password = os.getenv('CRYPTOQUANT_PASSWORD')

data = of.download(
    "https://cryptoquant.com/analytics/query/66451fd6f3cac64b85386229?v=66451fd6f3cac64b8538622b",
    email=email,
    password=password
)

The url that needs to be passed can be access like so:

Click the source button Copy the url

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

ocfinance-0.0.2.tar.gz (234.8 kB view details)

Uploaded Source

Built Distribution

ocfinance-0.0.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file ocfinance-0.0.2.tar.gz.

File metadata

  • Download URL: ocfinance-0.0.2.tar.gz
  • Upload date:
  • Size: 234.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for ocfinance-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f1e1058d17fc9b6096d97cb5c23714296d358875bfa77dad4d11a382f55e34b2
MD5 62ee0392cb296f9313d8b18d44283c5c
BLAKE2b-256 721b277bb83aadb3d63b7321c3a3d1e10ff7bef2056aebebad6f9cec19e2d12c

See more details on using hashes here.

File details

Details for the file ocfinance-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ocfinance-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for ocfinance-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6d94735e9d41ce0450cb8cb8f9f65c8b0ab050899689d67f9c6959b43415f5e
MD5 9f2ff886e264ed4c2b78ce81b75b1565
BLAKE2b-256 b2c3d2abc06805844cd7ac8e909064cd128cefbb87a6188b43e34c770d701696

See more details on using hashes here.

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