Am developing a strategy which relies on getting 4 parameters specific to each instrument from an external DB (MS Access). So within the external DB I have ~200 stocks with their associated 4 parameters. As a traverse through the ~200 stocks during backtesting, I need to determine which instrument I’m on to make the correct call to fetch the corresponding record in Access. Is the Initialize() method called once per instrument tested? So if I were backtesting 200 instruments, it would be called once for each new instrument being tested? And second, what property can be accessed within Initialize() to tell me what instrument I’m on? Need this as a parameter to pull the right values from my Access DB.
Many thanks for the help!
Comment