3commas-io / 3commas-official-api-docs

Official Documentation for the 3commas APIs
https://3commas.io
247 stars 87 forks source link

The balance_chart_data endpoint is unpredictably not serving data #141

Open sgerodes opened 2 years ago

sgerodes commented 2 years ago

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