8000 Qtrade methods are not working for me · Issue #85 · jborchma/qtrade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Qtrade methods are not working for me #85

New issue

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

Closed
StormShadow2023 opened this issue Feb 22, 2025 · 1 comment
Closed

Qtrade methods are not working for me #85

StormShadow2023 opened this issue Feb 22, 2025 · 1 comment

Comments

@StormShadow2023
Copy link

I mananged to authenticate to Questrade:
q = Questrade(token_yaml='qt_yaml')

but after that the only method that produced result was:
print(q.access_token)

I just want to retrieve quotes for symbols
Here is what I tried:

aapl_history = q.get_historical_data('AAPL', '2018-08-01', '2018-08-21','OneHour')

print(q.ticker_information('tickers':'APPL' ))

print (q.get_account_balances(account_id=xxxxxxxx) )

print(q.get_quote('tickers':'AAPL'))

print(q.get_account_id)

print (q.get_account_positions(account_id='xxxxxxxx'))

Qcode = q.get_quote(tickers=['AAPL'])

print(Qcode)

Working syntax greatly appreciated, have not had any response from apisupport@questrade.com

@brianjmurrell
Copy link

Did you ever figure this out? I seem to be able to use the token I get from Questrade only once and then I start getting exceptions trying to use it a second (or more) time. I was for a while able to use the access_token.yml when the QT access token I got was failing but now that doesn't even seem to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0