Author |
Topic: How to determine which message is for expiration and which is for liquidation (9 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
TTsenkov Posts: 8 Joined: May 17, 2024 |
We expect to receive two types of messages: expiration and liquidation. Upon receiving an expiration message, we will close the futures position on our end. Upon receiving a liquidation message, we will perform other actions on our side. How can we determine which message is for expiration and which is for liquidation?
|
||||
CMicciche902 Posts: 367 Joined: |
Can you provide more context so I can answer your question? What message are you asking about specifically?
If we liquidate a position, you will be locked from trading and your position is flattened. You will not be able to place any trade. Same for expiration. Once a contract has expired, trading is not possible. You would need to trade in the next available month. Chris M
|
||||
TTsenkov Posts: 8 Joined: May 17, 2024 |
How to determine that execution report is about liquidation? Does any tag contain information about it?
|
||||
DKlotz Posts: 4 Joined: May 31, 2023 |
Chris,
Can you provide any sample code of for the different unsolicited messages we can expect to receive? IE a liquidation, an expiration, etc? thanks Dave |
||||
CMicciche902 Posts: 367 Joined: |
Below is an example of an unsolicited order (ie. liquidation and similar to an offsetting trade due to contract expiration):
325 UnsolicitedIndicator=Y 08:27:53.025 FIX.4.4:OEC_TEST->CMiccicheTM: <- 8=FIX.4.49=25735=834=1649=OEC_TEST52=20240812-13:27:5356=CMiccicheTM1=API0008396=0.0011=OECFIX:21342961914=017=OECFIX:213429619:15237=21342961938=139=A40=154=255=ES59=060=20240812-13:27:53.015150=A151=1167=FUT200=202409325=Y377=N461=FXXXXS1028=Y10=121 13:27:5356=CMiccicheTM1=API0008396=0.0011=OECFIX:21342961914=017=OECFIX:213429619:15237=21342961938=139=A40=154=255=ES59=060=20240812-13:27:53.015150=A151=1167=FUT200=202409325=Y377=N461=FXXXXS1028=Y10=121 08:27:53.047 FIX.4.4:OEC_TEST->CMiccicheTM: <- 8=FIX.4.49=25735=834=1749=OEC_TEST52=20240812-13:27:5356=CMiccicheTM1=API0008396=0.0011=OECFIX:21342961914=017=OECFIX:213429619:15337=21342961938=139=040=154=255=ES59=060=20240812-13:27:53.046150=0151=1167=FUT200=202409325=Y377=N461=FXXXXS1028=Y10=093 08:27:53.061 FIX.4.4:OEC_TEST->CMiccicheTM: <- 8=FIX.4.49=27635=834=1849=OEC_TEST52=20240812-13:27:5356=CMiccicheTM1=API0008396=5382.7511=OECFIX:21342961914=117=OECFIX:213429619:15431=5382.7532=137=21342961938=139=240=154=255=ES59=060=20240812-13:27:53.046150=F151=0167=FUT200=202409325=Y377=N461=FXXXXS1028=Y10=008 08:27:53.063 FIX.4.4:OEC_TEST->CMiccicheTM: <- 8=FIX.4.49=26035=834=1949=OEC_TEST52=20240812-13:27:5356=CMiccicheTM1=API0008396=5382.7511=OECFIX:21342961914=117=OECFIX:213429619:15537=21342961938=139=B40=154=255=ES59=060=20240812-13:27:53.061150=B151=0167=FUT200=202409325=Y377=N461=FXXXXS1028=Y10=042 Chris M
|
||||
DKlotz Posts: 4 Joined: May 31, 2023 |
Thank you!!
|
||||
TTsenkov Posts: 8 Joined: May 17, 2024 |
Thanks for examples.
325 tag is sent for both: for expiration and for liquidation. But how to know is message expiration or liquidation? They look similar |
||||
TTsenkov Posts: 8 Joined: May 17, 2024 |
Hello, any update?
|
||||
CMicciche902 Posts: 367 Joined: |
Both orders will look similar, you will not be able to determine which is which via FIX.
Chris M
|
||||