LimitOffset
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 01 July 2019 11:15 AM

Syntax

 Function LimitOffset(ByRef SymbolID As Integer) As Double

Description

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