module Binance::Spot::Margin

def margin_cancel_oco(symbol:, **kwargs)

Other tags:
    See: https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-oco-trade -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000
  • :newClientOrderId (String) --
  • :listClientOrderId (String) -- Either orderListId or listClientOrderId must be provided
  • :orderListId (Integer) -- Either orderListId or listClientOrderId must be provided
  • :isIsolated (String) --

Parameters:
  • kwargs (Hash) --
  • symbol (String) --
def margin_cancel_oco(symbol:, **kwargs)
  Binance::Utils::Validation.require_param('symbol', symbol)
  @session.sign_request(:delete, '/sapi/v1/margin/orderList', params: kwargs.merge(
    symbol: symbol
  ))
end