alpacahq / alpacahq/Alpaca-API

{"code":40110000,"message":"request is not authorized"} for corporate_actions

未关闭
#224 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
173
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**

https://github.com/alpacahq/Alpaca-API/issues/118

I got the following error. I see a similar error above. I am not sure the error that I see is temporary or it is because this end point is not for a free API key. Could anybody clarify?

**To Reproduce**

$ curl -s --compressed -H "APCA-API-KEY-ID: key_id" -H "APCA-API-SECRET-KEY: secret_key" "https://api.alpaca.markets/v2/corporate_actions/announcements?ca_types=Split&since=2022-01-01&until=2022-03-01"
{"code":40110000,"message":"request is not authorized"}

**Expected behavior**
No error.

**Screenshots**
NA

**Desktop (please complete the following information):**
Not relevant.

**Smartphone (please complete the following information):**
Not relevant.

**Additional context**
Not relevant.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。