Syntax
Public Sub FloatingStatusSymbolDeleted(ByRef StatusSymbol As Object, ByRef TotalNormalDeal As Double, ByRef TotalCovDeal As Double, ByRef TotalNormalSellLot As Double, ByRef TotalCovSellLot As Double, ByRef TotalNormalBuyLot As Double, ByRef TotalCovBuyLot As Double, ByRef TotalNetLots As Double, ByRef TotalNormalProfitLoss As Double, ByRef TotalCovProfitLoss As Double, ByRef TotalNetProfit As Double)
Thisevent is fired when the closing the last position of some symbol, so there is no floating for the symbol.
Parameters
Key | Description |
StatusSymbol | OfCStatusSymboltype. The status symbol object that its prices changed |
TotalNormalDeal | The total number of deals of all Normal accounts |
TotalCovDeal | The total number of deals of all Coverage accounts |
TotalNormalSellLot | The total number of sell lots amount of all Normal accounts |
TotalCovSellLot | The total number of sell lots amount of all Coverage accounts |
TotalNormalBuyLot | The total number of buy lots amount of all Normal accounts |
TotalCovBuyLot | The total number of buy lots amount of all Coverage accounts |
TotalNetLots | The total net lots amount.(TotalNormalBuyLot TotalNormalSellLot) –(TotalCovBuyLot TotalCovSellLot) |
TotalNormalProfitLoss | The total profit loss of all Normal accounts |
TotalCovProfitLoss | The total profit loss of all Coverage accounts |
TotalNetProfit | The total net profit / loss |
Remarks
The floating status is the net open positions for all accounts. By this event you can monitor when your all positions of some symbol have been closed, and see the total values for all symbols.
See Also