Event raised when the accounts position data changes.
Namespace:
T4.APIAssembly: T4API.20 (in T4API.20.dll)
Syntax
| C# |
|---|
public event Account..::.PositionUpdateEventHandler PositionUpdate |
| Visual Basic (Declaration) |
|---|
Public Event PositionUpdate As Account..::.PositionUpdateEventHandler |
| Visual C++ |
|---|
public: event Account..::.PositionUpdateEventHandler^ PositionUpdate { void add (Account..::.PositionUpdateEventHandler^ value); void remove (Account..::.PositionUpdateEventHandler^ value); } |
Remarks
When an order is submitted, or when P&L for a position changes then you will get
this event giving the new details of the position. The position details include
the net position, margin, P&L, worst position etc.