summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-21 21:47:59 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-21 21:47:59 +0800
commit722ec6c19c0c64ea5348c6bc3aefc0061bd96307 (patch)
tree65fc127dcb808e05ab332d15332b5cb69ccf6620 /qa
parent98c41c37896a41c5f2f15ed187e55ab617735342 (diff)
downloadfund-lab-722ec6c19c0c64ea5348c6bc3aefc0061bd96307.tar.gz
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.
Diffstat (limited to 'qa')
-rwxr-xr-xqa/run.sh3
1 files changed, 3 insertions, 0 deletions
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" \