MiniXC / simple-back

A simple daily python backtester that works out of the box.
Mozilla Public License 2.0
59 stars 12 forks source link

YahooFinanceSource Caching is a bit opaque #34

Open meltyness opened 2 years ago

meltyness commented 2 years ago

I didn't see this anywhere in the docs, but if the cache pulls a miss, it caches the miss somewhere. To anyone else seeing something like "data not available" on subsequent runs:

bt.prices.clear_cache()

Should fix it right up.

MiniXC commented 2 years ago

I've encountered this before as well. I will have a look, this shouldn't be too hard to fix.