Skip to content

Commit 1e8252f

Browse files
committed
test: simplify hyperliquid test
1 parent 361b346 commit 1e8252f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/exchange/test_hyperliquid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def test_hyperliquid_dry_run_liquidation_price(default_conf, mocker):
299299
position["contracts"],
300300
position["collateral"],
301301
position["leverage"],
302-
position["collateral"],
302+
0.0, # wallet balance not used in isolated margin mode
303303
[],
304304
)
305305
assert pytest.approx(liq_price_returned, rel=0.0001) == liq_price_calculated

0 commit comments

Comments
 (0)