Syntax
Public Function SetMOCoverAs(ByVal SymbolID As String, ByVal Value As Integer) As TransResult
Description
This function setsthe covering type of the market 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.SetMOCoverAs("GOLD",1)) End Sub
See Also