krambox / moneymoney-ibkr

Inofficial IBKR Extension for MoneyMoney and EUR Accounts.
MIT License
14 stars 1 forks source link

Failing to update portfolio and cash Balance #2

Open att-c opened 2 years ago

att-c commented 2 years ago

After successfully setting up the account, I intermittently get the following error message when trying to update transactions and account balances: ibkr.lua:76: attempt to index local 'positions' (a nil value)

8986ca6c commented 2 years ago

for me this sometimes also occurs. It seems to be only when I am updating the specific account (but it's not always an error then). Just update the account that is the parent of these two accounts. Then it works more reliable. I named them

CapTrader FlexQuery |---- IBKR Open Positions |---- IBKR Cash Balance

So when I update CapTrader Flex Query, then everything works. Hope this helps

krambox commented 2 years ago

Yes, the Flex query must have the relevant fields as described in the readme. Currently I have only German screens. If someone has English screens, I will add the instructions.

8986ca6c commented 2 years ago

My comment seems to be outdated. Can'T get it working anymore. I'll check the fields in the Felx Query later..

8986ca6c commented 2 years ago

I have the same settings as stated in the Wiki. But there is one section wehre I dont't find instructions. See enclosed

grafik

These are the settings that worked earlier. See comment below for the right settings.

8986ca6c commented 2 years ago

If you choose "Optional", "XML" and "last Business day" (or similar, in German it's "Letzter Geschäftstag") it mmediately worked for me.

hartmood commented 2 years ago

My error in the MoneyMoney protocol is: cash="xxx.2" cashLong="xxx.2" cashShort="0" ibkr.lua:136: attempt to index local 'summary' (a nil value)