Invalid order of 35=W messages with MarketDepth=1 (spot subscription)

Created at 03 Aug 2021, 17:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TE

terryww2

Joined 22.11.2018

Invalid order of 35=W messages with MarketDepth=1 (spot subscription)
03 Aug 2021, 17:40


When subscribing to Market Data Request (MsgType(35)=V with MarketDepth=1 (spot subscription), we'd expect to first get order book snapshot and then updates (ticks), but we get first ticks and then order book snapshot:

8=FIX.4.49=13535=W34=15249=CSERVER50=QUOTE52=20210803-13:39:48.74556=demo.fondex.xxx57=Quote55=81268=2269=0270=4.9177269=1270=4.919110=234
8=FIX.4.49=19935=W34=15349=CSERVER50=QUOTE52=20210803-13:39:48.74656=demo.fondex.xxx57=Quote55=81268=2269=1270=4.9191271=9999999999999278=607322197269=0270=4.9177271=9999999999999278=60732219610=215

Is this expected? Also the field MDEntrySize (271) isn't documented for 35=5 for some reason.


@terryww2
Replies

PanagiotisCharalampous
04 Aug 2021, 08:20

Hi terryww2,

we'd expect to first get order book snapshot and then updates (ticks)

Why would you expect this? Is it documented somewhere that it will work this way?

  Also the field MDEntrySize (271) isn't documented for 35=5 for some reason.

 35=5 is the logout message. Why would you expect a 271 tag?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

terryww2
04 Aug 2021, 14:22

RE:

Thansk for the quick response!

Hi terryww2,

we'd expect to first get order book snapshot and then updates (ticks)

Why would you expect this? Is it documented somewhere that it will work this way?

You're right, it's not documented. I assumed that's the workflow - first OB snapshot, then updates. OK, so that's not the case, thanks.

  Also the field MDEntrySize (271) isn't documented for 35=5 for some reason.

 35=5 is the logout message. Why would you expect a 271 tag?

Sorry for the typo, I meant 35=W. As you see in the last message, there's a 271 field, but not in the documentation for 35=W.


@terryww2

PanagiotisCharalampous
04 Aug 2021, 15:20

Hi terryww2,

Sorry for the typo, I meant 35=W. As you see in the last message, there's a 271 field, but not in the documentation for 35=W.

Indeed the tag seems to be missing from the documentation. We will add it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous