I´m working with parameters for years in NT7 using for doubles, ints and strings. All works ok.
Today I tried to use the string in parameters also for adding instruments so that we dont need to change it in the code. But when enabling the script I get the error-message
14.06.2019 03:51:02 Strategy The strategy 'TxMultiLSv12/64276884a61e42b8b5fac9e16171dd7b' has called the Add() method with an invalid instrument. Either 'instrument1' does not exist in the Instrument Manager or the specified exchange has not been configured.
Of course instrument1 doest not exist, but in parameters I fill eg NQ 06-19 and its causing the message.
Is there something special when adding instruments with string from parameters to Initialize?
Thank you!
Tony
Comment