GET api/EquityUnitReturn/GetUnitReturns?p={p}&t={t}
Retrieve the list of unit returns for a given be_id/index_id/end_date/frequency/timespan.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
p | string |
Required |
|
t | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EquityUnitReturnName | Description | Type | Additional information |
---|---|---|---|
Date | integer |
None. |
|
Return | decimal number |
None. |
|
IndexReturn | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": 1, "Return": 2.1, "IndexReturn": 3.1 }, { "Date": 1, "Return": 2.1, "IndexReturn": 3.1 } ]
application/xml, text/xml
Sample:
<ArrayOfEquityUnitReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity"> <EquityUnitReturn> <Date>1</Date> <IndexReturn>3.1</IndexReturn> <Return>2.1</Return> </EquityUnitReturn> <EquityUnitReturn> <Date>1</Date> <IndexReturn>3.1</IndexReturn> <Return>2.1</Return> </EquityUnitReturn> </ArrayOfEquityUnitReturn>