Skip to content

Commit

Permalink
Update to v0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sammchardy committed Jan 14, 2018
1 parent 64c4b34 commit 26fe863
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.rst
@@ -1,5 +1,5 @@
===============================
Welcome to python-kucoin v0.1.3
Welcome to python-kucoin v0.1.4
===============================

.. image:: https://img.shields.io/pypi/v/python-kucoin.svg
Expand Down Expand Up @@ -43,6 +43,7 @@ Features
- Response exception handling
- Simple buy and sell order functions
- Helper function `get_total_balance` to get balance in fiat
- Historical Kline/Candle fetching function `get_historical_klines_tv`

Quick Start
-----------
Expand Down Expand Up @@ -83,6 +84,18 @@ Register an account with `Kucoin <https://www.kucoin.com/#/?r=E42cWB>`_.
# get list of active orders
orders = client.get_active_orders('KCS-BTC')
# get historical kline data from any date range
# fetch 1 minute klines for the last day up until now
klines = client.get_historical_klines_tv("KCS-BTC", Client.KLINE_INTERVAL_1MINUTE, "1 day ago UTC")
# fetch 30 minute klines for the last month of 2017
klines = client.get_historical_klines_tv("ETH-BTC", Client.KLINE_INTERVAL_30MINUTE, "1 Dec, 2017", "1 Jan, 2018")
# fetch weekly klines since it listed
klines = client.get_historical_klines_tv("NEO-BTC", KLINE_INTERVAL_1WEEK, "1 Jan, 2017")
For more `check out the documentation <https://python-kucoin.readthedocs.io/en/latest/>`_.

Donate
Expand Down
12 changes: 12 additions & 0 deletions docs/changelog.rst
@@ -1,6 +1,18 @@
Changelog
=========

v0.1.4 - 2010-01-14
^^^^^^^^^^^^^^^^^^^

**Added**

- add function `get_historical_klines_tv` to get klines in OHLCV format

**Fixed**

- handle success: false type errors properly to raise exception
- fix passed param name on `get_kline_data`

v0.1.3 - 2010-01-12
^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -3,7 +3,7 @@

setup(
name='python-kucoin',
version='0.1.3',
version='0.1.4',
packages=['kucoin'],
description='Kucoin REST API python implementation',
url='https://github.com/sammchardy/python-kucoin',
Expand Down

0 comments on commit 26fe863

Please sign in to comment.