chore: checkpoint before NT8 execution wiring fix
Current state: Strategy builds and loads correctly, passes 240+ tests, backtest (Strategy Analyzer) works but zero trades execute on live/SIM. Root cause identified: NT8OrderAdapter.ExecuteInNT8() is a stub - it logs to an internal list but never calls EnterLong/EnterShort/SetStopLoss/ SetProfitTarget. Fix is ready in TASK_01_WIRE_NT8_EXECUTION.md. Task files added (ready for Kilocode): - TASK_01_WIRE_NT8_EXECUTION.md (CRITICAL - INT8ExecutionBridge + wiring) - TASK_02_EMERGENCY_KILL_SWITCH.md (CRITICAL - kill switch + verbose logging) - TASK_03_WIRE_CIRCUIT_BREAKER.md (HIGH - wire ExecutionCircuitBreaker) Build Status: All 240+ tests passing, zero errors Next: Run Kilocode against TASK_01, TASK_02, TASK_03 in order
This commit is contained in:
@@ -12,7 +12,6 @@ set "CORE_BIN=%PROJECT_ROOT%\src\NT8.Core\bin\Release\net48"
|
||||
set "ADAPTERS_BIN=%PROJECT_ROOT%\src\NT8.Adapters\bin\Release\net48"
|
||||
set "WRAPPERS_SRC=%PROJECT_ROOT%\src\NT8.Adapters\Wrappers"
|
||||
set "BACKUP_ROOT=%SCRIPT_DIR%backups"
|
||||
set "MANIFEST_FILE=%BACKUP_DIR%\manifest.txt"
|
||||
|
||||
echo ============================================================
|
||||
echo NT8 SDK Deployment
|
||||
@@ -47,7 +46,8 @@ if not exist "%NT8_STRATEGIES%" (
|
||||
|
||||
for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd_HHmmss"') do set "STAMP=%%i"
|
||||
set "BACKUP_DIR=%BACKUP_ROOT%\%STAMP%"
|
||||
mkdir "%BACKUP_DIR%" >nul 2>&1
|
||||
set "MANIFEST_FILE=%BACKUP_ROOT%\%STAMP%\manifest.txt"
|
||||
mkdir "%BACKUP_ROOT%\%STAMP%" >nul 2>&1
|
||||
|
||||
echo Backing up existing NT8 SDK files...
|
||||
if exist "%NT8_CUSTOM%\NT8.Core.dll" copy /Y "%NT8_CUSTOM%\NT8.Core.dll" "%BACKUP_DIR%\NT8.Core.dll" >nul
|
||||
@@ -88,6 +88,19 @@ if errorlevel 1 (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set "STRATEGIES_SRC=%PROJECT_ROOT%\src\NT8.Adapters\Strategies"
|
||||
copy /Y "%STRATEGIES_SRC%\NT8StrategyBase.cs" "%NT8_STRATEGIES%\NT8StrategyBase.cs" >nul
|
||||
if errorlevel 1 (
|
||||
echo ERROR: Failed to copy NT8StrategyBase.cs
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
copy /Y "%STRATEGIES_SRC%\SimpleORBNT8.cs" "%NT8_STRATEGIES%\SimpleORBNT8.cs" >nul
|
||||
if errorlevel 1 (
|
||||
echo ERROR: Failed to copy SimpleORBNT8.cs
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Verifying deployment files...
|
||||
if not exist "%NT8_CUSTOM%\NT8.Core.dll" (
|
||||
echo ERROR: Verification failed for NT8.Core.dll
|
||||
|
||||
Reference in New Issue
Block a user