Skip to content
Commit 7fa6e4e4 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon
Browse files

[spirica] Only retrieve invests for 20 first transactions & handle logouts

I factorized the transactions investments into a separated method to
retrieve investments only for the first 20 transactions, otherwise the
spirica website is too slow. The rest of iter_history fetches
transactions from other pages without investments.
I also created a method that checks if we are logged in or not.
The current "transactions_page" page is easier to handle if we make it a
class attribute, so it can be stored and modified by all three methods.
parent 31d7046d
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