A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)
Project description
|
|
|
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-5.3.3.tar.gz
(18.5 kB
view details)
Built Distribution
cefi-5.3.3-py3-none-any.whl
(28.5 kB
view details)
File details
Details for the file cefi-5.3.3.tar.gz
.
File metadata
- Download URL: cefi-5.3.3.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c6be16aeb1daed9a432649bb320f4757f271eb825d9605d1a7a8e3ff2c3964 |
|
MD5 | 31a8c9ba8dafc0a89142c008c84591c1 |
|
BLAKE2b-256 | e12fdf3d9c6e5e4bd1760a14a623557177874b0fb507e64deefcd6bccf1f4ced |
File details
Details for the file cefi-5.3.3-py3-none-any.whl
.
File metadata
- Download URL: cefi-5.3.3-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a357a7a47a2b57957b876956116f13fc8103335ea2527ad9fa25c1562226b5 |
|
MD5 | 879f05c70dbce2c4c68cb0763e7719b8 |
|
BLAKE2b-256 | b9ffd0f4e7c7b4dfab9699faed9d23f02b483f710ffb8a29cf7b56f3743923cc |