Syntax
Public Function SetLOLOCoverOffsetSell(ByVal SymbolID As String,ByVal value As Integer) As TransResult
Description
This function sets the slippage amount of the covered limit 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 |
Value | The value of property |
Return value
Returns an integer value of type integer, when passing an invalid symbol ID it returns -1.
Sample
Public Sub main() Msgbox (BO.SetLOLOCoverOffsetSell("GOLD",1)) End Sub
See Also