Knowledgebase:
LimitPrice
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 25 October 2017 11:27 AM

Syntax

ReadOnly Property LimitPrice(ByRef OrderType As OperationTypeEnum, ByRef SymbolID As Integer) As Double

This property is used to return the valid limit price according to the given order type that wants to take on a specific symbol. 

Parameters

Part Description 
OrderType Operation type , value of type OperationTypeEnum.
SymbolID Trading symbol Id, value of type integer

Sample

 Private Sub LimitPrice_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LimitPrice.Click

   Dim Price As Double

   Price = API.LimitPrice(VertexGeneral.OperationTypeEnum.BuyType,6)'for EUR/USD

   Msgbox("Limit price value = " & Price )

 End Sub

 


See Also


VertexFX Client 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