SmartQuant Algo Trading Framework

Account Members

The Account type exposes the following members.

Constructors


  Name Description
Public method Account
Initializes a new instance of the Account class.

Methods


  Name Description
Public method Add(AccountReport)
Public method Add(AccountTransaction, Boolean)
Adds an account transaction to this account.
Public method Add(Fill, Boolean)
Adds an account transactions created from order fill to this account.
Public method Add(DateTime, Double, Byte, String, Boolean)
Creates and adds an account transaction to this account.
Public method Add(Double, Byte, String, Boolean)
Creates and adds an account transaction to this account at the current datetime of the framework
Public method Deposit(DateTime, Double, Byte, String, Boolean)
Deposits an amount of currency to this account.
Public method Deposit(Double, Byte, String, Boolean)
Deposits an amount of currency to this account at the current datetime of the framework.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetByCurrencyId
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Withdraw(DateTime, Double, Byte, String, Boolean)
Withdraws an amount of currency from this account.
Public method Withdraw(Double, Byte, String, Boolean)
Withdraws an amount of currency from this account at the current datetime of the framework.

Properties


  Name Description
Public property CurrencyId
Gets or sets the base currency of this account.
Public property Parent
Public property Positions
Gets the list of account positions.
Public property Transactions
Gets the list of account transactions.
Public property UpdateParent
Public property Value
Gets the value of portfolio account.