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
I am trying to get 1min bars since 06-10-2021:
res = ts_client.stream_bars_start_date( symbol='AMZN', interval=1, unit='Minute', start_date='06-10-2021', session='Default' )
generates:
BAD REQUEST - STATUS CODE: 401 RESPONSE URL: https://sim-api.tradestation.com/v2/stream/barchart/AMZN/1/Minute/06-14-2021?sessionTemplate=Default RESPONSE HEADERS: {'Date': 'Tue, 15 Jun 2021 07:29:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-store, no-cache, max-age=0', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Pragma': 'no-cache', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Accel-Expires': '0', 'X-Way-Backend': 'webapi_bars_new'}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to get 1min bars since 06-10-2021:
res = ts_client.stream_bars_start_date(
symbol='AMZN',
interval=1,
unit='Minute',
start_date='06-10-2021',
session='Default'
)
generates:
BAD REQUEST - STATUS CODE: 401
RESPONSE URL: https://sim-api.tradestation.com/v2/stream/barchart/AMZN/1/Minute/06-14-2021?sessionTemplate=Default
RESPONSE HEADERS: {'Date': 'Tue, 15 Jun 2021 07:29:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-store, no-cache, max-age=0', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Pragma': 'no-cache', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Accel-Expires': '0', 'X-Way-Backend': 'webapi_bars_new'}
The text was updated successfully, but these errors were encountered: