pymatgen
pymatgen copied to clipboard
Outdated costdb_elements.csv, active elemental price updates for CostAnalysis?
The costdb_elements.csv is vastly outdated, especially for metal prices. If we look at Rh today, its currently at $600000/kg compared to the $20000/kg price obtained from WolframAlpha in 2013, about a 3000% increase. However even if we update all the elements with the most recent costs, there's still a lot of volatility in price points, e.g. Rh was going for nearly 1mil/kg just a few months ago. Is there a way to implement a pymatgen interface with specific websites like lme.com or anywhere that keeps a daily update on prices so a user has the option of using a static price point provided by a more up-to-date csv file in pymatgen or they use an api-like object (maybe using something like beautifulsoup) that does analysis based on currently reported prices.
If there is an API that you can use to use latest prices, by all means implement an interface to it. I think there is an XML feed that can be used quite easily.