instruments

Get Default Pricing Parameters

Changed on

Get default pricing parameters for an instrument.

Returns both calculation type and termination type:

Calculation Type:

  • MMY (Money Market Yield): For single cashflow within 1 year
  • BEY (Bond Equivalent Yield): For government bonds
  • EAY (Effective Annual Yield): Default for other instruments

Termination Type:

  • CALL: For callable bonds (uses next call date)
  • PUT: For puttable bonds (uses next put date)
  • MATURITY: For standard bonds (uses maturity date)
get/api/instrument/{instrument_id}/default-pricing-parameters

Request

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

Path parameters

instrument_idinteger required

Response

Successful Response

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

Calculation type for yield.

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

Termination type exposed via datafeed APIs.

as_of_datestring date required

The as-of date for pricing (T+1 working day)

Changes