| 2585 | * @return {object} - the depth cache object |
| 2586 | */ |
| 2587 | const getDepthCache = symbol => { |
| 2588 | if (typeof Binance.depthCache[symbol] === 'undefined') return { bids: {}, asks: {} }; |
| 2589 | return Binance.depthCache[symbol]; |
| 2590 | }; |
| 2591 | |
| 2592 | /** |
| 2593 | * Calculate Buy/Sell volume from DepthCache |
no outgoing calls
no test coverage detected