Knowledgebase:
MaximumAmount
Posted by Mohammad Rahhal, Last modified by Mohammad Rahhal on 02 February 2016 01:26 PM

Syntax

 Public Function MaximumAmount (ByRef symbolID As Integer) As Double

This method is used to return the maximum amount of lots per deal for specific symbol. 

Parameters

Parameter Description 
SymbolID Trading Symbol ID that want to get the maximum amount for it, value of type Integer

Return value

Returns maximum amount of lots as double value.

Sample

 Private Sub BtnMaximum_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnMaximum.Click

          Dim sym As COSymbol

          sym = API.SymbolByName("EUR/USD")

          Msgbox(API.MaximumAmount(sym.ID)

 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