Class Account
Contains all user's account information
Namespace: TradingPlatform.BusinessLayer
Syntax
public class Account : BusinessObject, IConnectionBindedObject, IUniqueID, IRulesContainer, IXElementSerialization
Properties
AccountCurrency
Gets base currency of account. Account CCY is always equal to the server CCY in AlgoStudio
Declaration
public Asset AccountCurrency { get; }
Property Value
Type | Description |
---|---|
Asset |
Balance
Gets current balance of the account.
Declaration
public double Balance { get; }
Property Value
Type | Description |
---|---|
System.Double |
Id
Gets account unique code.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Obtaining account name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NettingType
Declaration
public NettingType NettingType { get; set; }
Property Value
Type | Description |
---|---|
TradingPlatform.BusinessLayer.NettingType |
Events
Updated
Will be triggered on each account information updating
Declaration
public event Action<Account> Updated
Event Type
Type | Description |
---|---|
System.Action<Account> |