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

This version

7.0.4

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cefi-7.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e6a2e8b51969dd9d00469737bfc75ffad55706436b20644b476d21a6eeca02f6
MD5 64756766000b0a8f3ff6c6f45aaf7d21
BLAKE2b-256 95da19f1e9a7b820497be660bb4b09fd177f3879aef4e325a7ce5c17ba0a85a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cefi-7.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 217c2d9a8d686d4d62e4d122bcc8af19acc6e1bd9436809ce11dd95ddca7004f
MD5 f45c3a77b08617f7eee68dbed7e78852
BLAKE2b-256 70c4b585d9aeb8eb852f3277dfdb13c69974d200e6d96315446fc2c38e92a391

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