Skip to main content
POST
Preview contract selection

Body

application/json

Preview what a contract selection config would select for a symbol.

symbol
string
required
Required string length: 1 - 10
Pattern: ^[A-Za-z0-9.]+$
config
RuleBasedContractConfig · object

Rule-based options contract selection.

Maps directly to ContractCriteria in contract_recommender.py via contract_selection_bridge.config_to_criteria().

Response

Successful Response

Response containing contract recommendations.

symbol
string
required
direction
string
required
criteria
Criteria · object
required
primary_recommendation
ContractRecommendation · object | null
required

Recommended options contract with full details.

alternatives
ContractRecommendation · object[]
no_suitable_contracts_reason
string | null