Skip to content

Python CLI that fetches live cryptocurrency prices

License

Notifications You must be signed in to change notification settings

bonjoursoftware/cryptocli

Repository files navigation

CryptoCLI

CI CodeQL Docker Build

Bonjour Software CryptoCLI is a cryptocurrency command-line tool.

Requirements

  • Docker runtime

Usage

  • find cryptocurrency symbols matching a given pattern:
docker run bonjoursoftware/cryptocli find --symbol btc
  • fetch last trade price for a given cryptocurrency symbol:
docker run bonjoursoftware/cryptocli price --symbol BTC-GBP

Tip: prices can be polled at regular intervals with the --ticker argument (in seconds):

docker run bonjoursoftware/cryptocli price --symbol BTC-GBP --ticker 300
  • print manual:
docker run bonjoursoftware/cryptocli --help

Tip: the --help argument also works on subcommands:

docker run bonjoursoftware/cryptocli find --help
docker run bonjoursoftware/cryptocli price --help