summaryrefslogtreecommitdiff
path: root/services/strategy-engine/strategies/combined_strategy.py
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:28:14 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:28:14 +0900
commit72d29b4798f2594465f384982f0fc932a1f6c880 (patch)
treea140c639f8595f9631e49f30f38996044b9d3f5f /services/strategy-engine/strategies/combined_strategy.py
parent23e60d37f8f55386ab7c1378a50db11a9c386dc6 (diff)
fix: lint cleanup for API, combined strategy, and formatting
Diffstat (limited to 'services/strategy-engine/strategies/combined_strategy.py')
-rw-r--r--services/strategy-engine/strategies/combined_strategy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/strategy-engine/strategies/combined_strategy.py b/services/strategy-engine/strategies/combined_strategy.py
index e99dfdf..507ef5b 100644
--- a/services/strategy-engine/strategies/combined_strategy.py
+++ b/services/strategy-engine/strategies/combined_strategy.py
@@ -1,6 +1,6 @@
"""Combined strategy that aggregates signals from multiple sub-strategies."""
+
from decimal import Decimal
-from typing import Optional
from shared.models import Candle, Signal, OrderSide
from strategies.base import BaseStrategy
@@ -12,6 +12,7 @@ class CombinedStrategy(BaseStrategy):
Each sub-strategy votes BUY (+weight), SELL (-weight), or HOLD (0).
The combined signal fires when the weighted sum exceeds a threshold.
"""
+
name: str = "combined"
def __init__(self) -> None: