DeleteLimitOrder
Posted by Mohammad Rahhal, Last modified by Mohammad Alawneh on 08 July 2019 11:36 AM

Syntax

Public Function DeleteLimitOrder(ByVal OrderId As Integer) As CallingResultsEnum

Description

This function used to Delete the existing pending order, After DeleteSLTPOrder method executes the DeleteLimitOrderResult event fires.
To get result from the server after accepted the order you have to consume OnOrderTrade event.

Parameters

Parameter  Description 
OrderID Order number to be deleted, value of type Integer.

Return value

Returns value of type CallingResultsEnum. If the request sent to server successfully it will return SuccessResult.

Sample

 Public Sub Main () 

          Dim Result as VTLGeneral.callingResultsEnum

      Dim Order_ as VTLGeneral.Order             

      Order_= ClientCode.OrderByIndex (1)

      Result = ClientCode.DeleteLimitOrder (Order_.OrderID)

      GUI.msgDialog(Result)

  End Sub

See Also


Back to VTL Server Script 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