s4w3d0ff / python-poloniex

Poloniex API wrapper for Python 2.7 & 3
https://poloniex.com/support/api
GNU General Public License v2.0
568 stars 166 forks source link

Data requested is too large. `resolution=auto` #200

Open s4w3d0ff opened 5 years ago

s4w3d0ff commented 5 years ago

When trying to request chartdata that starts 13 years ago (even tho there is not that much data).

    raise PoloniexError(out['error'])
poloniex.PoloniexError: Data requested is too large. Please specify a longer period or a shorter date range, or use resolution=auto to automatically calculate the shortest supported period for your date range.

Might be worth looking into adding resolution=auto to returnChartData

s4w3d0ff commented 5 years ago

seems around 3-4 months is the max for 5 min candles