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

Commit

Permalink
Add side param notes
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed Dec 29, 2018
1 parent c4b1ca6 commit 0e254af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ethfinex/public_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_books(self, pair, precision, len=None):

return self._send_message(f'/book/{pair}/{precision}', params=params)

# TODO: Include 'side' for the 'pos.size' calls.
# TODO: Add `side` to params. It currently does nothing.
def get_stats(self, symbol, key, size, side, section, sort=None):
"""Various statistics about the requested pair.
Expand All @@ -141,6 +141,7 @@ def get_stats(self, symbol, key, size, side, section, sort=None):
key (str): Allowed values: "funding.size", "credits.size",
"credits.size.sym", "pos.size"
size (str): Available values: '1m'
side (str): Available values: "short", "long"
section (str): Available values: "last", "hist"
sort (Optional[int]): Either 0 or 1. If = 1 it sorts results
returned with old to new
Expand Down

0 comments on commit 0e254af

Please sign in to comment.