Public Sub NewOrderResult(ByRef Result As VTLServerApplication.NewOrderResultEnum, ByRef AtPrice As Double, ByRef PosOrOrder As Short, ByRef OrderId As Integer, ByRef BuySell As VTLServerApplication.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VTLServerApplication.CSymbol, ByRef ServerTime As String,ByRef TransTage As String)
This event generates after calling the
|The response from the server, Value of typeNewOrderResultEnum.
|The market order requested the price, value of type Double.
|If 1 it means the position was closed automatically,2 means the order transferred to BackOffice side and its pending,
|Number of order when thePosOrOrder = 2 , value of type Integer.
|Operation type,value of type OperationTypeEnum.
|Amount of lots, the value of type Double.
|Trading symbol object, the value of type
|The server time when the operation proceeds, the value of type String.
|The same string that was sent throughNewMarketOrdermethod.
Use this event know the result for the new order