-
Notifications
You must be signed in to change notification settings - Fork 24
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
Key error on placing order #10
Comments
Hi, It seems you are getting an empty response from the order submit request. Are other functions working fine, for example |
Thanks for your quick response. Since I posted this I've tried a couple of things. When I use the same code to trade AAPL (rather than BABL and others which I'm experiencing the error on) it works fine. When I try to trade BABL via the IBKR app I get the following message: "No Trading Permission, Customer Ineligible; Ineligibility reasons: |
I see. According to the error message, the response from the server is empty. I will look into if there are ways to get the warning message printed out. |
Thanks so much! I've also raised a ticket with IBKR to find out why I'm getting the error |
I have had this same issue when submitting multiple orders. I get no error when the list contains only one order, however. No clue why this is, the error I get back is a blank string... |
I am having the same issue. My account is IBKR lite. Does the account type matter? |
Interactive Broker must have updated their policy. See Jan 2023 update at https://interactivebrokers.github.io/cpwebapi/changelog. I am also having a similar problem when submitting an order. I get a "not authenticated" error. For now, I added an assertion error line that will spit out the correct error statement. However, I feel the ultimate cause of the issue is interconnected with the authentication server somehow (in my case ibeam). |
Hi, when I try to create an order I'm getting this message (not always). It's something to do with how it's handling the response during the "reply all" flow (if the response has no position 0). Any thoughts please? Thanks!
The text was updated successfully, but these errors were encountered: