Skip to content

[codex] Support TQQQ income env overrides#16

Merged
Pigbibi merged 1 commit into
mainfrom
codex/tqqq-income-env-overrides
Apr 15, 2026
Merged

[codex] Support TQQQ income env overrides#16
Pigbibi merged 1 commit into
mainfrom
codex/tqqq-income-env-overrides

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • load optional INCOME_THRESHOLD_USD and QQQI_INCOME_RATIO in LongBridge runtime settings
  • apply those values as tqqq_growth_income runtime overrides
  • sync the income override vars through HK/SG Cloud Run env workflows and document them

Validation

  • bash tests/test_sync_cloud_run_env_workflow.sh
  • git diff --check
  • uv run --with ruff ruff check runtime_config_support.py strategy_runtime.py tests/test_runtime_config_support.py tests/test_strategy_runtime.py
  • PYTHONPATH=.:../UsEquityStrategies/src:../QuantPlatformKit/src uv run --with pytest --with pandas --with numpy --with pytz --with requests --with flask --with pandas-market-calendars --with longport python -m unittest tests.test_runtime_config_support tests.test_strategy_runtime -v

@Pigbibi Pigbibi merged commit 8b61c3e into main Apr 15, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/tqqq-income-env-overrides branch April 15, 2026 19:18
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