{ "info": { "author": "10mohi6", "author_email": "10.mohi.6.y@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "quoinex-client\n==============\n\n|PyPI version| |License: MIT|\n\nquoinex-client is a python client (sync/async) library for\nliquid(quoinex) api\n\nInstallation\n------------\n\n::\n\n $ pip install quoinex-client\n\nUsage\n-----\n\n.. code:: python\n\n #\n # sync\n #\n from quoinex_client.sync import Client\n\n client = Client(public_key='your api key', private_key='your api secret')\n response = client.get_products()\n print(response.status_code, response.json())\n\n #\n # async\n #\n import grequests\n from quoinex_client.async import Async\n\n client = Async(public_key='your api key', private_key='your api secret')\n reqs = [client.get_products(), client.get_product(id=1), ...]\n response = grequests.map(reqs)\n for r in response:\n print(r.status_code, r.json())\n\n\n client.get_products() # GET /products\n client.get_product(id=1) # GET /products/:id\n client.get_order_book(id=1) # GET /products/:id/price_levels\n client.get_executions(product_id=1) # GET /executions?product_id=1&limit=2&page=2\n client.get_executions(currency_pair_code='BTCJPY',timestamp=1526012797) # GET /executions?product_id=1×tamp=1430630863&limit=2\n client.get_interest_rate_ladder(currency='USD') # GET /ir_ladders/USD\n client.create_order(order_type='limit', product_id=1, side='sell', quantity=0.01, price=500.0) # POST /orders\n client.get_order(id=1) # GET /orders/:id\n client.get_orders() # GET /orders?funding_currency=:currency&product_id=:product_id&status=:status&with_details=1\n client.cancel_order(id=1) # PUT /orders/:id/cancel\n client.edit_live_order(id=1) # PUT /orders/:id\n client.get_order_trades(id=1) # GET /orders/:id/trades\n client.get_your_executions(product_id=1) # GET /executions/me?product_id=:product_id\n client.get_fiat_accounts() # GET /fiat_accounts\n client.create_fiat_account(currency='USD') # POST /fiat_accounts\n client.get_crypto_accounts() # GET /crypto_accounts\n client.get_account_balances() # GET /accounts/balance\n client.create_loan_bid(quantity=50, currency='USD', rate=0.0002) # POST /loan_bids\n client.get_loan_bids(currency='USD') # GET /loan_bids?currency=:currency\n client.close_loan_bid(id=1) # PUT /loan_bids/:id/close\n client.get_loans(currency='JPY') # GET /loans?currency=JPY\n client.update_loan(id=1) # PUT /loans/144825\n client.get_trading_accounts() # GET /trading_accounts\n client.get_trading_account(id=1) # GET /trading_accounts/:id\n client.update_leverage_level(id=1) # PUT /trading_accounts/:id\n client.get_trades() # GET /trades?funding_currency=:funding_currency&status=:status\n client.close_trade(id=1) # PUT /trades/:id/close\n client.close_all_trades() # PUT /trades/close_all\n client.update_trade(id=1, stop_loss=300, take_profit=600) # PUT /trades/:id\n client.get_trade_loans(id=1) # GET /trades/:id/loans\n\nContributing\n------------\n\n1. Fork it\n2. Create your feature branch (``git checkout -b my-new-feature``)\n3. Commit your changes (``git commit -am 'Add some feature'``)\n4. Push to the branch (``git push origin my-new-feature``)\n5. Create new Pull Request\n\n.. |PyPI version| image:: https://badge.fury.io/py/quoinex-client.svg\n :target: https://badge.fury.io/py/quoinex-client\n.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :target: https://opensource.org/licenses/MIT", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/10mohi6/quoinex-api-python-client", "keywords": "quoinex,liquid", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "quoinex-client", "package_url": "https://pypi.org/project/quoinex-client/", "platform": "", "project_url": "https://pypi.org/project/quoinex-client/", "project_urls": { "Homepage": "https://github.com/10mohi6/quoinex-api-python-client" }, "release_url": "https://pypi.org/project/quoinex-client/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "quoinex-client is a python client (sync/async) library for liquid(quoinex) api.", "version": "0.1.1" }, "last_serial": 5171920, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "478a9d2ff9ce5c0ec75a63e4154927d0", "sha256": "87a5c1c79a321129da693d63918b06bbcf60046f15218338e5f2521c2a77d5db" }, "downloads": -1, "filename": "quoinex-client-0.1.0.tar.gz", "has_sig": false, "md5_digest": "478a9d2ff9ce5c0ec75a63e4154927d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3428, "upload_time": "2018-05-13T08:26:11", "url": "https://files.pythonhosted.org/packages/7e/74/7800b2567e53ce063a3077f38296cc4c5726439a7a0e45123de4eae0142e/quoinex-client-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "21bcbf6b9c9bb718d8a69e4d209edec4", "sha256": "784470bd12970fb14f5ef34211dd3ffc8b99346fcb56c90357bd5deb3e00b915" }, "downloads": -1, "filename": "quoinex-client-0.1.1.tar.gz", "has_sig": false, "md5_digest": "21bcbf6b9c9bb718d8a69e4d209edec4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3490, "upload_time": "2019-04-22T08:06:14", "url": "https://files.pythonhosted.org/packages/2c/f9/fbd12ec71b3046b3278345f86a7e7463cbf4e470ca75d1785480878e2fac/quoinex-client-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21bcbf6b9c9bb718d8a69e4d209edec4", "sha256": "784470bd12970fb14f5ef34211dd3ffc8b99346fcb56c90357bd5deb3e00b915" }, "downloads": -1, "filename": "quoinex-client-0.1.1.tar.gz", "has_sig": false, "md5_digest": "21bcbf6b9c9bb718d8a69e4d209edec4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3490, "upload_time": "2019-04-22T08:06:14", "url": "https://files.pythonhosted.org/packages/2c/f9/fbd12ec71b3046b3278345f86a7e7463cbf4e470ca75d1785480878e2fac/quoinex-client-0.1.1.tar.gz" } ] }