Skip to main content

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}")

Metadata

Release files for crypto-currency-world-price 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crypto-currency-world-price 0.0.1
File Size Uploaded Provenance Actions
crypto currency world price-0.0.1.tar.gz 15.9 kB Without provenance Details for crypto currency world price-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crypto-currency-world-price 0.0.1
File Interpreter ABI Platform Actions
crypto_currency_world_price-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for crypto_currency_world_price-0.0.1-py2.py3-none-any.whl

Total release size: 33.2 kB

Release files / crypto currency world price-0.0.1.tar.gz

Download URL crypto currency world price-0.0.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
746981446a590e68e137ad95bb433aeaca0f1da1ac220e500a06c0b8ba4a267a
BLAKE2b-256 checksum
How to use checksums
a5a9d0ca0f864961baec916f0130efb0a3b4472b6c88adfe32acc67c191955ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

Release files / crypto_currency_world_price-0.0.1-py2.py3-none-any.whl

Download URL crypto_currency_world_price-0.0.1-py2.py3-none-any.whl
Size 17.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0234694bf95adb5ad417f65feb52779321f3773cf25a65dc8baceeb12fe10326
BLAKE2b-256 checksum
How to use checksums
67dea8a0d62a2425fecb60f7580e0f7465112ca1233fbe0ed729eb94741debce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

Security for crypto-currency-world-price 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page