Hi I noticed today that SMCI is missing split data 10-1 with endpoint
Hey The announcement endpoint you’re asking about is going to be deprecated. I highly recommend using the new corporate actions endpoint instead, which does return your missing split:
$ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \
"${APCA_API_DATA_URL}/v1beta1/corporate-actions?symbols=SMCI&start=2024-01-01" | jq .
{
"corporate_actions": {
"forward_splits": [
{
"ex_date": "2024-10-01",
"new_rate": 10,
"old_rate": 1,
"process_date": "2024-10-01",
"symbol": "SMCI"
}
]
},
"next_page_token": null
}
will we still have an announcement type endpoint? I don’t want to check every stock for a split
I don’t want to check every stock for a split
What do you mean? The new endpoint supports a lot of filters, you don’t need to query by symbol, that was just an example.
thanks I’ll take a look.