chore(data): bs_fund_wrapper.ps1——sanguo-bs-fund schtask 23:05 wrapper(镜像 bs_eod_wrapper:清代理直连铁律+迁移日志目录+退出码透传),跑 baostock 季频财务+业绩报告(bs_fundamentals.py,数据session P1+P2+P3);wrapper 随本commit进repo,schtask 当场在VPS建(23:05,SYSTEM/HIGHEST,同bs-eod参数),run707已部署脚本本体 [vps]
CI/CD / test (push) Failing after 12m55s
CI/CD / nas-deploy (push) Has been skipped
CI/CD / nas-verify (push) Has been skipped

This commit is contained in:
2026-08-20 12:58:20 +08:00
parent 147a49d781
commit 61421de1d9
+13
View File
@@ -0,0 +1,13 @@
# bs_fund_wrapper.ps1 — sanguo-bs-fund schtask wrapper (23:05 baostock 季频财务+业绩报告)
# 数据补全 P1+P2+P3: profit/dupont 季频回灌+增量 + forecast/express 业绩预告快报
# -> parquet data/fundamentals_baostock/ (读侧按 pubDate<=date 过滤防前视)
$env:http_proxy = ''
$env:https_proxy = ''
$env:all_proxy = ''
Set-Location C:\sanguo_vnpy_v2
$ts = Get-Date -Format 'yyyyMMdd_HHmmss'
$logDir = 'C:\sanguo_vnpy_v2\data\migration_logs'
if (-not (Test-Path $logDir)) { New-Item -ItemType Directory -Path $logDir -Force | Out-Null }
$log = Join-Path $logDir "bs_fund_$ts.txt"
C:\Python310\python.exe -X utf8 C:\sanguo_vnpy_v2\scripts\data_platform\bs_fundamentals.py *>> $log
exit $LASTEXITCODE