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.2.tar.gz (43.3 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.2-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: btcticker-0.1.2.tar.gz
  • Upload date:
  • Size: 43.3 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.2.tar.gz
Algorithm Hash digest
SHA256 f6344c242f8ccfde40a7c6f6d243773c16466f9a08015044943cfa3a364926a5
MD5 bcd9aafe3001e54c9184c8adc210d008
BLAKE2b-256 fd1c9ef67ef99a4af678e5de3ca090ca232ec2d904632674b1f58de520c1b227

See more details on using hashes here.

File details

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

File metadata

  • Download URL: btcticker-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7b1ed94a15be7619d9691a0bc8c7312ac859ef90b8966fe0727189c6bda27c
MD5 e9c43c8a28dadbce6497ff7541691f1f
BLAKE2b-256 a45e480e3547dc831217048e6ce384700cf7725b6720f9cb22620eb212b07fc8

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