Can not simulate strategy online
Hi,
I have a strategy that simulates locally but when I upload it, it fails due to an Illegal DateTime zone id CET? I suspect the following line of code, based on your DateTime example, but which should work and the strategy works fine locally.
DateTime localTime = open.getDate ().toDateTime ( getInstrument ().getStandardMarketHours ().getTimeZone () );
Thanks
MG
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Alexandre on 30 Jul, 2010 12:45 PM
We have identified a random issue with the Date library that we are using. We added some more checks to be delivered in the next release. Hopefully this will solve these kind of issues.
Alexandre
Alexandre closed this discussion on 30 Jul, 2010 12:45 PM.