Possible bug in Chapter08/lib/data.py
educob opened this issue · comments
Eduardo Cobain commented
Hi.
in line 33 it asks if prev_vals is not None but then it's not used.
if fix_open_price and prev_vals is not None:
ppo, pph, ppl, ppc, ppv = vals
I think line 34 should be:
ppo, pph, ppl, ppc, ppv = prev_vals
Thanks.
Transigent commented
I just came here to suggest exactly the same fix.
Max Lapan commented
Thanks! Fixed in master