Knowledgebase:
Commission
Posted by Mohammad Rahhal, Last modified by Mohammad Rahhal on 02 February 2016 01:09 PM

Syntax

 Public Function Commission (ByRef symbolID As Integer) As Double

This method is used to return the commission value for specific symbol. 

Parameters

Parameter Description 
SymbolID Trading symbol ID, value of type Integer

Return value

Returns commission value as double.

Sample

 Private Sub BtnCommission_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCommission.Click

          Dim sym As COSymbol

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

          Msgbox(API.Commission(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