GET api/EquityETF/GetEtfTopN/{id}?d={d}&n={n}&t={t}

Get Equity ETF Top N holdings for n > 0, or the ETF sector distribution for n = 0;

Request Information

URI Parameters

NameDescriptionTypeAdditional information
d

The pricing date, in format of YYYYMMDD.

integer

Required

id

The BondEdge ID associated with the interested Equity ETF.

unsigned integer

Required

n

Top N, ordered by their weights.

integer

Required

t

Authentication token.

string

Required

Body Parameters

None.

Response Information

Resource Description

The list of holdings.

Collection of EquityEtfHolding
NameDescriptionTypeAdditional information
BE_Id

unsigned integer

None.

Issuer

string

None.

Weight

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BE_Id": 1,
    "Issuer": "sample string 2",
    "Weight": 3.1
  },
  {
    "BE_Id": 1,
    "Issuer": "sample string 2",
    "Weight": 3.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfEquityEtfHolding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity">
  <EquityEtfHolding>
    <BE_Id>1</BE_Id>
    <Issuer>sample string 2</Issuer>
    <Weight>3.1</Weight>
  </EquityEtfHolding>
  <EquityEtfHolding>
    <BE_Id>1</BE_Id>
    <Issuer>sample string 2</Issuer>
    <Weight>3.1</Weight>
  </EquityEtfHolding>
</ArrayOfEquityEtfHolding>