Skip to content

refPriceBandFromEnv

refPriceBandFromEnv(env): RefPriceBand

REF_PRICE_MIN, REF_PRICE_MAX (decimal USDM per NIGHT), REF_PRICE_MAX_MOVE_BPS and REF_PRICE_CONFIRM_POLLS. A value that does not parse throws: a NaN bound would stop quoting (or never confirm a move) without saying why.

Parameter Type
env Record<string, string | undefined>

RefPriceBand