255 lines
7.7 KiB
JSON
255 lines
7.7 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "📊 Dashboard (Real-time + Training)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "main_dashboard.py",
|
|
"args": [
|
|
"--port",
|
|
"8051"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"ENABLE_REALTIME_CHARTS": "1",
|
|
"ENABLE_NN_MODELS": "1"
|
|
},
|
|
"preLaunchTask": "Kill Stale Processes"
|
|
},
|
|
{
|
|
"name": "🔬 Backtest Training (30 days)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "main_backtest.py",
|
|
"args": [
|
|
"--start",
|
|
"2024-01-01",
|
|
"--end",
|
|
"2024-01-31",
|
|
"--symbol",
|
|
"ETH/USDT"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "🎯 Unified Training (Realtime)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "training_runner.py",
|
|
"args": [
|
|
"--mode",
|
|
"realtime",
|
|
"--duration",
|
|
"4",
|
|
"--symbol",
|
|
"ETH/USDT"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"CUDA_VISIBLE_DEVICES": "0"
|
|
}
|
|
},
|
|
{
|
|
"name": "🎯 Unified Training (Backtest)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "training_runner.py",
|
|
"args": [
|
|
"--mode",
|
|
"backtest",
|
|
"--start-date",
|
|
"2024-01-01",
|
|
"--end-date",
|
|
"2024-01-31",
|
|
"--symbol",
|
|
"ETH/USDT"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "🏗️ Python Debugger: Current File",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "📝 ANNOTATE Manual Trade Annotation UI",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "ANNOTATE/web/app.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"FLASK_ENV": "development",
|
|
"FLASK_DEBUG": "1"
|
|
},
|
|
"cwd": "${workspaceFolder}",
|
|
"preLaunchTask": "Kill Stale Processes"
|
|
},
|
|
{
|
|
"name": "📈 COB Data Provider Dashboard",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "web/cob_realtime_dashboard.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"COB_BTC_BUCKET_SIZE": "10",
|
|
"COB_ETH_BUCKET_SIZE": "1"
|
|
},
|
|
"preLaunchTask": "Kill Stale Processes"
|
|
},
|
|
{
|
|
"name": "🔥 Real-time RL COB Trader",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "run_realtime_rl_cob_trader.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"CUDA_VISIBLE_DEVICES": "0",
|
|
"PYTORCH_CUDA_ALLOC_CONF": "max_split_size_mb:256",
|
|
"ENABLE_REALTIME_RL": "1"
|
|
},
|
|
"preLaunchTask": "Kill Stale Processes"
|
|
},
|
|
{
|
|
"name": " Integrated COB Dashboard + RL Trading",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "run_integrated_rl_cob_dashboard.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"CUDA_VISIBLE_DEVICES": "0",
|
|
"PYTORCH_CUDA_ALLOC_CONF": "max_split_size_mb:256",
|
|
"ENABLE_REALTIME_RL": "1",
|
|
"COB_BTC_BUCKET_SIZE": "10",
|
|
"COB_ETH_BUCKET_SIZE": "1"
|
|
},
|
|
"preLaunchTask": "Kill Stale Processes"
|
|
},
|
|
{
|
|
"name": "🧪 Run Tests",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "run_tests.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "📊 TensorBoard Monitor",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "run_tensorboard.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
|
|
{
|
|
"name": "🔧 COBY Development Mode (Auto-reload) - main",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "COBY/main.py",
|
|
"args": [
|
|
"--debug",
|
|
"--reload"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1",
|
|
"COBY_API_HOST": "localhost",
|
|
"COBY_API_PORT": "8080",
|
|
"COBY_WEBSOCKET_PORT": "8081",
|
|
"COBY_LOG_LEVEL": "DEBUG"
|
|
},
|
|
"preLaunchTask": "Kill Stale Processes",
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "COBY System",
|
|
"order": 3
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": " Full System (Dashboard + Training)",
|
|
"configurations": [
|
|
"📊 Dashboard (Real-time + Training)",
|
|
"📊 TensorBoard Monitor"
|
|
],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "Main",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "🔥 COB Trading System",
|
|
"configurations": [
|
|
"📈 COB Data Provider Dashboard",
|
|
"🔥 Real-time RL COB Trader"
|
|
],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "COB",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"name": "🌐 COBY Multi-Exchange System (Full Stack)",
|
|
"configurations": [
|
|
"🔧 COBY Development Mode (Auto-reload) - main"
|
|
],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "COBY System",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"name": "🔧 COBY Development Environment",
|
|
"configurations": [
|
|
"🔧 COBY Development Mode (Auto-reload) - main"
|
|
],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "COBY System",
|
|
"order": 7
|
|
}
|
|
}
|
|
]
|
|
} |