Knowledgebase:
NewPosResult
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 04 July 2018 02:06 PM

Syntax

 Public Event NewPosResult(Result As NewOrderResultEnum, OpenTicket As Integer, TransTag As String)

This event fire after calling the NewPosition method with server response result.

Parameters

Part Description 
Result Server result of new position of type NewOrderResultEnum
OpenTicket The ticket order number, value of type Integer
TransTag The same string sent by NewPosition

Sample

 
 Private WithEvents API1 As CVertexFXBOAPI

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim result As VertexFXBOAPI11.CallingResultsEnum

        result = API1.NewPosition(1234, VertexGeneral11.OrdersTypeEnum.MarketDataType, 1.0, 62, 1250)

         MsgBox(result.ToString)

     End Sub


    Private Sub API1_NewPosResult(ByRef Result As VertexFXBOAPI11.NewOrderResultEnum) Handles API1.NewPosResult

         MsgBox(Result.ToString)

     End Sub
 


See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions