Syntax
Public Function SetLOAcceptWithPrice(ByVal SymbolID As String, ByVal Value As AcceptOrderWithPrice) As TransResult
Description
This function set the accepted price 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.SetLOAcceptWithPrice("GOLD",1)) End Sub
See Also