I sent the msgpack packet with python in
{'exchange': 'TFE', 'code': 'TXFR1', 'timestamp': Timestamp(seconds=1718040379, nanoseconds=767436000), 'close': 21000.0, 'volume': 1.0, 'tick_Type': 0, 'simtrade': 1}
And I can receive msg payload in C++ as
{"method":"Publish","exchange":"TFE","code":"TXFR1","timestamp":"EXT(type:-1,size:8)","close":21000,"volume":1,"tick_Type":0,"simtrade":1}
And How to deserialized with the ext. type with Timestamp.
I use origin msgpack support msgpack.Timestamp to encode the packet
With C++ 11 https://github.com/msgpack/msgpack-c.git branch:cpp_master
I sent the msgpack packet with python in
{'exchange': 'TFE', 'code': 'TXFR1', 'timestamp': Timestamp(seconds=1718040379, nanoseconds=767436000), 'close': 21000.0, 'volume': 1.0, 'tick_Type': 0, 'simtrade': 1}
And I can receive msg payload in C++ as
{"method":"Publish","exchange":"TFE","code":"TXFR1","timestamp":"EXT(type:-1,size:8)","close":21000,"volume":1,"tick_Type":0,"simtrade":1}
And How to deserialized with the ext. type with Timestamp.
I use origin msgpack support msgpack.Timestamp to encode the packet