Author |
Topic: Spreads legs are not in session, but Spreads Market orders become open positions for each leg. Error? (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
In OEC Trader Demo 3.5.15.27, open positions for each leg are created when I place MKT orders, even though the Legs are not in session.
An example is HE-LEJ5 CS -,+. Trader Demo lists this contract's (HE-LEJ5 CS -,+) hours (in MT): - Start Time 4:00 pm - Stop Time 3:00 pm The Trader Demo hours for HEJ5: - Start Time 7:00 am - Stop Time 3:00 pm The Trader Demo hours for LEJ5: - Start Time 7:00 am - Stop Time 3:00 pm So, I get open positions on these HEJ5 and LEJ5 contracts when I place a HE-LEJ5 CS -,+. MKT order. However, these open positions can't be individually closed out until HEJ5 and LEJ5 are in session. Is it a mistake to create open positions for Spreads contract Legs that are not in session? Perhaps the hours listed for the Spreads contract are incorrect, and this is why the Demo allows these open positions to be created. Please inform. Thanks Chris CHW |
||||
VPfau Moderator Posts: 164 Joined: |
Chris,
The session time for HE-LE CS has been fixed and should be applied at this weekend. Please let us know if you will see the same issue Monday. Thank you! Vitaliy Pfau |
||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
I see that this error is continuing for HE FTS spreads:
HE hours are 7AM-3PM (MT) HE FTS hours are 4PM-3PM (MT) Could you update the HE FTS hours in the api fields for a contract: OECAPICOM::IContractPtr con = OECAPI()->Contracts->Item(symbol); *con->StartTime *con->StopTime Thanks, CHW |
||||
VPfau Moderator Posts: 164 Joined: |
This start time for the HE-LE CS spread has been updated to 9:05 AM CT and will be applied at this weekend
Thank you Vitaliy Pfau |
||||