henrydatei / wikifolio-api

A Python API-Wrapper for the unofficial wikifolio API
GNU General Public License v3.0
17 stars 4 forks source link

High Watermark (high_watermark) does not exist on fund of funds like (wf000c050m) #10

Closed samohtx closed 9 months ago

samohtx commented 9 months ago

High Watermark throws an exception on fund of funds like wf000c050m because this property is not available on fund of funds.

Best regards, Thomas

henrydatei commented 9 months ago

Can confirm this is an issue. Fixed it by returning None if high watermark "exists" in the data but is set to None. The Error is only thrown when something goes completely wrong