Skip to content

Commit

Permalink
Added uri creation function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollie-Hooper committed Apr 7, 2021
1 parent dc552a7 commit 9511e0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ def _create_futures_coin_api_url(self, path, version=1):
def _create_futures_coin_data_api_url(self, path, version=1):
return self.FUTURES_COIN_DATA_URL + "/" + path

def _create_options_api_uri(self, path):
return self.OPTIONS_URL + '/' + self.OPTIONS_API_VERSION + '/' + path

def _generate_signature(self, data):

ordered_data = self._order_params(data)
Expand Down

0 comments on commit 9511e0e

Please sign in to comment.