Syntax
Event SettledStatusSymbolAdded(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 get new settled status at position for symbol or after calling GetSettledStatus method .
Parameters
Part |
Description |
StatusSymbol |
The status symbol objects , value of type CStatusSymbol |
TotalNormalDeal |
The total number of 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 closed positions of some symbol either by Normal accounts or by Coverage accounts, and see the total values for all symbols.
See Also
VertexFX Backoffice API Index
|