[bugfix] volatility calculation using corrected fields
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user