Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to update portfolio and cash Balance #2

Open
att-c opened this issue Jan 6, 2022 · 6 comments
Open

Failing to update portfolio and cash Balance #2

att-c opened this issue Jan 6, 2022 · 6 comments

Comments

@att-c
Copy link

att-c commented Jan 6, 2022

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
Copy link

8986ca6c commented Jan 13, 2022

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
Copy link
Owner

krambox commented Jan 20, 2022

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
Copy link

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

@8986ca6c
Copy link

8986ca6c commented Feb 23, 2022

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
Copy link

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

@hartmood
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants