Referência da APIDados de mercadoÍndices
Composição teórica do índice (carteira teórica vigente)
AuthorizationBearer <token>
In: header
Path Parameters
codestring
Código do índice, ex.: IBOV, IFIX, IBXX, SMLL, IDIV, ICON. Ver listIndices.
Length
1 <= lengthResponse Body
curl -X GET "https://api.databolsa.com/v1/indices/string/composition"{
"code": "string",
"effective_date": "string",
"components": [
{
"ticker": "string",
"weight": 0,
"theoretical_quantity": 0
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}