Skip to main content

Creates PNG images with the current Bitcoin price and other information. Based on Pillow.

Project description

btcticker

Bitcoin ticker rendering with a provider-based price backend.

Config

btcticker now defaults to the pyccxt backend. The main price settings are:

[Main]
price_provider = pyccxt
exchange = kraken
symbol = BTC/EUR
usd_symbol = BTC/USD
ccxt_timeout = 30000
price_refresh_seconds = 10

If symbol is empty, btcticker derives it from fiat as BTC/<FIAT>.

Legacy price_service configs are no longer supported. Migrate them to price_provider=pyccxt plus explicit exchange, symbol, and usd_symbol values.

CLI Config Selection

Config selection flags work globally for all commands:

btcticker --config my_config.ini text
btcticker --config my_config.ini image --output ticker.png
btcticker --config my_config.ini download
btcticker --config my_config.ini config edit

You can also use:

btcticker --local text
btcticker --global image

Only one of --config, --local, or --global may be used at a time.

For compatibility, command-local forms still work too:

btcticker text --config my_config.ini
btcticker image --local
btcticker config --global

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

btcticker-0.1.1.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

btcticker-0.1.1-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file btcticker-0.1.1.tar.gz.

File metadata

  • Download URL: btcticker-0.1.1.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for btcticker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e1a7274ebabf3456bc411dc9e7ba0532fddfe409b8a4cfa952a7fb6c82cb70eb
MD5 5a23983b3e85b856577931f911d9f081
BLAKE2b-256 149daf44b3b5c3c9a72bef2cbc1ed102b911a075ef8c0a2e6b67b2c86ea666d3

See more details on using hashes here.

File details

Details for the file btcticker-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: btcticker-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for btcticker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97f4bfbb8d57ac268c3faff63126fa0cfbec93785bc1586aa0977e4b7c85b545
MD5 8ee5311583a2af526fae0f33864cfe17
BLAKE2b-256 d2dd5db82533f8b5c066a59c3d794e746b53aa87f0b41dffc48668e60454e52e

See more details on using hashes here.

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