[bugfix] volatility calculation using corrected fields

This commit is contained in:
2026-02-24 09:14:06 -05:00
parent 8ea53accde
commit ef8f48cdf9

View File

@@ -55,7 +55,7 @@ const conditionOrder = ["Near Mint", "Lightly Played", "Moderately Played", "Hea
const conditionAttributes = (price: any) => { const conditionAttributes = (price: any) => {
const volatility = (() => { const volatility = (() => {
const current = price; const current = price?.marketPrice;
const low = price?.lowestPrice; const low = price?.lowestPrice;
const high = price?.highestPrice; const high = price?.highestPrice;