cancelOCOOrder abstract method

void cancelOCOOrder(
  1. String groupId
)

Cancels an existing OCO pair (both legs, whether pending or already live and still linked). groupId is the pair's own identifier — same shape as cancelOrder, no leg data needed to identify it.

Implementation

void cancelOCOOrder(String groupId);