cefi


Namecefi JSON
Version 5.3.5 PyPI version JSON
download
home_pageNone
SummaryA python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)
upload_time2024-12-14 21:57:29
maintainerNone
docs_urlNone
authormraniki
requires_python<4.0,>=3.10
licenseMIT
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/13/85/2fce03d6e4ef9d26e4787c8656adad4fabcb84416975240480b4cc3ba65d/cefi-5.3.5.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.5",
    "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": "73d51a0f5ce497b06faa382922456f89c81093786a9dcaadcea15c6b457d0c92",
                "md5": "be5499863cdb7481c9a265089354c7db",
                "sha256": "b4e442199808364274530e1f0eee10843cd5b0944ed59697055257d2108e9421"
            },
            "downloads": -1,
            "filename": "cefi-5.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "be5499863cdb7481c9a265089354c7db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 28548,
            "upload_time": "2024-12-14T21:57:27",
            "upload_time_iso_8601": "2024-12-14T21:57:27.342485Z",
            "url": "https://files.pythonhosted.org/packages/73/d5/1a0f5ce497b06faa382922456f89c81093786a9dcaadcea15c6b457d0c92/cefi-5.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "13852fce03d6e4ef9d26e4787c8656adad4fabcb84416975240480b4cc3ba65d",
                "md5": "c78689c19c1673741cdaacd59f0f8c81",
                "sha256": "0d1679bf3d6e9dbd00b2fcd5b46bba856663d4d57b2cebd8d442ac7844a22dd4"
            },
            "downloads": -1,
            "filename": "cefi-5.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c78689c19c1673741cdaacd59f0f8c81",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 18505,
            "upload_time": "2024-12-14T21:57:29",
            "upload_time_iso_8601": "2024-12-14T21:57:29.810689Z",
            "url": "https://files.pythonhosted.org/packages/13/85/2fce03d6e4ef9d26e4787c8656adad4fabcb84416975240480b4cc3ba65d/cefi-5.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-14 21:57:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mraniki",
    "github_project": "cefi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cefi"
}
        
Elapsed time: 0.39418s