Originally posted by Slagpit:
The one hour limit is artificial.
So you are saving ALL of the market data, rather than just min,max,volume in an hour interval? Any reason you chose to ceiling the input? Does it have anything to do with hitting intervals with no sales? I see now that there is a bug where if you search from the earliest to now in one hour intervals on mil strat you only get this:
Current Market: History
Current good: Military Strategy
Current time: Jun 2, 19:17
Time start Time end Min sold price Max sold price Avg price Total volume
May 31, 01:00 May 31, 02:00 $1011 $1011 $1,011.00 39,000
whereas if you do 12 hour intervals you get this:
Current Market: History
Current good: Military Strategy
Current time: Jun 2, 19:16
Time start Time end Min sold price Max sold price Avg price Total volume
May 30, 19:00 May 31, 07:00 $800 $1089 $1,043.21 158,857
May 31, 07:00 May 31, 19:00 $849 $999 $960.67 40,315
May 31, 19:00 Jun 1, 07:00 $800 $899 $842.50 18,750
Jun 1, 19:00 Jun 2, 07:00 $800 $850 $843.45 12,560
I assume that shows the consequence of hitting a blank interval, which I would consider a bug.