ETF Benchmark Indices
ETF benchmark index directory with publisher, publication date, base date, base points, and adjustment cycle. Refreshed every Monday.
GET /v2/etf/indicesParameters
NameTypeRequiredDescription
symbolstringNoIndex code, e.g. 000300.SHpub_datestringNoPublication date, YYYYMMDDbase_datestringNoBase date, YYYYMMDDResponse Fields
FieldTypeDescription
symbolstringIndex codeindx_namestringFull index nameindx_csnamestringShort index namepub_party_namestringIndex publisherpub_datestringPublication date, YYYYMMDDbase_datestringBase date, YYYYMMDDbpnumberBase pointsadj_circlestringConstituent adjustment cycleAPI Example
cURL
curl -H "X-API-Key: YOUR_KEY" \
"https://asharehub.com/v2/etf/indices?symbol=000300.SH"Python SDK
from asharehub import AShareHub
client = AShareHub(api_key="YOUR_KEY")
df = client.etf_indices(symbol="000300.SH")
print(df.head())Sample Data
returns a pandas.DataFrame
| symbol | indx_name | indx_csname | pub_party_name | pub_date | base_date | bp | adj_circle |
|---|---|---|---|---|---|---|---|
| 000300.SH | 沪深300指数 | 沪深300 | 中证指数有限公司、上海证券交易所 | 20050408 | 20041231 | 1000 | 半年 |
| 000852.SH | 中证1000指数 | 中证1000 | 中证指数有限公司 | 20141017 | 20041231 | 1000 | 半年 |
| 000905.SH | 中证小盘500指数 | 中证500 | 中证指数有限公司 | 20070115 | 20041231 | 1000 | 半年 |
Esc