I would need to ensure the user has a particular instrument in his ninjatrader; I try to use "try...catch" structure but seems adding a non-exist instrument won't throw an error. What is a better way to check the existence of an instrument?
Thanks,
Jacky
Comment