From 0a0f4dbe6645fc4a85eb7fc7ef0847a8a7c29b4a Mon Sep 17 00:00:00 2001 From: Shane Fontaine Date: Fri, 28 Dec 2018 19:43:37 -0800 Subject: [PATCH] Add clarityi to sorting param --- ethfinex/public_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ethfinex/public_client.py b/ethfinex/public_client.py index b27a76c..292300e 100644 --- a/ethfinex/public_client.py +++ b/ethfinex/public_client.py @@ -58,7 +58,7 @@ def get_trades(self, pair, limit=None, start=None, end=None, sort=None): limit (Optional[int]): Number of records start (Optional[int]): Milisecond start time end (Optional[int]): Milisecond end time - sort (Optional[int]): if = 1 sorts results returned with old > new + sort (Optional[int]): if = 1 sorts results returned with old to new Returns: [ @@ -103,7 +103,7 @@ def get_books(self, pair, precision, len=None): Args: pair (str): Name of the pair precision (str): Level of price aggregation(P0, P1, P2, P3, P4, R0) - sort (Optional[int]): if = 1 sorts results returned with old > new + sort (Optional[int]): if = 1 sorts results returned with old to new len (Optional[int]): Number of price points ("25", "100") Returns: @@ -144,7 +144,7 @@ def get_stats(self, symbol, key, size, side, section, sort=None): size (str): Available values: '1m' section (str): Available values: "last", "hist" sort (Optional[int]): Either 0 or 1. If = 1 it sorts results - returned with old > new + returned with old to new Returns: # response with Section = "last" @@ -180,7 +180,7 @@ def get_candles(self, symbol, time_frame, section, limit (Optional[int]): Number of candles requested start (Optional[int]): Filter start (ms) end (Optional[int]): Filter end (ms) - sort (Optional[int]): if = 1 sorts results returned with old > new + sort (Optional[int]): if = 1 sorts results returned with old to new Returns: # response with Section = "last"