cefi


Namecefi JSON
Version 4.6.8 PyPI version JSON
download
home_pageNone
SummaryA python library, to interact with Crypto Exchanges (CCXT library) and brokers (IB & Capital.com)
upload_time2024-04-25 11:30:12
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 Centralised Exchanges (CEX)<br>
        supported by CCXT or Broker (IB & Capital.com).
      </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/a5/94/6e85e18da3563b1ad7811b6f9e508f3b0f7ddf5cb41fe02283131c7f7091/cefi-4.6.8.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 Centralised Exchanges (CEX)<br>\n        supported by CCXT or Broker (IB & Capital.com).\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": "4.6.8",
    "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": "ad87e9dc33a4bc23a65ae4001f8caf694977fde18ba776d1c98cbf874ab4606f",
                "md5": "43aa6fa1289bcc06d4fd6d04777ff7a6",
                "sha256": "702b0573017a46cfafb436788aecec6ccba21d2362c9b04acfaf93b5947ea7ae"
            },
            "downloads": -1,
            "filename": "cefi-4.6.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "43aa6fa1289bcc06d4fd6d04777ff7a6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 16822,
            "upload_time": "2024-04-25T11:30:08",
            "upload_time_iso_8601": "2024-04-25T11:30:08.852295Z",
            "url": "https://files.pythonhosted.org/packages/ad/87/e9dc33a4bc23a65ae4001f8caf694977fde18ba776d1c98cbf874ab4606f/cefi-4.6.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5946e85e18da3563b1ad7811b6f9e508f3b0f7ddf5cb41fe02283131c7f7091",
                "md5": "ad67f5001542852c54761da70c4eb363",
                "sha256": "03911e8fcd03132ee76440885df4bb2330e25dc67db686706f9fbca7bfabcadd"
            },
            "downloads": -1,
            "filename": "cefi-4.6.8.tar.gz",
            "has_sig": false,
            "md5_digest": "ad67f5001542852c54761da70c4eb363",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 14281,
            "upload_time": "2024-04-25T11:30:12",
            "upload_time_iso_8601": "2024-04-25T11:30:12.635269Z",
            "url": "https://files.pythonhosted.org/packages/a5/94/6e85e18da3563b1ad7811b6f9e508f3b0f7ddf5cb41fe02283131c7f7091/cefi-4.6.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-25 11:30:12",
    "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.26647s