Search Contract Rules
Returns trading related rules for a specific contract and side.
Request
This endpoint expects an object.
conid
Contract identifier for the interested contract.
isBuy
Side of the market rules apply too. Set to true for Buy Orders, set to false for Sell orders.
modifyOrder
Used to find trading rules related to an existing order.
orderId
Specify the order identifier used for tracking a given order.
Response
An array of objects detailing contract information.
algoEligible
Indicates if the contract can trade algos or not.
allOrNoneEligible
indicates all or non option is eligible for given contract.
costReport
Indicates whether or not a cost report has been requested (Client Portal only).
canTradeAcctIds
Indicates permitted accountIDs that may trade the contract.
error
If rules information can not be received for any reason, it will be expressed here.
orderTypes
Indicates permitted order types for use with standard quantity trading.
ibAlgoTypes
Indicates permitted algo types for use with the given contract.
fraqTypes
Indicates permitted order types for use with fractional trading.
forceOrderPreview
Indicates if the order preview is forced upon the user before submission.
cqtTypes
Indicates accepted order types for use with cash quantity.
orderDefaults
Indicates default order type for the given security type.
orderTypesOutside
Indicates permitted order types for use outside of regular trading hours.
defaultSize
Default total quantity value for orders.
cashSize
Default cash value quantity.
sizeIncrement
Indicates quantity increase for the contract.
tifTypes
Indicates allowed tif types supported for the contract.
tifDefaults
Object containing details about your TIF value defaults. These defaults can be viewed and modified in TWS's within the Global Configuration.
limitPrice
Default limit price for the given contract.
stopPrice
Default stop price for the given contract.
orderOrigination
Order origin designation for US securities options and Options Clearing Corporation
preview
Indicates if the order preview is required (for client portal only)
displaySize
Standard display increment rule for the instrument.
fraqInt
Indicates decimal places for fractional order size.
cashCcy
Indicates base currency for the instrument.
cashQtyIncr
Indicates cash quantity increment rules.
priceMagnifier
Signifies the magnifier of a given contract. This is separate from the price multiplier, and will typically return 'null'
negativeCapable
Indicates if the value of the contract can be negative (true) or if it is always positive (false).
incrementType
Indicates the type of increment style.
incrementRules
Indicates increment rule values including lowerEdge and increment value.
hasSecondary
modTypes
Lists the available order types supported when modifying the order.
increment
Minimum increment values for prices
incrementDigits
Number of decimal places to indicate the increment value.
Errors
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error

