Spaces:
Running
Running
Upload Quasar_axrvi_ranker.py
Browse files- Quasar_axrvi_ranker.py +3 -8
Quasar_axrvi_ranker.py
CHANGED
|
@@ -5489,16 +5489,11 @@ class QuasarAXRVIBridge:
|
|
| 5489 |
logger.info(
|
| 5490 |
f"π° Closed {trade.asset} (no-cid fallback) | reward={reward:+.6f} | "
|
| 5491 |
f"pnl={trade.realized_pnl:+.4f} | "
|
| 5492 |
-
f"portfolio_dd={self.portfolio_risk_mgr._current_drawdown():.2%}"
|
| 5493 |
-
)
|
| 5494 |
-
# ADD THIS LINE AFTER IT:
|
| 5495 |
-
logger.info(
|
| 5496 |
-
f"INFO | TRADE | {trade.asset} | "
|
| 5497 |
-
f"TRADE CLOSED | ID={trade_id} | "
|
| 5498 |
-
f"pnl={trade.realized_pnl:+.4f} | "
|
| 5499 |
f"exit_price={exit_price:.5f} | "
|
| 5500 |
-
f"
|
| 5501 |
)
|
|
|
|
|
|
|
| 5502 |
# ββ Position monitoring β Optimal Stopping [S8] βββββββββββββββββββββββββββββββββββ
|
| 5503 |
|
| 5504 |
async def monitor_positions(self) -> None:
|
|
|
|
| 5489 |
logger.info(
|
| 5490 |
f"π° Closed {trade.asset} (no-cid fallback) | reward={reward:+.6f} | "
|
| 5491 |
f"pnl={trade.realized_pnl:+.4f} | "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5492 |
f"exit_price={exit_price:.5f} | "
|
| 5493 |
+
f"portfolio_dd={self.portfolio_risk_mgr._current_drawdown():.2%}"
|
| 5494 |
)
|
| 5495 |
+
# ADD THIS LINE AFTER IT:
|
| 5496 |
+
|
| 5497 |
# ββ Position monitoring β Optimal Stopping [S8] βββββββββββββββββββββββββββββββββββ
|
| 5498 |
|
| 5499 |
async def monitor_positions(self) -> None:
|