Have tried multiple variations, starting to wonder if it is actually supported. Here’s a version that didn’t work:
{
“accountId”: XXXXXX,
“accountSpec”: “BLAHBLAH593221866”,
“orderStrategyTypeId”: 2,
“action”: “Buy”,
“symbol”: “NQM6”,
“params”:
{
“entryVersion”: {
“orderQty”: 1,
“orderType”: “Limit”,
“timeInForce”: “GTD”,
“expireTime”: “2026-04-02T22:42:07.000Z”,
“price”: 24193.2091
},
“brackets”: [
{
“qty”: 1,
“trailingStop”: true,
“stopLoss”: -14.5,
“profitTarget”: 11.75,
“autoTrail”: {
“stopLoss”: 2.0,
“trigger”: 6.5,
“freq”: 0.25
}
}
]
}
}
All I get back is:
{
"errorText": "Invalid or missed parameters"
}
Any clues as to how I achieve a multibracket limit order with TP/SL/TS and GTD expiry time?