¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

reqHistoricalData formatDate with 2 means UTC for returned times but not for endTime?


 

Passing formatDate=2 to reqHistoricalData() returns times that are in the UTC timezone.

But it appears that even if the passed in value for endDateTime is timezone-aware and in UTC.

Is this correct and should it be? The formatIBDatetime() function prints it in the proper timezone but I suspect that TWS is treating it as local.

Join [email protected] to automatically receive all group messages.