LimitPrice
Posted by Angham Al-Banawien, Last modified by Abdullah Almasharfah on 07 December 2018 06:45 PM

Syntax

Public Function LimitPrice (ByVal TransType As OperationTypeEnum, ByVal SymbolId As Integer) As Double.

This function is used to get the limit price according to operation type and trading symbol. 

Parameters

Parameter  Description 
TransType

Operation type. It can be one of OperationTypeEnum.

SymbolId

Symbol number to get the limit price for. Value of type is Integer.

Return value

Returns limit price as value of Double.

Sample

  Public Sub main()   

     Dim limitPrice as Double = ClientCode.LimitPrice (VTLGeneral.OperationTypeEnum.BuyType, 6)

    GUI.MsgDialog(“Limit Price for EUR/USD” & limitPrice) 

  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