(symbol, cb)
| 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 |
nothing calls this directly
no test coverage detected