Syntax
Public Function GetMOLOCoverOffsetBuy(ByVal SymbolID As String) As Integer
Description
This function returns the slippage amount of the covered market order with Buy type for certain symbol if the “Cover order as” option is set to “Limit order with offset..”.
Parameter
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.GetMOLOCoverOffsetBuy("GOLD")) End Sub
See Also