From 201122f53f6b0f5d7f75e1383fbd6b5181a379d1 Mon Sep 17 00:00:00 2001 From: Johannes Visintini Date: Tue, 27 Jun 2017 08:50:35 +0200 Subject: [PATCH] Fix holdings example (#9) I didn't had the chance to test it finally, but you will get this error if you want to execute the example: ``` f.get_holdings() Traceback (most recent call last): File "", line 1, in f.get_holdings() TypeError: get_holdings() missing 1 required positional argument: 'account' ``` According to this line https://github.com/raphaelm/python-fints/blob/master/fints/client.py#L168, this should fix the bug. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3f32b8..74390dc 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ print([t.data for t in statement]) # ``data`` property # for retrieving the holdings of an account: -holdings = f.get_holdings() +holdings = f.get_holdings(accounts[0]) # holdings contains a list of namedtuple values containing ISIN, name, # market_value, pieces, total_value and valuation_date as parsed from # the MT535 message. -- 2.39.5