From 722ec6c19c0c64ea5348c6bc3aefc0061bd96307 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 21:47:59 +0800 Subject: Add dividend slice (3d-8) Book cash dividends to available cash exactly once and reinvest dividends through the shared subscription pipeline, with deterministic scheme idempotency and cross-position isolation. --- qa/run.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qa/run.sh') diff --git a/qa/run.sh b/qa/run.sh index bdfba3f..72af775 100755 --- a/qa/run.sh +++ b/qa/run.sh @@ -89,6 +89,9 @@ log "building API" dotnet build "$ROOT/src/FundLab.Api/FundLab.Api.fsproj" -v q --nologo >/dev/null log "starting API on 127.0.0.1:$API_PORT (stub interpreter, _synthetic payloads)" +# The stub serves NAV through 2026-09-21 and the driver asserts that trade date, so pin the +# trading-date clock (same test hook the xUnit fixture uses) instead of crossing the shanghai cutoff. +FUND_LAB_TEST_TRADE_DATE="2026-09-21" \ FUND_LAB_DATABASE_URL="Host=127.0.0.1;Port=$PG_PORT;Database=$PG_DB;Username=$PG_USER;Password=$PG_PASSWORD;Pooling=false" \ FUND_LAB_AUTH_TOKEN="$AUTH_TOKEN" \ FUND_LAB_AKSHARE_PYTHON="$QA_DIR/stub/fund-lab-python" \ -- cgit v1.2.3