Fetch and Store Historical Prices for Industry Detail View
The next step towards showing historical profit margins for items
is fetching and storing the prices for the raw inputs. This change
does that. It uses the same API that was used to determine rolling
volume average on the resulting item. One side effect is there is
now volume data for all items not just the invented item.
Move UniquePriceItems to Historical Price Array in Industry Detail
The historical price fetch ignores the current date. A different API
provides up-to-date prices. That data is now stored in the historical
array under the current date. For now, only the current set of prices
is used to calculate information.
Strip Out Items Loop in Detail's onLoadIndustryItems
In detail mode, everest will only give one item. There is no reason
too loop through everything. This is leftover from the split from
Industry Overview.
Calculate Information for All Historical Data in Industry Detail
Now all of the historical data (30 days) is calculated for a detailed
item. The caller is only using the current day. Next step is to graph
all of this!