diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:24:30 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:24:30 +0900 |
| commit | 100aa624ad3f8ad466a95f9da8af30f31f77cc9c (patch) | |
| tree | ef81b9f37872ed462a1f84ea238a130f758782d2 /services/portfolio-manager/tests | |
| parent | 73eaf704584e5bf3c4499ccdd574af87304e1e5f (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.py | 1 | ||||
| -rw-r--r-- | services/portfolio-manager/tests/test_portfolio.py | 1 |
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 |
