Skip to content

feat: add isolated Schwab paper command consumer - #319

Merged
Pigbibi merged 1 commit into
mainfrom
feat/shared-paper-command-consumer
Aug 27, 2026
Merged

feat: add isolated Schwab paper command consumer#319
Pigbibi merged 1 commit into
mainfrom
feat/shared-paper-command-consumer

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an isolated, default-disabled /paper-command-consumer endpoint for Schwab
  • use the shared durable command lifecycle with exact platform/account/strategy binding
  • lazily read portfolio and quotes only after a command has passed that binding
  • reconcile value targets, cash, total equity, managed symbols, shorts, and quote data before recording a paper proposal
  • document the dedicated PAPER, disabled-runtime, cash-only, and dedicated-storage requirements

Verification

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=/tmp/qsl-qpk-paper-command-binding/src:. python -m pytest -q tests/test_paper_execution_command_consumer.py tests/test_paper_execution_admission.py
  • PYTHONPATH=/tmp/qsl-qpk-paper-command-binding/src:. python -m compileall -q application/paper_execution_command_consumer.py main.py runtime_config_support.py tests/test_paper_execution_command_consumer.py
  • git diff --check

The local full configuration test requires pandas, which is not installed on this constrained VPS; CI installs declared dependencies. No deployment, Cloud Run configuration, Scheduler, broker execution port, or live order path is changed.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 9471547 into main Aug 27, 2026
1 check passed
@Pigbibi
Pigbibi deleted the feat/shared-paper-command-consumer branch August 27, 2026 04:30
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