planet-winter/ccxt-ohlcv-fetcher

Fix DBinsertion error on unique constraint when resuming script

planet-winter opened this issue · 0 comments

This should fix the comment in or issue #2:

When resuming with since and since is before existing DB entries the unique constraint of the candles timestamp throws an error.
Handle error by continuing with since = latest DB entry should work.