Syntax
Public Function LimitPrice (ByVal TransType As OperationTypeEnum, ByVal SymbolId As Integer) As Double.
Description
This function is used to get the limit price according tooperation 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