Skip to main content

Python SDK for the hosted cbfin Cboe market-data API.

Project description

cbfin

Python SDK for the hosted cbfin Cboe market-data API.

The hosted API wraps Cboe public market-data routes behind a cached, rate-limited REST surface. It is not affiliated with, endorsed by, or sponsored by Cboe.

Install

pip install cbfin

Quick Start

from cbfin import Client

client = Client(contact="you@example.com")

quote = client.quote("AAPL")
chain = client.options_chain("AAPL")
vx = client.futures_data("VX")
share = client.options_market_share()
status = client.system_status()

Convenience wrappers are also available:

import cbfin

data = cbfin.options_chain("AAPL")

The compatibility import path cbfin_client is also included.

Common Methods

  • Client.health(), Client.endpoints(), and Client.openapi() expose API discovery and status metadata.
  • Client.quote(symbol), Client.options_chain(symbol), Client.chart_intraday(symbol), Client.chart_one_month(symbol), and Client.chart_historical(symbol) wrap Cboe delayed quote routes.
  • Client.futures_data(root_symbol), Client.futures_quotes_combined(), and settlement helpers wrap Cboe futures routes.
  • Client.options_market_share() and Client.options_most_active() wrap Cboe options market statistics.
  • Client.get(path, params=...) is available for any public cbfin route.

Set CBFIN_BASE_URL, CBFIN_CONTACT, or CBFIN_API_KEY in the environment to configure the default client.

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

cbfin-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

cbfin-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file cbfin-0.1.0.tar.gz.

File metadata

  • Download URL: cbfin-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cbfin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35e6d73e03a75af3c499ac59d9c8ee59b373abc6006eb04e6791f06f30fd74d1
MD5 5d6a60d78def4dff00ae9f630e026ffc
BLAKE2b-256 ce30d8d9b063bc7e9d5c8fc1ff78b1e5dd5be493896e70ac80be2d0b26a0b5a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cbfin-0.1.0.tar.gz:

Publisher: publish-cbfin-python.yml on bluedoor-ai/cbfin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cbfin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cbfin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cbfin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f089b596e77b029620740d0c9872046939575cd3f3c1e40ca2e542d70207e2e
MD5 7405965192f596d7d403aeeb4d71c1d7
BLAKE2b-256 8c327d02e1660dd64d414d2f2a67f3b68d499e7833d61e74c0834f835d52932e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cbfin-0.1.0-py3-none-any.whl:

Publisher: publish-cbfin-python.yml on bluedoor-ai/cbfin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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