Micro service to call cryptocurrency exchanges API using [ccxt](https://github.com/ccxt/ccxt).
Project description
ccxt-microservice
Micro service to call cryptocurrency exchanges API using ccxt.
Usage
- Run a service
python app.py
or
docker-compose up
- Send a request
Send post json to /exchange/method. Default port is 5000.
Example
In ccxt, fetch ticker of Bittrex for ETH/BTc is:
import ccxt
b = ccxt.bittrex()
result = b.fetch_ticker(symbol="ETH/BTC")
Following request is equivalent to the above.
curl -H 'Content-Type:application/json' -d'{"symbol":"ETH/BTC"}' localhost:5000/bittrex/fetch_ticker
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 ccxt_microservice-1.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0535297c9610de23aba97ab6bd3634c1d51be3c0ad1082099afdada5bddc2d3 |
|
MD5 | 9da7a4dc3b2e099323930427906701e3 |
|
BLAKE2b-256 | 06b6067e17b68b646c697f02806fa8379640a5dfdabb8b7a1f377667825482ed |