🚀 Unified NinjaTrader Bridge v1.4

⚡ Single Database + Priority System

Chicago Time: 2026-03-02 10:51:15 CST

🔗 WebSocket Status:

Connected Clients: 3

Active Users: pavi1, raghu777, rez12

🔗 Unified Database Benefits:

✅ Single Database: ninja_unified.db (shared with auth server)

✅ No Sync Issues: Auth and bridge use same data

✅ Auto License Keys: Created when user is added

✅ Real-time Updates: Changes reflected immediately

✅ Priority System: Main-level fields override raw_message

✅ Enhanced Logging: All data in one location

🎯 Priority System (NEW):

🥇 Main Level Priority: strategy, symbol, quantity

🥈 Raw Message Priority: action, price, account, aname

💡 Benefit: Override TradingView values without changing alerts!

Example: Set "symbol": "MNQ1!" at main level to override raw_message

📡 TradingView JSON Format:

{
  "aname": "my_alert",
  "strategy": "pbot",     ← MAIN LEVEL (Priority)
  "symbol": "MNQ1!",      ← MAIN LEVEL (Priority)
  "quantity": 5,          ← MAIN LEVEL (Priority)
  "account": "Simjumoam",
  "raw_message": "{{strategy.order.alert_message}}"
}

Webhook URL: https://zbyte.ai/webhook/{LICENSE_KEY}

🔗 Integration:

Auth Server: https://zbyte.ai

Bridge Status: API Status

Health Check: Health

🚀 v1.4 New Features:

📊 Unified Database: Single source of truth for all data

🎯 Priority System: Main-level fields override raw_message

⚡ Auto Sync: No manual license key creation needed

🔄 Smart Fallbacks: Uses raw_message if main level missing

📝 Enhanced Logging: Shows which source was used

🛡️ Better Error Handling: Comprehensive validation