That discussion is awaiting moderation.

Can not simulate strategy online

skaak's Avatar

skaak

28 Jul, 2010 08:09 PM via web

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

  1. Support Staff 2 Posted by Alexandre on 30 Jul, 2010 12:45 PM

    Alexandre's Avatar

    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

  2. Alexandre closed this discussion on 30 Jul, 2010 12:45 PM.

Comments are currently closed for this discussion. You can start a new one.