Tag specified without a value (Field=494)
Tag specified without a value (Field=494)
15 Dec 2021, 22:29
If I click on the "Double Position" button on the ctrader platform my FIX application recieves a message as below:
8=FIX.4.4|9=252|35=8|34=3|49=cServer|50=TRADE|52=20211215-20:19:55.532|56=demo.ctrader.3435282|57=APP_TRADE_SESSION|11=ctd-9bfc199de9ed4678a16af4fa8d7095e3|14=0|37=59721439|38=0.08|39=0|40=1|54=1|55=22395|59=3|60=20211215-20:19:55.503|150=0|151=0.08|494=|721=33747629|10=223|
Quickfix error message: Tag specified without a value (Field=494)
Shouldn't this be filled? Is there a way force the server to put "none" or "-" or something so that the code won't break? I assume this could break other traders code as well.
Replies
slukk200
17 Dec 2021, 00:25
RE:
amusleh said:
Hi,
That tag value is empty, so it doesn't make any sense to put something else on it.
To solve the QuickFix issue you can disable the tag value check on your configuration by setting ValidateFieldsHaveValues to N: Configuring QuickFIX (quickfixengine.org)
That is exactly what I did, but I think it is a nasty workaround. It is always good to have validation checks. I was hoping maybe someone from support takes a look at this.
@slukk200
amusleh
16 Dec 2021, 10:57
Hi,
That tag value is empty, so it doesn't make any sense to put something else on it.
To solve the QuickFix issue you can disable the tag value check on your configuration by setting ValidateFieldsHaveValues to N: Configuring QuickFIX (quickfixengine.org)
@amusleh