Bump platform and requisition throughput on successful trades
This commit is contained in:
@@ -294,7 +294,9 @@ class NordigenClient(BaseClient, AggregatorClient):
|
||||
else:
|
||||
raise Exception(f"No way to get reference: {transaction}")
|
||||
|
||||
async def get_transactions(self, account_id, process=False, pending=False):
|
||||
async def get_transactions(
|
||||
self, account_id, req=None, process=False, pending=False
|
||||
):
|
||||
"""
|
||||
Get all transactions for an account.
|
||||
:param account_id: account to fetch transactions for
|
||||
@@ -307,7 +309,7 @@ class NordigenClient(BaseClient, AggregatorClient):
|
||||
self.normalise_transactions(parsed, state="booked")
|
||||
|
||||
if process:
|
||||
await self.process_transactions(account_id, parsed)
|
||||
await self.process_transactions(account_id, parsed, req=req)
|
||||
if pending:
|
||||
parsed_pending = response["pending"]
|
||||
self.normalise_transactions(parsed_pending, state="pending")
|
||||
|
||||
Reference in New Issue
Block a user