bramton / degiro

Very basic unofficial Python API for DeGiro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Negative portfolio value gives error

123m321 opened this issue · comments

I have a portfolio with a negative position value. It appears the code can't handle it :
JSONDecodeError: Expecting value

My accounts with positive portfolio value work flawless.
(you can get a total negative portfolio value with option positions - it's not a loss making account)