|
From: philip <ph...@wh...> - 2020-05-06 09:58:43
|
Please try to use standard debugging tools before asking for help - have you debugged to see where the value of 1 is coming from? Also, provide a short, self-contained, compilable example rather than a fragment of code which is far from guaranteed to be the problem. You're not sending the message in this code, and you're not even creating the message object. Make it easy for us to help you. Regards, Philip Whitehouse On 2020-05-06 10:46, Fuad Azhar wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > hi all, i have set in my code MarketDepth as 2 > > header.setField(new BeginString("FIX.4.4")); header.setField(new > SenderCompID("DXTR_UAT_Q")); > header.setField(new TargetCompID("OZ_UAT_Q")); > header.setField(new MsgType("V")); > marketDataRequest.setField(new MDReqID(mDReqIDs)); > marketDataRequest.setField(new SubscriptionRequestType('1')); > marketDataRequest.setField(new MarketDepth(2)); > marketDataRequest.setField(new MDUpdateType(0)); > group.set(new MDEntryType('1')); > marketDataRequest.addGroup(group); > group.set(new MDEntryType('2')); > marketDataRequest.addGroup(group); > group1.set(new Symbol("EURUSD")); > marketDataRequest.addGroup(group1); > group1.set(new Symbol("GBPUSD")); > marketDataRequest.addGroup(group1); > group1.set(new Symbol("XAUUSD")); > marketDataRequest.addGroup(group1); > group1.set(new Symbol("WTI/USD")); > marketDataRequest.addGroup(group1); > group1.set(new Symbol("AUDUSD")); > marketDataRequest.addGroup(group1); > group1.set(new Symbol("USDJPY")); > marketDataRequest.addGroup(group1); > > but why in my message market depth cannot change become 2 > > here my message to my broker > > > 8=FIX.4.49=17535=V34=249=DXTR_UAT_Q52=20200506-09:42:59.52356=OZ_UAT_Q262=71QHWj263=1264=1265=0146=655=EURUSD55=GBPUSD55=XAUUSD55=W$ > I/USD55=AUDUSD55=USDJPY267=2269=1269=210=039 > tag 264 always 1. but in my code i have set tag264 2. > > how to fix the problem ? > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |