Closed djudjuu closed 4 years ago
After having a conversation with GS today, I decided to move away from a lot that I did here. APYs will now be computed inside swarmai and passed along with the PortfolioUpdate. This is much cleaner and easier to do. I will redo this PR, making it as slim as possible
actilve_loans
in the get-user-by-email-query. This allows the loans they are involved in (althought not all as due to autoinvestment we might miss some, but its a good start)TODO in next pr:
THOUGHT: we kind of not really use payables or receivables at the moment. We could also just do everything from loan-requests (and the schedule that is saved there). I should have thought a bit longer before starting to code all this. It doesnt hurt to change the stuff that is currently there though..
NOTE: