feat: add pip-installable aura-trade-sdk and real TradingView advanced chart

This commit is contained in:
2026-10-22 23:23:47 +06:00
parent acb3d7aa3c
commit 1a73a731a1
15 changed files with 544 additions and 43 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ class SMCScanner:
# 4. Liquidity Sweep (25 Pts)
# Check if price swept Asian Low and is now bouncing up (Bullish Setup)
swept_liquidity = False
if asian_low > 0 and current_price > asian_low and (candles_15m[-1]["low"] < asian_low or candles_15m[-2]["low"] < asian_low):
if asian_low > 0 and current_price > asian_low and len(candles_15m) >= 2 and (candles_15m[-1]["low"] < asian_low or candles_15m[-2]["low"] < asian_low):
swept_liquidity = True
liq_pts = 25
liq_msg = f"Asian Low (${asian_low}) Swept & Reclaimed ✅"