MCPcopy Create free account
hub / github.com/sammchardy/python-binance / get_depth_cache

Method get_depth_cache

binance/ws/depthcache.py:275–281  ·  view source on GitHub ↗

Get the current depth cache :return: DepthCache object

(self)

Source from the content-addressed store, hash-verified

273 self._depth_cache.update_time = msg.get("E") or msg.get("lastUpdateId")
274
275 def get_depth_cache(self):
276 """Get the current depth cache
277
278 :return: DepthCache object
279
280 """
281 return self._depth_cache
282
283 async def close(self):
284 """Close the open socket for this manager

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected