Fix missing return statement in calculate_position_size

This commit is contained in:
justin committed 2026-02-09 08:55:38 -07:00
1 parent 30847aa237
commit 94a9a02962
1 file changed
+1
+1
View File
@@ -808,6 +808,7 @@ def calculate_position_size(equity, stop_loss, current_price):
if position_value > max_position:
position_value = max_position
debug_print(f"Position capped at 25% equity: ${position_value:.2f}")
return position_value
class ORFVGState:
def __init__(self):