We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IB has changed the timezone format in TWS 10.17+ and now it requires us to provide timezone at the end of the dates. See info here: https://forum.amibroker.com/t/please-look-at-timeinforce-part-of-place-order-code/31980/3
So instead:
let details = await api.getHistoricalData({ contract: Contract.stock('AAPL'), endDateTime: '20200308 12:00:00, duration: '1 D', barSizeSetting: '1 min', whatToShow: 'TRADES', useRth: 1, formatDate: 1 });
Valid date format is now:
let details = await api.getHistoricalData({ contract: Contract.stock('AAPL'), endDateTime: '20200308 12:00:00 US/Eastern', // or for UTC: 20200308-12:00:00 duration: '1 D', barSizeSetting: '1 min', whatToShow: 'TRADES', useRth: 1, formatDate: 1 });
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
IB has changed the timezone format in TWS 10.17+ and now it requires us to provide timezone at the end of the dates.
See info here: https://forum.amibroker.com/t/please-look-at-timeinforce-part-of-place-order-code/31980/3
So instead:
Valid date format is now:
The text was updated successfully, but these errors were encountered: