Skip to main content

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

Project description




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

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-7.0.5.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

cefi-7.0.5-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file cefi-7.0.5.tar.gz.

File metadata

  • Download URL: cefi-7.0.5.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cefi-7.0.5.tar.gz
Algorithm Hash digest
SHA256 b05d9bd0cdfa40e9bb51c9be885302fd1d040e9d12f2fb92548e14b59295ff73
MD5 e378b6b253b46a581b75bc1963f03563
BLAKE2b-256 08546e8b1236855499032570e031b3d9c82a24806092be3332bdf36967337712

See more details on using hashes here.

File details

Details for the file cefi-7.0.5-py3-none-any.whl.

File metadata

  • Download URL: cefi-7.0.5-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cefi-7.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4db3cb625d553d8b5e9b1866e08f168e4ebe6dc5fb665f670dc463cdecb7f958
MD5 d137e71911f867ce92c08522f087cbae
BLAKE2b-256 4747d80105ae48c2103da873f0186a745c699fd901f264f5bf3d60629555df70

See more details on using hashes here.

Supported by

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