Query QT at most 3 quotes/sec to avoid rate limits
parent
933fe980c1
commit
200526da8a
|
@ -21,6 +21,7 @@ log = get_logger('questrade')
|
||||||
|
|
||||||
_refresh_token_ep = 'https://login.questrade.com/oauth2/'
|
_refresh_token_ep = 'https://login.questrade.com/oauth2/'
|
||||||
_version = 'v1'
|
_version = 'v1'
|
||||||
|
_rate_limit = 3 # queries/sec
|
||||||
|
|
||||||
|
|
||||||
class QuestradeError(Exception):
|
class QuestradeError(Exception):
|
||||||
|
|
Loading…
Reference in New Issue