Skip to content

Commit

Permalink
! update default value
Browse files Browse the repository at this point in the history
  • Loading branch information
marz committed Jun 20, 2023
1 parent 0ec98fe commit cc4b272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions binance_pm/binance_pm.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ def request_margin_repay_hist(self, asset, tx_id=None, start_time=None, end_time
return self.sign_request('GET', url_path, {'asset': asset, 'txId': tx_id, 'startTime': start_time, 'endTime': end_time,
'current': current, 'size': size, 'archived': archived})

def request_margin_interest_hist(self, asset, start_time=None, end_time=None, current=None, size=None, archived=None):
def request_margin_interest_hist(self, asset=None, start_time=None, end_time=None, current=None, size=None, archived=None):
url_path = '/papi/v1/margin/marginInterestHistory'
return self.sign_request('GET', url_path, {'asset': asset, 'startTime': start_time, 'endTime': end_time,
'current': current, 'size': size, 'archived': archived})

def request_portfolio_interest_hist(self, asset, start_time=None, end_time=None, size=None):
def request_portfolio_interest_hist(self, asset=None, start_time=None, end_time=None, size=None):
url_path = '/papi/v1/portfolio/interest-history'
return self.sign_request('GET', url_path, {'asset': asset, 'startTime': start_time, 'endTime': end_time, 'size': size})

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='binance_pm',
version='0.0.2',
version='0.0.3',
packages=['binance_pm'],
install_requires=['requests', 'pycryptodome'],
author='zerodivision',
Expand Down

0 comments on commit cc4b272

Please sign in to comment.