Syntax
Public Function SetLOCoverAs(ByVal SymbolID As String, ByVal Value As Integer) As TransResult
Description
This function sets the covering type of the limit order for a certain symbol.
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.SetLOCoverAs("GOLD",1)) End Sub
See Also