Support Board
Date/Time: Mon, 10 Mar 2025 07:37:15 +0000
Post From: Sample code for sc.SetAttachedOrders
[2022-01-22 12:08:42] |
1+1=10 - Posts: 270 |
Your code looks fine and well-organized. I searched “Unsupported Order Type” on the support forum. Apparently, some Trading Services support more order types than others. For instance, SC/TT routing did not support Market-If-Touched but Rithmic did: https://www.sierrachart.com/SupportBoard.php?do=Search&Query=Unsupported+order+type&Submit_Search=Search You should consider starting a new support thread that hopefully SC will response to asking if SCT_ORDERTYPE_OCO_LIMIT_STOP is supported on your trading service. Also, any chance you can explain, without revealing the important part of your strategy why you can’t use attached orders? If you want to start trades without a target/stop just set the attached orders 10000 ticks away from current price and then modify them closer later. |