Support Board
Date/Time: Sat, 08 Nov 2025 21:34:55 +0000
Post From: Non-Attached OCO Orders With Multiple Profit Targets
| [2025-09-02 05:38:15] |
| User688525 - Posts: 355 |
|
Hi John, Thank you for confirming. With the following: - SCT_ORDERTYPE_OCO_BUY_STOP_SELL_STOP - SCT_ORDERTYPE_OCO_BUY_STOP_LIMIT_SELL_STOP_LIMIT - SCT_ORDERTYPE_OCO_BUY_LIMIT_SELL_LIMIT Is more information available on how these specifically function and examples of implementation? For example, I am using "SCT_ORDERTYPE_OCO_BUY_STOP_SELL_STOP", however, for a short trade, the correct Stop and Take Profit order locations are being placed, but the take profits are Sell orders, not Buy orders. Do I also need to specify the type of order (Buy or Sell) as I have assumed that SCT_ORDERTYPE_OCO_BUY_STOP_SELL_STOP would place the correct type based on the direction of the trade? Thank you |
