on_message binary payload processing

ansumanm
Hi,

Is there any template python code for on_message binary payload processing?

Thanks,
Tagged:
  • sujith
    Hi,
    on_message can be used for order updates. You get tick data in binary format. You can follow up here.
  • Vivek
    @ansumanm on_message callback is to get all the data received without processing it. By default binary data is processed and sent parsed data in on_ticks callback, similarly text data is parsed for order update and sent in on_order_update callback. You can check source code to see how data is parsed.
This discussion has been closed.