Open GoogleCodeExporter opened 9 years ago
These functions need to be updated...
/functions/update_exchange_indicators.sql
/functions/update_moving_averages.sql
These tables...
tables/cart.sql
/tables/holdings.sql
/tables/moving_averages.sql
/tables/quotes.sql
/tables/sector_quotes.sql
/tables/trade_dates.sql
/tables/trades.sql
/tables/watch.sql
This works and preserves the existing data
alter table quotes alter column volume type integer;
Original comment by peter.st...@1ab.ltd.uk
on 1 Apr 2010 at 10:19
Bummer,
trader=# alter table quotes alter column volume type integer;
ERROR: integer out of range
Original comment by peter.st...@1ab.ltd.uk
on 1 Apr 2010 at 10:25
I didn't read the error well enough last night. It was an overflow in adjusted
close,
not volume. It looks like yahoo data corruption, not a real issue.
Original comment by peter.st...@1ab.ltd.uk
on 2 Apr 2010 at 8:42
would this lead to needing to cast integer to numeric when using volume in
other calculations?
Original comment by peter.st...@1ab.ltd.uk
on 31 Dec 2010 at 11:18
Original issue reported on code.google.com by
peter.st...@1ab.ltd.uk
on 1 Apr 2010 at 10:14