A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)
Project description
|
|
|
Interact with centralized trading platforms (CEX) supported by CCXT, Capital.com, DEGIRO, IBKR and others. |
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-5.3.0.tar.gz
(18.5 kB
view hashes)
Built Distribution
cefi-5.3.0-py3-none-any.whl
(28.6 kB
view hashes)