Knowledgebase:
LimitOffset
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 02 August 2016 12:15 PM

Syntax

 Function LimitOffset(ByRef SymbolID As Integer) As Double

This function use to returns value for how much the limit order prices should be far from the market price for specific symbol.

Parameters

Parameter Description 
SymbolID Trading symbol number ,value of type Integer.

Return value

Returns limit offset as double value.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub BtnOffset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btnoffset.Click

    Dim sym As COSymbol

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

    Msgbox(BOAPI.LimitOffset(sym.ID))

 End Sub


See Also


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