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

Method request_id

python/ccxt/pro/cex.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 })
59
60 def request_id(self):
61 self.lock_id()
62 requestId = self.sum(self.safe_integer(self.options, 'requestId', 0), 1)
63 self.options['requestId'] = requestId
64 self.unlock_id()
65 return str(requestId)
66
67 async def watch_balance(self, params={}) -> Balances:
68 """

Callers 11

watch_balanceMethod · 0.95
watch_tickerMethod · 0.95
fetch_ticker_wsMethod · 0.95
fetch_balance_wsMethod · 0.95
watch_order_bookMethod · 0.95
fetch_order_wsMethod · 0.95
fetch_open_orders_wsMethod · 0.95
create_order_wsMethod · 0.95
edit_order_wsMethod · 0.95
cancel_order_wsMethod · 0.95
cancel_orders_wsMethod · 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