modifyOrder method
- String params
override
Modifies an existing open order.
params JSON shape:
{
"orderID": "ORD001",
"symID": "NIFTY",
"price": 23000.0,
"triggerPrice": 23001.0,
"orderType": "limit",
"orderAction": "buy",
"qty": 50,
"productType": "normal"
}
Implementation
@override
void modifyOrder(String params) {
unawaited(_data.invokeMethod<void>('modifyOrder', params));
}