pricing

Download Pricing

Calculate bond price from yield or yield from price and return Excel file.

Specify exactly ONE of 'price' or 'yield' in the request body.

post/api/instrument/{instrument_id}/calculate/download

Request

  • Base URL
    https://api.harmoney.in
  • URL
    https://api.harmoney.in/api/instrument/{instrument_id}/calculate/download
  • Auth
    API key in header x-api-key

Path parameters

instrument_idinteger required

Request body

as_of_datestring date required

Settlement date for pricing calculation

termination_type'maturity' | 'call' | 'put'

Termination type exposed via datafeed APIs.

calculation_type'eay' | 'bey' | 'mmy'

Calculation type for yield.

put_datestring date nullable

Optional put date to use for put termination calculations.

call_datestring date nullable

Optional call date to use for call termination calculations.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.