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.