@objc public protocol TradableOrderStatusDelegate
A delegate protocol for getting notifications about order status changes. The delegate methods will not be called if full/orders updates are not running!
A delegate hook for getting order status changes.
@objc func tradableOrderStatusChanged(for order: TradableOrder)
A TradableOrder object whose status changed (from .pending into one of the final states: .executed or .cancelled). It is in its most recent state.
A delegate hook for getting order status errors.
@objc func tradableOrderStatusUnknown(for orderId: String)
The id of the TradableOrder’s object whose status is unknown due to system error (such as server crash, connection loss, etc.).