Name | cefi JSON |
Version |
5.3.3
JSON |
| download |
home_page | None |
Summary | A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com) |
upload_time | 2024-11-23 15:01:47 |
maintainer | None |
docs_url | None |
author | mraniki |
requires_python | <4.0,>=3.10 |
license | MIT |
keywords |
cex
cefi
crypto
exchange
broker
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<br>
<table style="border: 1px solid transparent">
<tr>
<td>
<a href="http://talky.readthedocs.io"><img src="https://img.shields.io/badge/Wiki-%23000000.svg?style=for-the-badge&logo=wikipedia&logoColor=white"></a>
<a href="https://github.com/mraniki/tt/"><img src="https://img.shields.io/badge/github-%23000000.svg?style=for-the-badge&logo=github&logoColor=white"></a><br>
<a href="https://hub.docker.com/r/mraniki/tt"><img src="https://img.shields.io/docker/pulls/mraniki/tt?style=for-the-badge"></a>
<br>
</td>
<td align="center"><img width="200" alt="Logo" src="https://github.com/mraniki/cefi/blob/main/docs/_static/logo-full.png"></td>
</tr>
<tr>
<td>
<a href="https://pypi.org/project/cefi/"><img src="https://img.shields.io/pypi/v/cefi?style=for-the-badge&logo=PyPI&logoColor=white"></a><br>
<a href="https://pypi.org/project/cefi/"><img src="https://img.shields.io/pypi/dm/cefi?style=for-the-badge&logo=PyPI&logoColor=white&label=pypi&labelColor=grey"></a><br>
<a href="https://github.com/mraniki/cefi/"><img src="https://img.shields.io/github/actions/workflow/status/mraniki/cefi/%F0%9F%91%B7Flow.yml?style=for-the-badge&logo=GitHub&logoColor=white"></a><br>
<a href="https://talky.readthedocs.io/"><img src="https://readthedocs.org/projects/cex/badge/?version=latest&style=for-the-badge"></a><br>
<a href="https://codebeat.co/projects/github-com-mraniki-cefi-main"><img src="https://codebeat.co/badges/6aecf822-ea11-499c-80d9-37cd3f35b923"/></a><br>
<a href="https://app.codacy.com/gh/mraniki/cefi/dashboard"><img src="https://app.codacy.com/project/badge/Grade/2e375e4df911416980496bfd568f0d76"/></a><br>
<a href="https://codecov.io/gh/mraniki/cefi"> <img src="https://codecov.io/gh/mraniki/cefi/branch/main/graph/badge.svg?token=BTIoKrcXNq"/></a><br>
</td>
<td align="left">
Interact with centralized trading platforms (CEX)<br>
supported by CCXT, Capital.com, DEGIRO, IBKR and others.
</td>
</tr>
</table>
<h5>How to use it</h5>
<pre>
<code>
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)
</code>
</pre>
<h5>Documentation</h5>
<a href="https://talky.readthedocs.io/projects/cefi/en/latest/"><img src="https://img.shields.io/badge/Documentation-000000?style=for-the-badge&logo=readthedocs&logoColor=white"></a><br>
Raw data
{
"_id": null,
"home_page": null,
"name": "cefi",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "cex, cefi, crypto, exchange, broker",
"author": "mraniki",
"author_email": "8766259+mraniki@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/e1/2f/df3d9c6e5e4bd1760a14a623557177874b0fb507e64deefcd6bccf1f4ced/cefi-5.3.3.tar.gz",
"platform": null,
"description": "\n<br>\n <table style=\"border: 1px solid transparent\"> \n <tr>\n <td>\n <a href=\"http://talky.readthedocs.io\"><img src=\"https://img.shields.io/badge/Wiki-%23000000.svg?style=for-the-badge&logo=wikipedia&logoColor=white\"></a>\n <a href=\"https://github.com/mraniki/tt/\"><img src=\"https://img.shields.io/badge/github-%23000000.svg?style=for-the-badge&logo=github&logoColor=white\"></a><br>\n <a href=\"https://hub.docker.com/r/mraniki/tt\"><img src=\"https://img.shields.io/docker/pulls/mraniki/tt?style=for-the-badge\"></a>\n <br>\n </td>\n <td align=\"center\"><img width=\"200\" alt=\"Logo\" src=\"https://github.com/mraniki/cefi/blob/main/docs/_static/logo-full.png\"></td>\n </tr>\n <tr>\n <td>\n <a href=\"https://pypi.org/project/cefi/\"><img src=\"https://img.shields.io/pypi/v/cefi?style=for-the-badge&logo=PyPI&logoColor=white\"></a><br>\n <a href=\"https://pypi.org/project/cefi/\"><img src=\"https://img.shields.io/pypi/dm/cefi?style=for-the-badge&logo=PyPI&logoColor=white&label=pypi&labelColor=grey\"></a><br>\n <a href=\"https://github.com/mraniki/cefi/\"><img src=\"https://img.shields.io/github/actions/workflow/status/mraniki/cefi/%F0%9F%91%B7Flow.yml?style=for-the-badge&logo=GitHub&logoColor=white\"></a><br>\n <a href=\"https://talky.readthedocs.io/\"><img src=\"https://readthedocs.org/projects/cex/badge/?version=latest&style=for-the-badge\"></a><br>\n <a href=\"https://codebeat.co/projects/github-com-mraniki-cefi-main\"><img src=\"https://codebeat.co/badges/6aecf822-ea11-499c-80d9-37cd3f35b923\"/></a><br>\n <a href=\"https://app.codacy.com/gh/mraniki/cefi/dashboard\"><img src=\"https://app.codacy.com/project/badge/Grade/2e375e4df911416980496bfd568f0d76\"/></a><br>\n <a href=\"https://codecov.io/gh/mraniki/cefi\"> <img src=\"https://codecov.io/gh/mraniki/cefi/branch/main/graph/badge.svg?token=BTIoKrcXNq\"/></a><br>\n </td>\n <td align=\"left\"> \n Interact with centralized trading platforms (CEX)<br>\n supported by CCXT, Capital.com, DEGIRO, IBKR and others.\n </td>\n </tr>\n </table>\n\n <h5>How to use it</h5>\n <pre>\n <code>\n\n\n cex = CexTrader()\n\n balance = await cex.get_balances()\n print(\"balance \", balance)\n\n symbol = \"BTC\"\n quote = await cex.get_quotes(symbol)\n print(\"quote \", quote)\n\n order = {\n \"action\": \"BUY\",\n \"instrument\": \"BTC\",\n \"quantity\": 1,\n }\n order = await cex.submit_order(order)\n print(\"order \", order)\n\n </code>\n </pre>\n <h5>Documentation</h5>\n <a href=\"https://talky.readthedocs.io/projects/cefi/en/latest/\"><img src=\"https://img.shields.io/badge/Documentation-000000?style=for-the-badge&logo=readthedocs&logoColor=white\"></a><br>\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)",
"version": "5.3.3",
"project_urls": {
"Changelog": "https://github.com/mraniki/cefi/blob/dev/CHANGELOG.rst",
"Issues": "https://github.com/mraniki/cefi/issues",
"Support": "https://github.com/mraniki/cefi/discussions"
},
"split_keywords": [
"cex",
" cefi",
" crypto",
" exchange",
" broker"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b9ffd0f4e7c7b4dfab9699faed9d23f02b483f710ffb8a29cf7b56f3743923cc",
"md5": "879f05c70dbce2c4c68cb0763e7719b8",
"sha256": "a8a357a7a47a2b57957b876956116f13fc8103335ea2527ad9fa25c1562226b5"
},
"downloads": -1,
"filename": "cefi-5.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "879f05c70dbce2c4c68cb0763e7719b8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 28548,
"upload_time": "2024-11-23T15:01:46",
"upload_time_iso_8601": "2024-11-23T15:01:46.736607Z",
"url": "https://files.pythonhosted.org/packages/b9/ff/d0f4e7c7b4dfab9699faed9d23f02b483f710ffb8a29cf7b56f3743923cc/cefi-5.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e12fdf3d9c6e5e4bd1760a14a623557177874b0fb507e64deefcd6bccf1f4ced",
"md5": "31a8c9ba8dafc0a89142c008c84591c1",
"sha256": "b2c6be16aeb1daed9a432649bb320f4757f271eb825d9605d1a7a8e3ff2c3964"
},
"downloads": -1,
"filename": "cefi-5.3.3.tar.gz",
"has_sig": false,
"md5_digest": "31a8c9ba8dafc0a89142c008c84591c1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 18497,
"upload_time": "2024-11-23T15:01:47",
"upload_time_iso_8601": "2024-11-23T15:01:47.779459Z",
"url": "https://files.pythonhosted.org/packages/e1/2f/df3d9c6e5e4bd1760a14a623557177874b0fb507e64deefcd6bccf1f4ced/cefi-5.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-23 15:01:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mraniki",
"github_project": "cefi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cefi"
}