Commit 47954a2f authored by ntome's avatar ntome Committed by Romain Bignon
Browse files

[boursorama] increase history size to 3 years

parent e7db1d03
......@@ -236,10 +236,10 @@ def get_invest_transactions(self, account, coming):
yield t
def get_regular_transactions(self, account, coming):
# We look for 1 year of history.
# We look for 3 years of history.
params = {}
params['movementSearch[toDate]'] = (date.today() + relativedelta(days=40)).strftime('%d/%m/%Y')
params['movementSearch[fromDate]'] = (date.today() - relativedelta(years=1)).strftime('%d/%m/%Y')
params['movementSearch[fromDate]'] = (date.today() - relativedelta(years=3)).strftime('%d/%m/%Y')
params['movementSearch[selectedAccounts][]'] = account._webid
self.location('%s/mouvements' % account.url.rstrip('/'), params=params)
for t in self.page.iter_history():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment