QuantRocket

Change DB Configuration


#1

Is it possible to change a DBs start date? I have a DB with a set start date and want to change it to an earlier start date. If it’s possible, how would I go about doing it?

Thanks,

Walter


#2

It’s not possible to change the db configuration. You have to create a new database instead. If you don’t want to re-collect the data you already have, you’re free to collect the earlier date range in a new database and combine them at query time by passing the old and new db codes to get_prices. However I would be cautious about doing that if prices for your instruments are mutable (e.g. due to split adjustments for equities) as you might get jumps in your data if the two databases aren’t equally up-to-date.