Skip to main content

cancel

Request cancellation of a pending order.

Source Code: [link]

openbb.forex.oanda.cancel(orderID: str, accountID: str = "REPLACE_ME")

Parameters

NameTypeDescriptionDefaultOptional
orderIDstrThe pending order ID to cancel.NoneFalse
accountIDstrOanda account ID, by default cfg.OANDA_ACCOUNTREPLACE_METrue

Returns

This function does not return anything