Skip to content

mchardysam/python-quoine

Repository files navigation

Welcome to python-quoine v0.1.2

This is an unofficial Python wrapper for the Quoinex and Qryptos exchanges REST API v2. I am in no way affiliated with Quoine, Quoinex or Qryptos, use at your own risk.

PyPi
https://pypi.python.org/pypi/python-quoine
Source code
https://github.com/sammchardy/python-quoine
Documentation
https://python-quoine.readthedocs.io/en/latest/

Features

  • Implementation of all REST endpoints.
  • Simple handling of authentication
  • Response exception handling
  • Simple market and limit buy functions
  • Margin orders for Quoinex

TODO

  • Websocket implementation

Quick Start

Register an account with Quoinex or Qryptos.

Generate an API Key and assign relevant permissions.

pip install python-quoine
from quoine.client import Quoinex
client = Quoinex(api_key, api_secret)

# get products
products = client.get_products()

# get market depth
depth = client.get_order_book(product_id=products[0]['id'])

# place market buy order
order = client.create_market_buy(
    product_id=products[0]['id'],
    quantity='100',
    price_range='0.01')

# get list of filled orders
filled_orders = client.get_orders(status=client.STATUS_FILLED)

For more check out the documentation.

Donate

If this library helped you out feel free to donate.

  • ETH: 0xD7a7fDdCfA687073d7cC93E9E51829a727f9fE70
  • NEO: AVJB4ZgN7VgSUtArCt94y7ZYT6d5NDfpBo
  • LTC: LPC5vw9ajR1YndE1hYVeo3kJ9LdHjcRCUZ
  • BTC: 1Dknp6L6oRZrHDECRedihPzx2sSfmvEBys

Other Exchanges

If you use Binance check out my python-binance library.

If you use Kucoin check out my python-kucoin library.

If you use IDEX check out my python-idex library.

If you use BigONE check out my python-bigone library.

https://analytics-pixel.appspot.com/UA-111417213-1/github/python-quoine?pixel