From fd619de1d36d4185136e4c38b335819c7ad2cc5c Mon Sep 17 00:00:00 2001 From: gaardiolor Date: Sun, 27 Oct 2024 22:00:52 +0100 Subject: [PATCH] typo --- freqtrade/exchange/hyperliquid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/hyperliquid.py b/freqtrade/exchange/hyperliquid.py index 3218d2dc1..d7c64e462 100644 --- a/freqtrade/exchange/hyperliquid.py +++ b/freqtrade/exchange/hyperliquid.py @@ -111,7 +111,7 @@ class Hyperliquid(Exchange): # The key thing here is 'Half of the initial margin at max leverage'. # A bit ambiguous, but this interpretation leads to accurate results: # 1. Start from the position value - # 2. Assume max leverage, calculate the initial margin by deviding the position value + # 2. Assume max leverage, calculate the initial margin by dividing the position value # by the max leverage # 3. Divide this by 2 maintenance_margin_required = position_value / max_leverage / 2