Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Add clarityi to sorting param
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed Dec 29, 2018
1 parent b6bb401 commit 0a0f4db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethfinex/public_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
[
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 0a0f4db

Please sign in to comment.