Skip to content

Commit

Permalink
Default SinceTransactionID now gets updated when get_account_details()
Browse files Browse the repository at this point in the history
is called.
  • Loading branch information
jamespeterschinner committed Jan 18, 2018
1 parent ac18343 commit fe9a98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions async_v20/interface/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async def _rest_response(self, response, endpoint, enable_rest, method_name):
if endpoint == GETAccountID:
# Means account_details was requested. So we catch the account state on the way through.
# This occurs during initialization of OandaClient.
self.default_parameters.update({SinceTransactionID: last_transaction_id})
self._account = response.account

return response
Expand Down

0 comments on commit fe9a98d

Please sign in to comment.