@orderly.network/hooks 0.0.49 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1114,7 +1114,7 @@ var usePositionStream = (symbol, options) => {
1114
1114
  const MMR = positions.MMR({
1115
1115
  baseMMR: info("base_mmr"),
1116
1116
  baseIMR: info("base_imr"),
1117
- IMRFactor: accountInfo.imr_factor[item.symbol],
1117
+ IMRFactor: accountInfo.imr_factor[info("base")],
1118
1118
  positionNotional: item.notional,
1119
1119
  IMR_factor_power: 4 / 5
1120
1120
  });