GET api/EquityIndexSummary/Get?d={d}&ids={ids}&t={t}
Get equity index summaries for a given date and list of index ids.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
d |
The pricing date in format of YYYYMMDD, i.e. 20130920. |
string |
Required |
ids |
List of index ids, separated by collon, i.e. 1:2:15. |
string |
Required |
t |
Authentication token. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EquityIndexSummaryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Date | integer |
None. |
|
Level | decimal number |
None. |
|
UnitReturn | decimal number |
None. |
|
Volatility | decimal number |
None. |
|
DividendYield | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Date": 2, "Level": 3.1, "UnitReturn": 4.1, "Volatility": 5.1, "DividendYield": 6.1 }, { "Id": 1, "Date": 2, "Level": 3.1, "UnitReturn": 4.1, "Volatility": 5.1, "DividendYield": 6.1 } ]
application/xml, text/xml
Sample:
<ArrayOfEquityIndexSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity"> <EquityIndexSummary> <Date>2</Date> <DividendYield>6.1</DividendYield> <Id>1</Id> <Level>3.1</Level> <UnitReturn>4.1</UnitReturn> <Volatility>5.1</Volatility> </EquityIndexSummary> <EquityIndexSummary> <Date>2</Date> <DividendYield>6.1</DividendYield> <Id>1</Id> <Level>3.1</Level> <UnitReturn>4.1</UnitReturn> <Volatility>5.1</Volatility> </EquityIndexSummary> </ArrayOfEquityIndexSummary>