diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:28:14 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:28:14 +0900 |
| commit | 72d29b4798f2594465f384982f0fc932a1f6c880 (patch) | |
| tree | a140c639f8595f9631e49f30f38996044b9d3f5f /services/api/src/trading_api/routers/strategies.py | |
| parent | 23e60d37f8f55386ab7c1378a50db11a9c386dc6 (diff) | |
fix: lint cleanup for API, combined strategy, and formatting
Diffstat (limited to 'services/api/src/trading_api/routers/strategies.py')
| -rw-r--r-- | services/api/src/trading_api/routers/strategies.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/api/src/trading_api/routers/strategies.py b/services/api/src/trading_api/routers/strategies.py index a8d778d..2861eec 100644 --- a/services/api/src/trading_api/routers/strategies.py +++ b/services/api/src/trading_api/routers/strategies.py @@ -1,4 +1,5 @@ """Strategy endpoints.""" + import sys from pathlib import Path @@ -16,6 +17,7 @@ router = APIRouter() async def list_strategies(): """List available strategies.""" from strategy_engine.plugin_loader import load_strategies + strategies_dir = _STRATEGY_DIR / "strategies" strategies = load_strategies(strategies_dir) return [ |
