in MBO as a provider, do we need to tell which orders are addd/modify or delete?

in MBO as a provider, do we need to tell which orders are addd/modify or delete? Does the provider need to explicitly tell this info with every order? Or is it upto client';s app to figure these things out?

Tagged:

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    It is not possible to send an order without explicitly specifying an action - it is a mandatory attribute of the OMM MAP message. I would recommend that you look into an existing MBO feed and see the message structure, and take cues from it.


    MapEntry action="Add" key dataType="Buffer" value="3233 3032 3237 3030  3030 3030 3030 3930   23022700000000903835 41                                          85A"
    dataType="FieldList"
    FieldList
    FieldEntry fid="1021" name="SEQNUM" dataType="Real" value="12590.0"
    FieldEntry fid="3426" name="ORDER_ID" dataType="Rmtes" value="000000009"
    FieldEntry fid="3427" name="ORDER_PRC" dataType="Real" value="140.500000"
    FieldEntry fid="3428" name="ORDER_SIDE" dataType="Enum" value="2"
    FieldEntry fid="3429" name="ORDER_SIZE" dataType="Real" value="200.0"
    FieldEntry fid="3435" name="MMID" dataType="Rmtes" value="85"
    FieldEntry fid="6520" name="PR_TIM_MS" dataType="UInt" value="71769197"
    FieldEntry fid="6521" name="PR_TIM_MSP" dataType="UInt" value="218"
    FieldEntry fid="6522" name="PR_DATE" dataType="Date" value="14 DEC 2022"
    FieldListEnd
    MapEntryEnd

Answers