A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)
Project description
|
|
|
Interact with Centralised Exchanges (CEX) supported by CCXT or Broker (IB & Capital.com). |
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.6.5.tar.gz
(14.3 kB
view hashes)
Built Distribution
cefi-4.6.5-py3-none-any.whl
(16.8 kB
view hashes)