Skip to content

Explain small-account cash substitution#98

Merged
Pigbibi merged 1 commit into
mainfrom
fix/small-account-cash-note
May 27, 2026
Merged

Explain small-account cash substitution#98
Pigbibi merged 1 commit into
mainfrom
fix/small-account-cash-note

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • use shared small-account cash compatibility notes from QuantPlatformKit
  • add zh/en Telegram buy-note text when an unbuyable risk target keeps cash instead of rebuying BOXX
  • pin QuantPlatformKit to ceb84a3

Tests

  • PYTHONPATH=/home/ubuntu/Projects/QuantPlatformKit-small-cash/src:. python -m pytest tests/test_rebalance_service.py -k 'strategy_target_keeps_cash_when_only_risk_target_is_unbuyable or target_gap_below_one_share_does_not_report_cash_shortage or safe_haven_target_below_cash_substitute_threshold_stays_cash' -q
  • ruff check application/execution_service.py notifications/telegram.py tests/test_rebalance_service.py
  • py_compile targeted files

@Pigbibi Pigbibi force-pushed the fix/small-account-cash-note branch from ef2e42a to 8d68f35 Compare May 27, 2026 14:37
@Pigbibi Pigbibi merged commit 6d6a785 into main May 27, 2026
1 check passed
@Pigbibi Pigbibi deleted the fix/small-account-cash-note branch May 27, 2026 14:39
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