crypto currency world price
Project description
Fetches World Price of a Certain Symbol Concurrently
from world_price import WorldPrice
from world_price.source import BinancePriceSource, HuoBiPriceSource, MxcPriceSource
SYMBOL = "BTC_USDT"
async def main():
price_source = [BinancePriceSource, HuoBiPriceSource, MxcPriceSource]
wp = WorldPrice(price_source, price_diff_tolerance=3/5)
p = await wp.get_price(SYMBOL)
print(f"world price of {SYMBOL}: {p}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for crypto currency world price-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 746981446a590e68e137ad95bb433aeaca0f1da1ac220e500a06c0b8ba4a267a |
|
MD5 | 154245faa772ca4e099909c1e51917ea |
|
BLAKE2b-256 | a5a9d0ca0f864961baec916f0130efb0a3b4472b6c88adfe32acc67c191955ca |
Close
Hashes for crypto_currency_world_price-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0234694bf95adb5ad417f65feb52779321f3773cf25a65dc8baceeb12fe10326 |
|
MD5 | b63f66f30df37eef05b8820282847628 |
|
BLAKE2b-256 | 67dea8a0d62a2425fecb60f7580e0f7465112ca1233fbe0ed729eb94741debce |