Public Sub FloatingStatusSymbolAdded(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 the first position of some symbol, or when loading the floating for the first time after login.
|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 first position of some symbol either by Normal accounts or by Coverage accounts, and see the total values for all symbols.
Leave A Comment