post https://example.com/api/instrument//calculate
Calculate bond price from yield or yield from price.
Specify exactly ONE of 'price' or 'yield' in the request body. The API will calculate the missing value.
Args: instrument_id: ID of the instrument request: Pricing calculation request (must specify price XOR yield) session: Database session
Returns: PricingResponse with calculated values and accrued interest details