INNER CODE UNIT · Python
QuoteInput
YichengYang-Ethan/oracle3 · oracle3/mcp_server/server.py:169
class QuoteInput(BaseModel):
"""One contract's prices in dollars per contract. A missing ask is derived from the opposite side's bid."""
market_id: str = Field(
description='Label for this contract in the result, such as its ticker or market id.'
)
venue: Venue = Field(
default='kalshi',
description="Venue whose fee schedule applies: 'kalshi' (default) or 'polymarket'.",
)
yes_bid: float | None = Field(
default=None, description='Best YES bid in dollars (0-1).'
)
yes_ask: float | None = Field(
default=None,
description='Best YES ask in dollars (0-1). If omitted, 1 - no_bid is used.',
)
no_bid: float | None = Field(