(2 messages, Page 1 of 1)
Joined: Jul 17, 2020
I need to pass multiple orders at the same time:
A sell/buy Stop
I don't understand which ordertype I need to use for each of those orders, and if I can pass them at the same time or if I need to create three different order ?
Joined: Oct 26, 2011
I think you meant orders relations instead of order type?
If so, you need OCO and OSO links for orders. See One-Sends-Other (OSO) and One-Cancels-Other (OCO) section in Getting Started/Trading https://gainfutures.com/GFAPI/html/9900566b-260a-4247-8326-9698b013e7b8.htm
Also see SendLinkedOrders() and SendOCOOrders() functions
OCO usage at Advanced Example: