Hi everybody!
I'm using Python API to request historical data.
A typical statement is:
client.reqHistoricalData( 1, contract, "20200522 00:29:59", '1800 S', '5 secs', 'TRADES', False, 1, False, [])
I receive 360 barData objects and that's fine but they start from "20200521 19:30:00" (instead of "20200022 00:00:00"). Last data point is at 19:59:55 (instead of 00:29:59).
Which timezone is used to report data?
Also, if I request:
client.reqHistoricalData( 1, contract, "20200522 00:59:59", '1800 S', '5 secs', 'TRADES', False, 1, False, [])
I receive another set of data but still starting at "20200521 19:30:00".
Obviously my time specification is bad. I tried to add "EST" timezone. Same result.
What am I doing wrong?
I'm using Python API to request historical data.
A typical statement is:
client.reqHistoricalData( 1, contract, "20200522 00:29:59", '1800 S', '5 secs', 'TRADES', False, 1, False, [])
I receive 360 barData objects and that's fine but they start from "20200521 19:30:00" (instead of "20200022 00:00:00"). Last data point is at 19:59:55 (instead of 00:29:59).
Which timezone is used to report data?
Also, if I request:
client.reqHistoricalData( 1, contract, "20200522 00:59:59", '1800 S', '5 secs', 'TRADES', False, 1, False, [])
I receive another set of data but still starting at "20200521 19:30:00".
Obviously my time specification is bad. I tried to add "EST" timezone. Same result.
What am I doing wrong?