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

Function getSymbolDepthSnapshot

deprecated/node-binance-api.js:5699–5708  ·  view source on GitHub ↗
(symbol, cb)

Source from the content-addressed store, hash-verified

5697 };
5698
5699 let getSymbolDepthSnapshot = (symbol, cb) => {
5700 publicRequest(getSpotUrl() + 'v3/depth', { symbol: symbol, limit: limit }, function (error, json) {
5701 if (error) {
5702 return cb(error, null);
5703 }
5704 // Store symbol next use
5705 json.symb = symbol;
5706 cb(null, json)
5707 });
5708 };
5709
5710 let updateSymbolDepthCache = json => {
5711 // Get previous store symbol

Callers

nothing calls this directly

Calls 2

publicRequestFunction · 0.85
getSpotUrlFunction · 0.85

Tested by

no test coverage detected