{"id":24496861,"url":"https://github.com/10mohi6/quoinex-api-python-client","last_synced_at":"2025-04-14T04:14:26.205Z","repository":{"id":57459529,"uuid":"133210628","full_name":"10mohi6/quoinex-api-python-client","owner":"10mohi6","description":"quoinex-client is a python client (sync/async) library for liquid(quoinex) api","archived":false,"fork":false,"pushed_at":"2020-02-26T09:56:04.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T04:14:20.702Z","etag":null,"topics":["api","async","client","liquid","python","quoinex","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/10mohi6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-13T06:08:54.000Z","updated_at":"2024-03-05T01:18:09.000Z","dependencies_parsed_at":"2022-09-03T15:20:28.269Z","dependency_job_id":null,"html_url":"https://github.com/10mohi6/quoinex-api-python-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fquoinex-api-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fquoinex-api-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fquoinex-api-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fquoinex-api-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10mohi6","download_url":"https://codeload.github.com/10mohi6/quoinex-api-python-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819408,"owners_count":21166477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","async","client","liquid","python","quoinex","wrapper"],"created_at":"2025-01-21T21:19:11.400Z","updated_at":"2025-04-14T04:14:26.180Z","avatar_url":"https://github.com/10mohi6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quoinex-client\n\n[![PyPI version](https://badge.fury.io/py/quoinex-client.svg)](https://badge.fury.io/py/quoinex-client)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nquoinex-client is a python client (sync/async) library for liquid(quoinex) api\n\n## Installation\n\n    $ pip install quoinex-client\n\n## Usage\n\n```python\n#\n# sync\n#\nfrom quoinex_client.sync import Client\n\nclient = Client(public_key='your api key', private_key='your api secret')\nresponse = client.get_products()\nprint(response.status_code, response.json())\n\n#\n# async\n#\nimport grequests\nfrom quoinex_client.async import Async\n\nclient = Async(public_key='your api key', private_key='your api secret')\nreqs = [client.get_products(), client.get_product(id=1), ...]\nresponse = grequests.map(reqs)\nfor r in response:\n\tprint(r.status_code, r.json())\n\n\nclient.get_products() # GET /products\nclient.get_product(id=1) # GET /products/:id\nclient.get_order_book(id=1) # GET /products/:id/price_levels\nclient.get_executions(product_id=1) # GET /executions?product_id=1\u0026limit=2\u0026page=2\nclient.get_executions(currency_pair_code='BTCJPY',timestamp=1526012797) # GET /executions?product_id=1\u0026timestamp=1430630863\u0026limit=2\nclient.get_interest_rate_ladder(currency='USD') # GET /ir_ladders/USD\nclient.create_order(order_type='limit', product_id=1, side='sell', quantity=0.01, price=500.0) # POST /orders\nclient.get_order(id=1) # GET /orders/:id\nclient.get_orders() # GET /orders?funding_currency=:currency\u0026product_id=:product_id\u0026status=:status\u0026with_details=1\nclient.cancel_order(id=1) # PUT /orders/:id/cancel\nclient.edit_live_order(id=1) # PUT /orders/:id\nclient.get_order_trades(id=1) # GET /orders/:id/trades\nclient.get_your_executions(product_id=1) # GET /executions/me?product_id=:product_id\nclient.get_fiat_accounts() # GET /fiat_accounts\nclient.create_fiat_account(currency='USD') # POST /fiat_accounts\nclient.get_crypto_accounts() # GET /crypto_accounts\nclient.get_account_balances() # GET /accounts/balance\nclient.create_loan_bid(quantity=50, currency='USD', rate=0.0002) # POST /loan_bids\nclient.get_loan_bids(currency='USD') # GET /loan_bids?currency=:currency\nclient.close_loan_bid(id=1) # PUT /loan_bids/:id/close\nclient.get_loans(currency='JPY') # GET /loans?currency=JPY\nclient.update_loan(id=1) # PUT /loans/144825\nclient.get_trading_accounts() # GET /trading_accounts\nclient.get_trading_account(id=1) # GET /trading_accounts/:id\nclient.update_leverage_level(id=1) # PUT /trading_accounts/:id\nclient.get_trades() # GET /trades?funding_currency=:funding_currency\u0026status=:status\nclient.close_trade(id=1) # PUT /trades/:id/close\nclient.close_all_trades() # PUT /trades/close_all\nclient.update_trade(id=1, stop_loss=300, take_profit=600) # PUT /trades/:id\nclient.get_trade_loans(id=1) # GET /trades/:id/loans\n```\n\n## Contributing\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fquoinex-api-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10mohi6%2Fquoinex-api-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fquoinex-api-python-client/lists"}