Name | cefi JSON |
Version |
5.3.2
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-05 05:33:16 |
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/30/d1/b02725dd65809b6bac17fea4d32001c663b17b6443e669c432473b90ebdd/cefi-5.3.2.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.2",
"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": "9ce413528a2245b803159df31be83d56909dbffa32bd42bb4a784390e6a357af",
"md5": "0e5de84fdd4e939f5c7b92cef59399df",
"sha256": "5bb8ef76f046745b00a9ea2739a3d1a02fe687061153c2e949e7cf5138eb3634"
},
"downloads": -1,
"filename": "cefi-5.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e5de84fdd4e939f5c7b92cef59399df",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 28550,
"upload_time": "2024-11-05T05:33:15",
"upload_time_iso_8601": "2024-11-05T05:33:15.194477Z",
"url": "https://files.pythonhosted.org/packages/9c/e4/13528a2245b803159df31be83d56909dbffa32bd42bb4a784390e6a357af/cefi-5.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "30d1b02725dd65809b6bac17fea4d32001c663b17b6443e669c432473b90ebdd",
"md5": "836e744325b4343c00cdefb627302e4a",
"sha256": "f2228194c10c77cafc1a89f9ebfcc4fc41aa1c31a8ec416a11e950f95b75b290"
},
"downloads": -1,
"filename": "cefi-5.3.2.tar.gz",
"has_sig": false,
"md5_digest": "836e744325b4343c00cdefb627302e4a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 18480,
"upload_time": "2024-11-05T05:33:16",
"upload_time_iso_8601": "2024-11-05T05:33:16.345595Z",
"url": "https://files.pythonhosted.org/packages/30/d1/b02725dd65809b6bac17fea4d32001c663b17b6443e669c432473b90ebdd/cefi-5.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 05:33:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mraniki",
"github_project": "cefi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cefi"
}