MCPcopy Index your code
hub / github.com/danpaquin/coinbasepro-python / on_message

Method on_message

cbpro/order_book.py:282–284  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

280 self.order_book_eth = OrderBookConsole(product_id='ETH-USD')
281
282 def on_message(self, msg):
283 self.order_book_btc.process_message(msg)
284 self.order_book_eth.process_message(msg)
285
286 wsClient = WebsocketConsole()
287 wsClient.start()

Callers

nothing calls this directly

Calls 1

process_messageMethod · 0.45

Tested by

no test coverage detected