Skip to main content

A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)

Project description




Logo







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.7.0.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

cefi-4.7.0-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page