updateActiveOrder method
Replace order can modify/amend your active orders. https://bybit-exchange.github.io/docs/inverse/#t-replaceactive
Implementation
Future<Map<String, dynamic>?> updateActiveOrder(
{required String symbol,
String? orderId,
String? orderLinkId,
int? newOrderQuantity,
double? newOrderPrice}) async {
log.i('Replace/update active order.');
return await rest.updateActiveOrder(
symbol: symbol,
orderId: orderId,
orderLinkId: orderLinkId,
newOrderQuantity: newOrderQuantity,
newOrderPrice: newOrderPrice);
}