Welcome to python-quoine v0.1.3

https://img.shields.io/pypi/v/python-quoine.svg https://img.shields.io/pypi/l/python-quoine.svg https://img.shields.io/travis/sammchardy/python-quoine.svg https://img.shields.io/coveralls/sammchardy/python-quoine.svg https://img.shields.io/pypi/wheel/python-quoine.svg https://img.shields.io/pypi/pyversions/python-quoine.svg

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.