mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
typo
This commit is contained in:
@@ -111,7 +111,7 @@ class Hyperliquid(Exchange):
|
|||||||
# The key thing here is 'Half of the initial margin at max leverage'.
|
# The key thing here is 'Half of the initial margin at max leverage'.
|
||||||
# A bit ambiguous, but this interpretation leads to accurate results:
|
# A bit ambiguous, but this interpretation leads to accurate results:
|
||||||
# 1. Start from the position value
|
# 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
|
# by the max leverage
|
||||||
# 3. Divide this by 2
|
# 3. Divide this by 2
|
||||||
maintenance_margin_required = position_value / max_leverage / 2
|
maintenance_margin_required = position_value / max_leverage / 2
|
||||||
|
|||||||
Reference in New Issue
Block a user