2
0
forked from kodorvan/stcs

The function allows you to write the number 0

This commit is contained in:
algizn97
2025-10-10 13:59:04 +05:00
parent 58397c4723
commit 9f9a79bf81

View File

@@ -174,7 +174,7 @@ async def calculate_total_budget(
"""
total = 0
for step in range(max_steps):
set_quantity = quantity * (martingale_factor**step)
set_quantity = quantity * (martingale_factor ** step)
if commission_fee_percent == 0:
# Commission fee is not added to the position size
r_quantity = set_quantity