14 lines
657 B
PowerShell
14 lines
657 B
PowerShell
# PowerShell script to start live trading demo and TensorBoard
|
|
|
|
Write-Host "Starting Trading Bot Live Demo..." -ForegroundColor Green
|
|
|
|
# Create a new PowerShell window for TensorBoard
|
|
Start-Process powershell -ArgumentList "-Command python run_tensorboard.py" -WindowStyle Normal
|
|
|
|
# Wait a moment for TensorBoard to start
|
|
Write-Host "Starting TensorBoard... Please wait" -ForegroundColor Yellow
|
|
Start-Sleep -Seconds 5
|
|
|
|
# Start the live trading demo in the current window
|
|
Write-Host "Starting Live Trading Demo with mock data..." -ForegroundColor Green
|
|
python run_live_demo.py --symbol ETH/USDT --timeframe 1m --model models/trading_agent_best_pnl.pt --mock |