Syntax
Event SettledStatusSymbolChanged(StatusSymbol As CStatusSymbol, TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As Double, TotalNormalProfitLoss As Double, TotalCovProfitLoss As Double, TotalNetProfit As Double)
Description
This event is fired when settled status changed at position for an existing symbol in settled status list.
Parameters
Part |
Description |
StatusSymbol |
The status symbol object., value of type CStatusSymbol |
TotalNormalDeal |
The total number of normal deals of all normal accounts,value of type Double. |
TotalCovDeal |
The total number of deals of all Coverage accounts,value of type Double |
TotalNormalSellLot |
The total number of sell lots amount of all Normal accounts,value of type Double. |
TotalCovSellLot |
The total number of sell lots amount of all Coverage accounts,value of type Double. |
TotalNormalBuyLot |
The total number of buy lots amount of all Normal accounts,value of type Double. |
TotalCovBuyLot |
The total number of buy lots amount of all Coverage accounts,value of type Double |
TotalNetLots |
The total net lots amount. (TotalNormalBuyLot – TotalNormalSellLot) - (TotalCovBuyLot – TotalCovSellLot),value of type Double |
TotalNormalProfitLoss |
The total profit loss of all Normal accounts,value of type Double. |
TotalCovProfitLoss |
The total profit loss of all Coverage accounts,value of type Double |
TotalNetProfit |
The total net profit / loss,value of type Double. |
Remarks
The settled status is the net closed positions for all accounts. By this event you can monitor the symbol settled status closing the positions, and see the total values for all symbols.
See Also
VertexFX Backoffice API Index
|