Skip to content

Commit

Permalink
Update to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sammchardy committed Feb 25, 2019
1 parent cff346d commit 895c459
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 9 deletions.
13 changes: 9 additions & 4 deletions README.rst
@@ -1,6 +1,6 @@
================================
Welcome to python-kucoin v2.0.2
================================
===============================
Welcome to python-kucoin v2.1.0
===============================

.. image:: https://img.shields.io/pypi/v/python-kucoin.svg
:target: https://pypi.python.org/pypi/python-kucoin
Expand All @@ -20,7 +20,8 @@ Welcome to python-kucoin v2.0.2
.. image:: https://img.shields.io/pypi/pyversions/python-kucoin.svg
:target: https://pypi.python.org/pypi/python-kucoin

This is an unofficial Python wrapper for the `Kucoin exchanges REST and Websocket API v2 <https://docs.kucoin.com/>`_. I am in no way affiliated with Kucoin, use at your own risk.
This is an unofficial Python wrapper for the `Kucoin exchanges REST and Websocket API v2 <https://docs.kucoin.com/>`_.
I am in no way affiliated with Kucoin, use at your own risk.


PyPi
Expand Down Expand Up @@ -67,6 +68,10 @@ or `Generate an API Key in Sandbox <https://sandbox.kucoin.com/account/api>`_ an
from kucoin.client import Client
api_key = '<api_key>'
api_secret = '<api_secret>'
api_passphrase = '<api_passphrase>'
client = Client(api_key, api_secret, api_passphrase)
# or connect to Sandbox
Expand Down
23 changes: 23 additions & 0 deletions docs/changelog.rst
@@ -1,6 +1,29 @@
Changelog
=========

v2.1.0 - 2010-02-25
^^^^^^^^^^^^^^^^^^^^

**Added**

- websocket support
- `get_fiat_prices` function to get fiat price for currency
- `get_markets` function to get supported market list
- iceberg order support
- util functions to generate uuid and convert dict to compact json string

**Updated**

- `get_ticker` to have optional symbol param

**Fixed**

- market and limit order create functions
- `get_kline_data` function
- `get_account_holds` function endpoint
- LimitOrderException message


v2.0.2 - 2010-02-23
^^^^^^^^^^^^^^^^^^^^

Expand Down
4 changes: 2 additions & 2 deletions kucoin/__init__.py
@@ -1,7 +1,7 @@
"""An unofficial Python wrapper for the Kucoin exchange API
"""An unofficial Python wrapper for the Kucoin exchange API with Websocket support
.. moduleauthor:: Sam McHardy
"""

__version__ = '2.0.2-ws'
__version__ = '2.1.0'
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -16,7 +16,7 @@ def find_packages():
if '__init__.py' not in files:
# not a package
continue
if sys.version_info < (3, 3) and 'asyncio' in package and 'sdist' not in sys.argv:
if sys.version_info < (3, 4) and 'asyncio' in package and 'sdist' not in sys.argv:
# Don't install asyncio packages on old Python
# avoids issues with tools like compileall, pytest, etc.
# that get confused by presence of Python 3-only sources,
Expand All @@ -43,8 +43,8 @@ def find_version(*file_paths):
def install_requires():

requires = ['requests']
if sys.version_info > (3, 3):
requires.extend(['websockets>=4.0.0'])
if sys.version_info > (3, 4):
requires.extend(['websockets'])
return requires


Expand Down

0 comments on commit 895c459

Please sign in to comment.