MCPcopy Index your code
hub / github.com/ccxt/ccxt / loadTimeDifference

Method loadTimeDifference

js/src/base/Exchange.js:6785–6790  ·  view source on GitHub ↗
(params = {})

Source from the content-addressed store, hash-verified

6783 }
6784 }
6785 async loadTimeDifference(params = {}) {
6786 const serverTime = await this.fetchTime(params);
6787 const after = this.milliseconds();
6788 this.options['timeDifference'] = after - serverTime;
6789 return this.options['timeDifference'];
6790 }
6791 implodeHostname(url) {
6792 return this.implodeParams(url, { 'hostname': this.hostname });
6793 }

Callers 15

fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchMarketsMethod · 0.45
fetchUTAMarketsMethod · 0.45
fetchMarketsMethod · 0.45

Calls 2

fetchTimeMethod · 0.95
millisecondsMethod · 0.95

Tested by

no test coverage detected