@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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1123,7 +1123,7 @@ var usePositionStream = (symbol, options) => {
|
|
|
1123
1123
|
const MMR = futures.positions.MMR({
|
|
1124
1124
|
baseMMR: info("base_mmr"),
|
|
1125
1125
|
baseIMR: info("base_imr"),
|
|
1126
|
-
IMRFactor: accountInfo.imr_factor[
|
|
1126
|
+
IMRFactor: accountInfo.imr_factor[info("base")],
|
|
1127
1127
|
positionNotional: item.notional,
|
|
1128
1128
|
IMR_factor_power: 4 / 5
|
|
1129
1129
|
});
|