Files
pythonguis-examples/pyqt5/demos/crypto/constants.py
Martin Fitzpatrick b74592ea41 Add versions for PySide6, PyQt6 & PySide2.
Break down examples into module files to make easier to read. Use
full-definitions on Enums (PyQt6 compatible, better documenting).
Add fixes for Qt6 versions & some general bugfixes.
2024-02-19 13:36:32 +01:00

39 lines
729 B
Python

# CryptoCompare.com API Key
CRYPTOCOMPARE_API_KEY = ""
# Base currency is used to retrieve rates from bitcoinaverage.
DEFAULT_BASE_CURRENCY = "USD"
AVAILABLE_BASE_CURRENCIES = ["USD", "EUR", "GBP"]
# The crypto currencies to retrieve data about.
AVAILABLE_CRYPTO_CURRENCIES = [
"BTC",
"ETH",
"LTC",
"EOS",
"XRP",
"BCH",
] #
DEFAULT_DISPLAY_CURRENCIES = ["BTC", "ETH", "LTC"]
# Number of historic timepoints to plot (days).
NUMBER_OF_TIMEPOINTS = 150
# Colour cycle to use for plotting currencies.
BREWER12PAIRED = [
"#a6cee3",
"#1f78b4",
"#b2df8a",
"#33a02c",
"#fb9a99",
"#e31a1c",
"#fdbf6f",
"#ff7f00",
"#cab2d6",
"#6a3d9a",
"#ffff99",
"#b15928",
]