Skip to content

Error - Confirm Mandatory Cap Price #135

@rmalh

Description

@rmalh

Describe the bug

A SELL order sent via my script at 4:16pm ET, i.e. after regular trading hours, but it was rejected with the following error. My sell price was only a few cents off the current price at the time, so the error looks unwarranted. I contacted IBKR but they couldn't find my order, it seems it didn't even reach their servers.

Error: No answer found for question: "

Confirm Mandatory Cap Price

To avoid trading at a price that is not consistent with a fair and orderly market, IB may set a cap (for a buy order) or floor (for a sell order). THIS MAY CAUSE AN ORDER THAT WOULD OTHERWISE BE MARKETABLE NOT TO BE TRADED."

Steps to Reproduce

Steps to reproduce the behaviour:
1.
2.
3.
4.

Expected Behaviour

Order should have been sent to the IB servers and accepted at their end.

Additional context

Possible Solution

Your Environment

  • IBind version: 0.1.20
  • Python version (e.g. 3.10): 3.13.3
  • Authentication method (Gateway, IBeam or OAuth): IBeam 0.5.8
  • Operating System and version: Ubuntu 25.04
  • Link to your project/code (if public) :

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions