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

Syntax

 Function StopOffset(ByRef SymbolID As Integer) As Double

Description

This function use to returns value for how much the SLTP 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 stop 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.StopOffset(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