Skip to main content

listorders

Request the orders list from Oanda.

Source Code: [link]

openbb.forex.oanda.listorders(order_state: str = "PENDING", order_count: int = 0, accountID: str = "REPLACE_ME")

Parameters

NameTypeDescriptionDefaultOptional
order_statestrFilter orders by a specific state ("PENDING", "CANCELLED", etc.)PENDINGTrue
order_countintLimit the number of orders to retrieve0True
accountIDstrOanda account ID, by default cfg.OANDA_ACCOUNTREPLACE_METrue

Returns

This function does not return anything