Get current price of crypto from most popular stock exchanges
Project description
Welcome to crypto-stocks
Here are some instructions how to use this libraly
How to import library
import crypto-stocks
How to get price for crypto currency from Binance
price_binance = Binance('crypto_name', 'fiat_currency')
#example:
price_binance = Binance('btc', 'usd')
How to get price for crypto currency from Coinbase
price_coinbase = Coinbase('crypto_name', 'fiat_currency')
#example:
price_coinbase = Coinbase('btc', 'usd')
How to get price for crypto currency from FTX
price_ftx = FTX('crypto_name', 'fiat_currency')
#example:
price_ftx = FTX('btc', 'usd')
How to get price for crypto currency from Kraken
price_kraken = Kraken('crypto_name', 'fiat_currency')
#example:
price_kraken = Kraken('btc', 'usd')
How to get price for crypto currency from BitStamp
price_bitstamp = BitStamp('crypto_name', 'fiat_currency')
#example:
price_bitstamp = BitStamp('btc', 'usd')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crypto_stocks-0.1.6.tar.gz
(2.6 kB
view details)
File details
Details for the file crypto_stocks-0.1.6.tar.gz.
File metadata
- Download URL: crypto_stocks-0.1.6.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a8f875e8d4068f3c750c511749830728bdcf1818f40798b4b6f3f47fb550e1c
|
|
| MD5 |
2ac270924f9add157f8109d92814bef0
|
|
| BLAKE2b-256 |
8be49ca4e67d4db700efb1cbcd58dfb0f72062df4674e39b3881aff000da2260
|