Required tag missing (Field=42) error
Created at 11 Dec 2016, 09:38
Required tag missing (Field=42) error
11 Dec 2016, 09:38
How Can I do?
<event> Received logon FIX.4.4:icmarkets.1022571->cServer------client toApp-------????----8=FIX.4.49=11035=V34=249=icmarkets.102257152=20161211-07:31:57.68056=cServer262=123263=1264=1146=155=1267=1269=010=216 <outgoing> 8=FIX.4.49=11035=V34=249=icmarkets.102257152=20161211-07:31:57.68056=cServer262=123263=1264=1146=155=1267=1269=010=216 <incoming> 8=FIX.4.49=11435=W34=249=cServer52=20161211-07:31:57.29756=icmarkets.102257155=1268=2269=1270=1.05599269=0270=1.0557810=231 <event> Message 2 Rejected: Required tag missing (Field=42)
cyfer
11 Dec 2016, 12:02
First thing you should be aware of .. The server responded to you with a Bid & Ask Prices ... so basically you communicated successfully with the server and it responded .
Now ,Your Config File instructed To reject the message coming from the Server and the reason was (Tag 42) Which is Orig Time , If you're testing while the market is closed
you should wait till it opens .
But Make sure that you have those lines in your config file
if this is not the solution , please post how do you send the message to the server QuickFix or Raw Fix from cAlgo ?
Here is a MDRequest with a market depth set to 1 like your message .. only changed the Account No.
and here is the response from the server while the market is closed .
@cyfer