Files
Bithumb/scripts/run.ps1
dsyoon a16c942be4 feat: 운영 시작 시 누락 봉 증분 동기화 및 B-1 실거래 설정
05/06 시작 전 ops_sync로 지연 간격만 증분 보완하고, Phase B-1 live env·ncue 실행 래퍼를 반영한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 13:46:59 +01:00

21 lines
577 B
PowerShell

# DeepCoin CLI wrapper — conda 환경 ncue 고정
# 사용: .\scripts\run.ps1 06_execute_live.py --once
param(
[Parameter(Mandatory = $true, Position = 0)]
[string]$Script,
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$Rest
)
$ErrorActionPreference = "Stop"
$root = Split-Path $PSScriptRoot -Parent
Set-Location $root
$env:PYTHONUNBUFFERED = "1"
$scriptPath = Join-Path $root "scripts" $Script
if (-not (Test-Path $scriptPath)) {
throw "스크립트 없음: $scriptPath"
}
& conda run -n ncue --no-capture-output python $scriptPath @Rest