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

Method request_id

python/ccxt/pro/bybit.py:182–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 }
181
182 def request_id(self):
183 self.lock_id()
184 requestId = self.sum(self.safe_integer(self.options, 'requestId', 0), 1)
185 self.options['requestId'] = requestId
186 self.unlock_id()
187 return requestId
188
189 async def get_url_by_market_type(self, symbol: Str = None, isPrivate=False, method: Str = None, params={}):
190 accessibility = 'private' if isPrivate else 'public'

Callers 6

create_order_wsMethod · 0.95
edit_order_wsMethod · 0.95
cancel_order_wsMethod · 0.95
watch_topicsMethod · 0.95
un_watch_topicsMethod · 0.95
pingMethod · 0.95

Calls 4

lock_idMethod · 0.80
safe_integerMethod · 0.80
unlock_idMethod · 0.80
sumMethod · 0.45

Tested by

no test coverage detected