From b6bb401d54617904f630b8dcbd2136e162b7b2cc Mon Sep 17 00:00:00 2001 From: Shane Fontaine Date: Fri, 28 Dec 2018 19:31:34 -0800 Subject: [PATCH] Add start and end notes --- ethfinex/public_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ethfinex/public_client.py b/ethfinex/public_client.py index 1cedaf0..b27a76c 100644 --- a/ethfinex/public_client.py +++ b/ethfinex/public_client.py @@ -51,6 +51,8 @@ def get_trades(self, pair, limit=None, start=None, end=None, sort=None): """Get all the pertinent details of the trade, such as price, size and time. + **Note**: `start` and `end` are in MILISECONDS. Each need 13 digits. + Args: pair (str): Name of the pair limit (Optional[int]): Number of records @@ -168,6 +170,8 @@ def get_candles(self, symbol, time_frame, section, limit=None, start=None, end=None, sort=None): """Access charting candle info. + **Note**: `start` and `end` are in MILISECONDS. Each need 13 digits. + Args: symbol (str): Name of the symbol time_frame (str): Available values: '1m', '5m', '15m', '30m', '1h',