MCPcopy Create free account
hub / github.com/ccxt/ccxt / request

Method request

python/ccxt/binance.py:11723–11728  ·  view source on GitHub ↗
(self, path, api='public', method='GET', params={}, headers=None, body=None, config={})

Source from the content-addressed store, hash-verified

11721 return self.safe_value(config, 'cost', 1)
11722
11723 def request(self, path, api='public', method='GET', params={}, headers=None, body=None, config={}):
11724 response = self.fetch2(path, api, method, params, headers, body, config)
11725 # a workaround for {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action."}
11726 if api == 'private':
11727 self.options['hasAlreadyAuthenticatedSuccessfully'] = True
11728 return response
11729
11730 def modify_margin_helper(self, symbol: str, amount, addOrReduce, params={}):
11731 # used to modify isolated positions

Callers

nothing calls this directly

Calls 1

fetch2Method · 0.45

Tested by

no test coverage detected