Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The balance_chart_data endpoint is unpredictably not serving data #141

Open
sgerodes opened this issue Jun 30, 2022 · 0 comments
Open

The balance_chart_data endpoint is unpredictably not serving data #141

sgerodes opened this issue Jun 30, 2022 · 0 comments

Comments

@sgerodes
Copy link
Contributor

Endpoint: GET /ver1/accounts/{account_id}/balance_chart_data

Firing this request on my paper account
...balance_chart_data?date_from=2022-06-23&date_to=2022-06-26
returns one entry
[
{
"date": 1656201600, // this corresponds to June 26, 2022
"usd": 12588657.72,
"btc": 587.721416,
"btc_deposit_amount": 0.0,
"usd_deposit_amount": 0.0
}
]

balance_chart_data?date_from=2022-06-19&date_to=2022-06-26
[
{
"date": 1655596800, // this corresponds to June 19, 2022
"usd": 13396968.91,
"btc": 724.00707,
"btc_deposit_amount": 0.0,
"usd_deposit_amount": 0.0
},
{
"date": 1655856000, // this corresponds to June 22, 2022
"usd": 12895379.22,
"btc": 637.22643,
"btc_deposit_amount": 0.0,
"usd_deposit_amount": 0.0
},
{
"date": 1656201600, // this corresponds to June 26, 2022
"usd": 12588657.72,
"btc": 587.721416,
"btc_deposit_amount": 0.0,
"usd_deposit_amount": 0.0
}
]

The endpoint is ignoring days in between

feisk added a commit that referenced this issue Feb 17, 2025
…ts_for_api_documentation_ui

Adjusting Endpoint and adding Informer components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant