A python library, to interact with CCXT crypto exchange
Project description
|
|
|
Interact with Centralised Exchanges (CEX) supported by CCXT or Broker via IB_Sync. |
How to use it
cex = CexTrader()
balance = await cex.get_balances()
print("balance ", balance)
symbol = "BTC"
quote = await cex.get_quotes(symbol)
print("quote ", quote)
order = {
"action": "BUY",
"instrument": "BTC",
"quantity": 1,
}
order = await cex.submit_order(order)
print("order ", order)
Documentation
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
cefi-4.0.3.tar.gz
(11.9 kB
view hashes)
Built Distribution
cefi-4.0.3-py3-none-any.whl
(13.9 kB
view hashes)