Class representing an individual trading account.
Namespace:
T4.APIAssembly: T4API.20 (in T4API.20.dll)
Syntax
| C# |
|---|
public class Account |
| Visual Basic (Declaration) |
|---|
Public Class Account |
| Visual C++ |
|---|
public ref class Account |
Remarks
Each Account in the system is responsible for keeping track of the orders for that account, risk management, P&L and position tracking. A user may be able to see multiple accounts.
When the initial account list is returned after login, only the static details of each account will be available, e.g. name, balance, clip size etc. In order to receive any of the dynamic updates (P&L, positions, orders etc) you must first subscribe to the account. Orders can be submitted without being subscribed, but you will not receive any updates for those orders (such as Working, Filled etc).
Each account tracks it's own orders, organised by each market in Position objects.
Inheritance Hierarchy
System..::.Object
T4.API..::.Account
T4.API..::.Account