An open API service indexing awesome lists of open source software.

https://github.com/mraniki/cefi

A Python package to interact with centralized trading platforms (CEX) supported by CCXT, Capital.com, DEGIRO, IBKR and others
https://github.com/mraniki/cefi

capitalcom ccxt cex interactive-brokers package python talky

Last synced: 9 months ago
JSON representation

A Python package to interact with centralized trading platforms (CEX) supported by CCXT, Capital.com, DEGIRO, IBKR and others

Awesome Lists containing this project

README

          













Logo



















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