alpacahq / alpacahq/Alpaca-API

Timestamps may have 6 numbers for milliseconds instead of 3 (as ISO specs)

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

説明

Sometimes I find timestamps in different format, sometimes with 3 numbers for the milliseconds, and other times 6. Look at this order:

```json
{
"symbol": "AERI",
"submitted_at": "2019-11-06T22:24:44.596018Z",
"canceled_at": "2019-11-06T22:26:49.661Z",
"filled_avg_price": null,
"created_at": "2019-11-06T22:24:44.613307Z",
"replaced_at": null,
"expired_at": null,
"asset_id": "c9910301-f604-49ae-8363-7ac64fea99b3",
"type": "limit",
"updated_at": "2019-11-06T22:26:49.699988Z",
"stop_price": null,
"order_type": "limit",
"side": "buy",
"filled_qty": "0",
"replaces": null,
"asset_class": "us_equity",
"replaced_by": null,
"limit_price": "20.01",
"time_in_force": "day",
"extended_hours": true,
"qty": "96",
"filled_at": null,
"failed_at": null,
"status": "canceled"
}
```

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

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

評価

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

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

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