Knowledgebase:
GetMOLOCoverOffsetSell
Posted by Mohammad Rahhal, Last modified by BahaaAldeen Al Momani on 22 April 2015 02:09 PM

Syntax

Public Function GetMOLOCoverOffsetSell(ByVal SymbolID As String) As Integer

This function returns the slippage amount of the covered market order with Sell type for certain symbol if the “cover order as” option is set to “limit order with offset…”

Parameters

Key Description 
SymbolID ID of the symbol

Return value

Returns an integer value of type integer, when passing an invalid symbol ID it returns -1.

Sample

Public Sub main()

 Msgbox (BO.GetMOLOCoverOffsetSell("GOLD"))

  End Sub


     See Also


Back to VBL 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