pub type GetAccountChangesResponse = GetAccountChangesResponse200Body;

Aliased Type§

struct GetAccountChangesResponse {
    pub changes: Option<AccountChanges>,
    pub state: Option<AccountChangesState>,
    pub last_transaction_id: Option<String>,
}

Fields§

§changes: Option<AccountChanges>

An AccountChanges Object is used to represent the changes to an Account’s Orders, Trades and Positions since a specified Account TransactionID in the past.

§state: Option<AccountChangesState>

An AccountState Object is used to represent an Account’s current price-dependent state. Price-dependent Account state is dependent on OANDA’s current Prices, and includes things like unrealized PL, NAV and Trailing Stop Loss Order state.

§last_transaction_id: Option<String>

The ID of the last Transaction created for the Account. This Transaction ID should be used for future poll requests, as the client has already observed all changes up to and including it. format: String representation of the numerical OANDA-assigned TransactionID