Knowledgebase:
NewSLTPOrderResult
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 04 July 2018 02:15 PM

Syntax

Event NewSLTPOrderResult(Result As NewOrderResultEnum, OrderID As Long, ServerTime As String,
TransTag As String)

This event is raised after calling the NewSLTPOrder or ManualManualNewSLTPOrder methods with server responce result.

Parameters

Part Description
Result Server response,value of type NewOrderResultEnum
OrderId Requested order number,value of type Integer.
ServerTime Requested order time,value of type String
TransTag Same string value which sent by NewSLTPOrder or ManualNewSLTPOrder methods


Sample

 
 Public WithEvents m_oBOAPI 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 = m_oBOAPI.NewSLTPOrder(1234567, 1.0, 1233.5, 1255,"")

        MsgBox(result)

    End Sub

 

 Private Sub m_oBOAPI_NewSLTPOrderResult(ByRef Result As VertexFXBOAPI11.NewOrderResultEnum, ByRef OrderID As Integer, ByRef ServerTime As String,TransTag as String) Handles m_oBOAPI.NewLimitOrderResult

        MsgBox(Result)

    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