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

Method load_time_difference

python/ccxt/base/exchange.py:6884–6888  ·  view source on GitHub ↗
(self, params={})

Source from the content-addressed store, hash-verified

6882 return parsedPrecision + '0'
6883
6884 def load_time_difference(self, params={}):
6885 serverTime = self.fetch_time(params)
6886 after = self.milliseconds()
6887 self.options['timeDifference'] = after - serverTime
6888 return self.options['timeDifference']
6889
6890 def implode_hostname(self, url: str):
6891 return self.implode_params(url, {'hostname': self.hostname})

Callers 15

fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_uta_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45
fetch_marketsMethod · 0.45

Calls 2

fetch_timeMethod · 0.95
millisecondsMethod · 0.95

Tested by

no test coverage detected