CCXT provides an API allowing developers an easy access to market data for usage in their script, codes and trading algoithms. This API connects to exchanges like (among others) binance, coinbase, huobi, okex and many others.
CCXT is a very powerful for crypto-fetching and crypto-trading.
Finseckto presents you the CryptoFetcher script. This script is a python implementation involving the CCXT api.
This script fetch data from 4 well-known exchanges (bittrex, binance, coinbase & kraken), calculates and displays statistical and economical values from an example wallet made of 1.1 XMR and 2.2 ETH.
This implementation is an example of the CCXT API usage and is highly customizable to your needs.
[II] Requirements installation
To install CCXT on your system and make it fully operational, you are prompted to execute the following commands. The python ccxt library, pyfiglet are requested to be installed. Moreover, the libffi-dev and libssl-dev libraries may also be optionaly required if any problem.
#python ccxt is required
pip install ccxt
#python figlet is required
pip install pyfiglet
#[Optional] (troubleshooting) if libffi is required
apt install libffi-dev
#[Optional] (troubleshooting) if libssl is required