Skip to content

Fix cash-only platform default to cash only - #97

Merged
Pigbibi merged 1 commit into
mainfrom
fix/cash-only-default-true
Jun 27, 2026
Merged

Fix cash-only platform default to cash only#97
Pigbibi merged 1 commit into
mainfrom
fix/cash-only-default-true

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Correct platform default for unset *_CASH_ONLY_EXECUTION variables: true (cash only), matching QuantPlatformKit.resolve_cash_only_execution_env(default=True) and platform runtime configs.
  • Update summary label from 平台默认:允许融资 to 平台默认:仅用现金.

Test plan

  • node tests/strategy_switch_worker_validation.mjs
  • Verify summary shows 平台默认:仅用现金 when variable unset

Made with Cursor

QuantPlatformKit and all equity platforms default cash_only_execution to true when the env var is missing; align console summary and effective-value logic with that behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit 4cef125 into main Jun 27, 2026
1 of 2 checks passed
@Pigbibi
Pigbibi deleted the fix/cash-only-default-true branch June 27, 2026 17:35
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