summaryrefslogtreecommitdiff
path: root/services/portfolio-manager/tests
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 16:24:30 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 16:24:30 +0900
commit100aa624ad3f8ad466a95f9da8af30f31f77cc9c (patch)
treeef81b9f37872ed462a1f84ea238a130f758782d2 /services/portfolio-manager/tests
parent73eaf704584e5bf3c4499ccdd574af87304e1e5f (diff)
fix: resolve lint issues and final integration fixes
- Fix ambiguous variable name in binance_rest.py - Remove unused volumes variable in volume_profile_strategy.py - Fix import ordering in backtester main.py and test_metrics.py - Auto-format all files with ruff
Diffstat (limited to 'services/portfolio-manager/tests')
-rw-r--r--services/portfolio-manager/tests/test_pnl.py1
-rw-r--r--services/portfolio-manager/tests/test_portfolio.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/services/portfolio-manager/tests/test_pnl.py b/services/portfolio-manager/tests/test_pnl.py
index 4462adc..5f5d807 100644
--- a/services/portfolio-manager/tests/test_pnl.py
+++ b/services/portfolio-manager/tests/test_pnl.py
@@ -1,4 +1,5 @@
"""Tests for PnL calculation functions."""
+
from decimal import Decimal
from portfolio_manager.pnl import calculate_realized_pnl, calculate_unrealized_pnl
diff --git a/services/portfolio-manager/tests/test_portfolio.py b/services/portfolio-manager/tests/test_portfolio.py
index 26319ca..92ff6ca 100644
--- a/services/portfolio-manager/tests/test_portfolio.py
+++ b/services/portfolio-manager/tests/test_portfolio.py
@@ -1,4 +1,5 @@
"""Tests for PortfolioTracker."""
+
from decimal import Decimal
from shared.models import Order, OrderSide, OrderStatus, OrderType