Public Sub FloatingStatusSymbolChanged(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 floating status has new position or some position has been closed.
|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|
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.
Leave A Comment