Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.62 KB

README.md

File metadata and controls

55 lines (47 loc) · 2.62 KB



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