cancel
- Model
- Chart
Request cancellation of a pending order.
Source Code: [link]
openbb.forex.oanda.cancel(orderID: str, accountID: str = "REPLACE_ME")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| orderID | str | The pending order ID to cancel. | None | False |
| accountID | str | Oanda account ID, by default cfg.OANDA_ACCOUNT | REPLACE_ME | True |
Returns
This function does not return anything