API Support Forum
OEC API > FIX Support > FIX Order with quantity zero
Author Topic: FIX Order with quantity zero
(6 messages, Page 1 of 1)
Moderators: VPfau
JChadowitz
Posts: 12
Joined: Jan 27, 2015


Posted: Mar 22, 2016 @ 10:36 AM             Msg. 1 of 6
What response can we expect when an order with quantity 0 is placed?

Jack Chadowitz
ETrifonov
Posts: 63
Joined:


Posted: Mar 23, 2016 @ 10:02 AM             Msg. 2 of 6
Hello, Jack

0 quantity is invalid, so you should expect execution report (35=8) with ExecType (150) = REJECTED (8). Also we put text field (58) with description.

For example:

8=FIX.4.4|9=251|35=8|34=36|49=OEC|52=20160323-13:00:00.000|56=User|1=ACCOUNT|6=0|11=12345|14=0|17=OECFIX:12345:2|37=NONE|38=0|39=8|40=1|54=1|55=NQ|58=Invalid request|60=20160323-13:00:00.000|103=99|150=8|151=0|200=201606|461=FXXXXS|10=114|



Evgeny
Edited by ETrifonov on Mar 23, 2016 at 10:02:45
JChadowitz
Posts: 12
Joined: Jan 27, 2015


Posted: Mar 23, 2016 @ 12:02 PM             Msg. 3 of 6
Thank you for your answer.

Unfortunately we are not getting the execution report that you said we should get.

I ust performed a test at 11:31:55 EDT. We got a message
Processing order #28.

It is now 12:00 EDT and apart from regular heartbeat messages every 30 seconds we have received no other messages including the execution report.

Can you explain where the problem lies?

Jack Chadowitz
ETrifonov
Posts: 63
Joined:


Posted: Mar 23, 2016 @ 12:21 PM             Msg. 4 of 6
Can you please provide user name and server address you are connecting?

Evgeny
JChadowitz
Posts: 12
Joined: Jan 27, 2015


Posted: Mar 23, 2016 @ 12:35 PM             Msg. 5 of 6
uuid=xxx

prod.gainfutures.com
Jack Chadowitz
Edited by CMicciche902 on Apr 27, 2016 03:22 PM
ETrifonov
Posts: 63
Joined:


Posted: Mar 24, 2016 @ 09:09 AM             Msg. 6 of 6
On prod.gainfutures.com we have bug in this procedure.
It will be fixed soon.
Thank you.

Evgeny