I am trying to look up the symbol if a security by security ID and it keeps giving me this error:
Error The sid(id) method takes one parameter.
The code is just:
sid(mlh_sid)
In this case, mlh_sid is the security's sid which is stored in an array.
The sid() function seems to have no issue with me using the drop-down white box in the IDE to select a specific security, however. It just doesn't seem to like me passing it the sid in a variable. Is there any particular reason this doesn't work?