================
This is py-bingx
================
py-bingx is an unofficial Python wrapper for the `BingX Perpetual Swap API <https://bingx-api.github.io/docs/swap/introduce.html>`_.
I am not affiliated with BingX.
TODO
----
Add Response exception handling.
Usage
-----
Register an account on `BingX <https://bingx.com/en-us/register>`_.
`Create an API <https://bingx.com/en-us/account/api>`_
and make sure you copy you Secret Key before leaving the page.
.. code:: bash
pip install py-bingx
.. code:: python
from bingx.api import BingxAPI
...
API_KEY = '<api_public_key>'
SECRET_KEY = '<api_secret_key>'
# It is faster and more efficient to use local timestamps. If you are getting an error try using "server" timestamp.
bingx = BingxAPI(API_KEY, SECRET_KEY, timestamp="local")
bingx.place_market_order("ALGO-USDT", "Short", 5, "Open")
Raw data
{
"_id": null,
"home_page": "https://github.com/amirinsight/py-bingx",
"name": "py-bingx",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "bingx api cryptocurrency trading btc eth rest exchange",
"author": "Amirhossein Zare",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/0e/b2/3d251caba051bf52e02de4fc0046752f3ec716f82075246072e153649721/py-bingx-0.2.tar.gz",
"platform": null,
"description": "================\r\nThis is py-bingx\r\n================\r\n\r\npy-bingx is an unofficial Python wrapper for the `BingX Perpetual Swap API <https://bingx-api.github.io/docs/swap/introduce.html>`_.\r\nI am not affiliated with BingX.\r\n\r\n\r\nTODO\r\n----\r\nAdd Response exception handling.\r\n\r\n\r\nUsage\r\n-----\r\n\r\nRegister an account on `BingX <https://bingx.com/en-us/register>`_.\r\n\r\n`Create an API <https://bingx.com/en-us/account/api>`_\r\nand make sure you copy you Secret Key before leaving the page.\r\n\r\n.. code:: bash\r\n\r\n pip install py-bingx\r\n\r\n.. code:: python\r\n\r\n from bingx.api import BingxAPI\r\n\r\n ...\r\n\r\n API_KEY = '<api_public_key>'\r\n SECRET_KEY = '<api_secret_key>'\r\n\r\n # It is faster and more efficient to use local timestamps. If you are getting an error try using \"server\" timestamp.\r\n bingx = BingxAPI(API_KEY, SECRET_KEY, timestamp=\"local\")\r\n bingx.place_market_order(\"ALGO-USDT\", \"Short\", 5, \"Open\")\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "BingX REST API Python implementation",
"version": "0.2",
"project_urls": {
"Homepage": "https://github.com/amirinsight/py-bingx"
},
"split_keywords": [
"bingx",
"api",
"cryptocurrency",
"trading",
"btc",
"eth",
"rest",
"exchange"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3ffc530435958301959db6800765965ca7ad59f032288a3b45742a4a83d2fbc0",
"md5": "d8dc2432268e388ce3541b66009baee3",
"sha256": "2e82556e08685a3f376467fce273a866765b8a9576b6744dae3d4095c7af02fa"
},
"downloads": -1,
"filename": "py_bingx-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d8dc2432268e388ce3541b66009baee3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7560,
"upload_time": "2023-09-15T15:33:18",
"upload_time_iso_8601": "2023-09-15T15:33:18.955901Z",
"url": "https://files.pythonhosted.org/packages/3f/fc/530435958301959db6800765965ca7ad59f032288a3b45742a4a83d2fbc0/py_bingx-0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0eb23d251caba051bf52e02de4fc0046752f3ec716f82075246072e153649721",
"md5": "096ea324a502e985a4147dc94c195551",
"sha256": "bef786e53bf0b7873d18ace420101feadb3190bc2d28bdb8f38873265e757e42"
},
"downloads": -1,
"filename": "py-bingx-0.2.tar.gz",
"has_sig": false,
"md5_digest": "096ea324a502e985a4147dc94c195551",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9587,
"upload_time": "2023-09-15T15:33:20",
"upload_time_iso_8601": "2023-09-15T15:33:20.588287Z",
"url": "https://files.pythonhosted.org/packages/0e/b2/3d251caba051bf52e02de4fc0046752f3ec716f82075246072e153649721/py-bingx-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-15 15:33:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "amirinsight",
"github_project": "py-bingx",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "py-bingx"
}