Skip to content

Commit

Permalink
Merge pull request #63 from deforation/patch-1
Browse files Browse the repository at this point in the history
get_fills page parameter changed to currentPage
  • Loading branch information
Sam McHardy authored Sep 30, 2021
2 parents f969f9d + 5c4f315 commit d7ba653
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kucoin/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def get_deposits(self, currency=None, status=None, start=None, end=None, page=No
if limit:
data['pageSize'] = limit
if page:
data['page'] = page
data['currentPage'] = page

return self._get('deposits', True, data=data)

Expand Down Expand Up @@ -769,7 +769,7 @@ def get_withdrawals(self, currency=None, status=None, start=None, end=None, page
if limit:
data['pageSize'] = limit
if page:
data['page'] = page
data['currentPage'] = page

return self._get('withdrawals', True, data=data)

Expand Down Expand Up @@ -1198,7 +1198,7 @@ def get_orders(self, symbol=None, status=None, side=None, order_type=None,
if end:
data['endAt'] = end
if page:
data['page'] = page
data['currentPage'] = page
if limit:
data['pageSize'] = limit
if trade_type:
Expand Down Expand Up @@ -1266,7 +1266,7 @@ def get_historical_orders(self, symbol=None, side=None,
if end:
data['endAt'] = end
if page:
data['page'] = page
data['currentPage'] = page
if limit:
data['pageSize'] = limit

Expand Down Expand Up @@ -1406,7 +1406,7 @@ def get_fills(self, order_id=None, symbol=None, side=None, order_type=None,
if end:
data['endAt'] = end
if page:
data['page'] = page
data['currentPage'] = page
if limit:
data['pageSize'] = limit
if trade_type:
Expand Down

0 comments on commit d7ba653

Please sign in to comment.