alpacahq / alpacahq/Alpaca-API

bars API returns wrong response sometimes

オープン
#159 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
173
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

Possibly related to issue [#139](https://github.com/alpacahq/Alpaca-API/issues/139)

The following endpoint returns a non-deterministic response.

https://data.alpaca.markets/v1/bars/minute?symbols=TSLA&limit=1&until=2021-01-25T15:30:00.000Z

Expected behavior: API should always return a single bar whose time is 2021-01-25, 15:29:00 pm.
Actual behavior: Sometimes, (seemingly randomly,) the API will wrongly return the following:

{
"TSLA": [
{
"t": 1611588480,
"o": 887.935,
"h": 887.935,
"l": 885.73,
"c": 886.27,
"v": 3319
}
]
}

which is the bar for 2021-01-25, 15:28:00 pm not 15:29:00 pm.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。