GET api/EquityRiskfreeRate/GetRiskFreeRate?p={p}&t={t}
Get the risk free rate for a given country/curve/period/date/requency/months.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
p | string |
Required |
|
t | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RiskFreeRateName | Description | Type | Additional information |
---|---|---|---|
Date | integer |
None. |
|
Rate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": 1, "Rate": 2.1 }, { "Date": 1, "Rate": 2.1 } ]
application/xml, text/xml
Sample:
<ArrayOfRiskFreeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity"> <RiskFreeRate> <Date>1</Date> <Rate>2.1</Rate> </RiskFreeRate> <RiskFreeRate> <Date>1</Date> <Rate>2.1</Rate> </RiskFreeRate> </ArrayOfRiskFreeRate>