Syntax
Event FloatingStatusSymbolChanged(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 fire when open new position or close it for an existing symbol in floating 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 floating status is the net open positions for all accounts. By this event you can monitor the symbol floating status after new positions or closing positions, and see the total values for all symbols.
See Also
VertexFX Backoffice API Index
|