Syntax
Public Function SetMOSymbolPriceCondition(ByVal SymbolID As String, ByVal Value As WhenToCover) As TransResult
Description
This function setsthe market order price condition 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.SetMOSymbolPriceCondition("GOLD",1)) End Sub
See Also