MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / assignEndpointIdToContext

Function assignEndpointIdToContext

deprecated/node-binance-api.js:5677–5682  ·  view source on GitHub ↗
(symbol, endpointId)

Source from the content-addressed store, hash-verified

5675 };
5676
5677 let assignEndpointIdToContext = (symbol, endpointId) => {
5678 if (Binance.depthCacheContext[symbol]) {
5679 let context = Binance.depthCacheContext[symbol];
5680 context.endpointId = endpointId;
5681 }
5682 };
5683
5684 let handleDepthStreamData = depth => {
5685 let symbol = depth.s;

Callers 2

depthCacheStreamMethod · 0.85
apiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected