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

Reply ID not found #35

Open
outrageousinc-dev opened this issue Dec 17, 2024 · 1 comment
Open

Reply ID not found #35

outrageousinc-dev opened this issue Dec 17, 2024 · 1 comment
Assignees

Comments

@outrageousinc-dev
Copy link

Hi there!

I'm using ibeam and ibind with the ibkr API. I keep getting this error when placing orders:

ibind.support.errors.ExternalBrokerError: IbkrClient: response error Result(data=None, request={'url': 'https://ibkr-gateway.agent.local:5000/v1/api/iserver/reply/7adec048-1dd9-42d6-bcf0-e52698293303', 'json': {'confirmed': True}}) :: 400 :: Bad Request :: 
{
    "error": "reply id not found: '7adec048-1dd9-42d6-bcf0-e52698293303'"
}

Any idea why this could be?

in

File "/usr/local/lib/python3.11/site-packages/ibind/base/rest_client.py", line 189, in _process_response
raise ExternalBrokerError(f'{self}: response error {result} :: {response.status_code} :: {response.reason} :: {response.text}', status_code=response.status_code) from e

Thanks in advance, and have a great day! :)

@Voyz
Copy link
Owner

Voyz commented Dec 18, 2024

Hey @outrageousinc-dev thanks for trying out IBeam and IBind and reporting your issue 👍

This error indicates that in the order placement question/answer exchange your client has encountered a situation in which giving an answer to a question was not recognised by IBKR's servers.

It is quite strange, as this answer ID (what you see after reply) is read directly from the question we've received.

Does this happen to you every time you submit an order? Was this only one instance?

@Voyz Voyz self-assigned this Dec 18, 2024
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

2 participants