Syntax
Public Function Symbol(ByVal Name As String) As Symbol
Public Function Symbol(ByVal Index As Integer) As Symbol
Description
This function gets the symbol by its ID or returns the symbol by its index.
Parameters
Key | Description |
Name | Name of the symbol |
Index | Index of the symbol |
Return value
Returns an object of type Symbol.
Sample
Public sub main () Msgbox (BO.Symbol ("Gold").Ask) End Sub
See Also