Git Product home page Git Product logo

crypto-ticker's Introduction

Crypto Ticker

A library for displaying crypto asset prices on an LED matrix panel using a Raspberry Pi.

Requires:

  • Adafruit 64x32 LED Matrix Panel
  • Raspberry Pi Zero WH
  • CoinMarketCap API Account

See the Howchoo guide for installation and configuration instructions:

https://howchoo.com/pi/raspberry-pi-cryptocurrency-ticker

Settings

You can customize the application by adding any of the following settings to your settings.env file in the root directory of this repo:

Name Default Description
SYMBOLS btc,eth The asset symbols you want to track.
CURRENCY usd The currency used to show asset prices. CoinGecko currently supports "usd" and "eur", while CoinMarketCap supports only "usd".
API coingecko The API you want to use to fetch price data. Currently supported APIs are "coingecko" and "coinmarketcap".
REFRESH_RATE 300 How often to refresh price data, in seconds.
SLEEP 3 How long each asset price displays before rotating, in seconds.
CMC_API_KEY The CoinMarketCap API key, required if you specified API=coinmarketcap.
SANDBOX Used for CoinMarketCap only. Set SANDBOX=false if you're developing and want to use the sandbox API.

Example:

SYMBOLS=btc,eth,ltc,xrp
API=coingecko

Note: Some symbols are ambiguous. For example, uni currently corresponds to three different currencies in the CoinGecko API. To specify the currency or token you want (with CoinGecko only), you can use the following:

SYMBOLS=btc,eth,uni:uniswap

The second value (uniswap) corresponds to the ID of the currency in the API. This is currently only supported for the CoinGecko API. You can find the CoinGecko ID for a token in the URL. E.g. https://www.coingecko.com/en/coins/uniswap.

crypto-ticker's People

Contributors

josephtyler avatar zlevine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.