Account
Properties
Alias : string
Client-assigned alias for the Account. Only provided if the Account has an alias set.
CreatedByUserId : int
ID of the user that created the Account.
CreatedTime : string
ID of the user that created the Account.
HedgingEnabled : bool
Flag indicating that the Account has hedging enabled.
LastTransactionId : long?
The ID of the last Transaction created for the Account.
MarginAvailable : double
Margin available for Account. Represented in the Account’s home currency.
MarginCallMarginUsed : double
The Account’s margin call margin used.
MarginCallPercent : double
The Account’s margin call percentage. When this value is 1.0 or above the Account is in a margin call situation.
MarginCloseoutMarginUsed : double
The Account’s margin closeout margin used.
MarginCloseoutPercent : double
The Account’s margin closeout percentage. When this value is 1.0 or above the Account is in a margin closeout situation.
MarginCloseoutPositionValue : double
The value of the Account’s open positions as used for margin closeout calculations represented in the Account’s home currency.
MarginCloseoutUnrealizedPnL : double
The Account’s margin closeout unrealized PL.
MarginRate : double
Client-provided margin rate override for the Account. The effective margin rate of the Account is the lesser of this value and the OANDA margin rate for the Account’s division. This value is only provided if a margin rate override exists for the Account.
MarginUsed : double
Margin currently used for the Account. Represented in the Account’s home currency.
OpenPositionCount : int
The number of Positions currently open in the Account.
OpenTradeCount : int
The number of Trades currently open in the Account.
Orders : IEnumerable<Order>
The details of the Orders currently pending in the Account.
PendingOrderCount : int
The number of Orders currently pending in the Account.
PnL : double
The total profit/loss realized over the lifetime of the Account. Represented in the Account’s home currency.
Positions : IEnumerable<Position>
The details all Account Positions.
PositionValue : double
The value of the Account’s open positions represented in the Account’s home currency.
ResettablePnL : double
The total realized profit/loss for the Account since it was last reset by the client. Represented in the Account’s home currency.
Trades : IEnumerable<TradeData>
The details of the Trades currently open in the Account.
UnrealizedPnL : double
The total unrealized profit/loss for all Trades currently open in the Account. Represented in the Account’s home currency.
WithdrawalLimit : double
The current WithdrawalLimit for the account which will be zero or a positive value indicating how much can be withdrawn from the account.