updateConditionalOrder method
Update conditional order https://bybit-exchange.github.io/docs/inverse/#t-replacecond
Implementation
Future<Map<String, dynamic>?> updateConditionalOrder(
{required String symbol,
String? stopOrderId,
String? orderLinkId,
int? newOrderQuantity,
double? newOrderPrice,
double? newTriggerPrice}) async {
log.i('Update conditional order');
return await rest.updateConditionalOrder(
symbol: symbol,
stopOrderId: stopOrderId,
orderLinkId: orderLinkId,
newOrderQuantity: newOrderQuantity,
newOrderPrice: newOrderPrice,
newTriggerPrice: newTriggerPrice);
}