Skip to content

Add safe-haven cash substitution threshold#5

Merged
Pigbibi merged 1 commit into
mainfrom
codex/safe-haven-cash-threshold-20260521
May 21, 2026
Merged

Add safe-haven cash substitution threshold#5
Pigbibi merged 1 commit into
mainfrom
codex/safe-haven-cash-threshold-20260521

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a 000 safe-haven cash substitution threshold for BOXX/BIL targets
  • keep sub-threshold safe-haven target values as cash before Firstrade execution
  • document the new FIRSTRADE_SAFE_HAVEN_CASH_SUBSTITUTE_THRESHOLD_USD setting

Tests

  • .venv/bin/python -m pytest tests/test_execution_service.py tests/test_rebalance_service.py

@Pigbibi Pigbibi merged commit e4906b4 into main May 21, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/safe-haven-cash-threshold-20260521 branch May 21, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant