Syntax
Public Function GetLOLOCoverOffsetBuy(ByVal SymbolID As String) As Integer
Description
This function returns the slippage amount of the covered limit order with Buy type for a 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.GetLOLOCoverOffsetBuy("GOLD")) End Sub
See Also