alpacahq / alpacahq/Alpaca-API

portfolio history endpoint not returning data

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

描述

**Describe the bug**
the portfolio history endpoint is returning an empty array for the 1D time period

Response:
{
"timestamp": [],
"equity": [],
"profit_loss": [],
"profit_loss_pct": [],
"base_value": 0,
"timeframe": "1Min"
}

**To Reproduce**
Steps to reproduce the behavior:
https://paper-api.alpaca.markets/v2/account/portfolio/history?period=1D

**Expected behavior**
wonderful portfolio history data

**Screenshots**
also not displaying in alpaca dashboard

![Screen Shot 2021-04-09 at 10 36 52 AM](https://user-images.githubusercontent.com/34407628/114197329-37da7900-9920-11eb-9154-ad28cd266a3a.png)

**Desktop (please complete the following information):**
N/A

**Smartphone (please complete the following information):**
N/A

**Additional context**
N/A

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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