Skip to content

feat: start defaults to the dashboard manifest#170

Merged
ArthurBernard merged 1 commit into
developfrom
feat/start-default-manifest
Jul 5, 2026
Merged

feat: start defaults to the dashboard manifest#170
ArthurBernard merged 1 commit into
developfrom
feat/start-default-manifest

Conversation

@ArthurBernard

Copy link
Copy Markdown
Owner

With no --config, trading-bot start now loads configs/dashboard.yaml when it exists — the same persistent manifest dashboard reads and rewrites — so a bare trading-bot start --serve runs and serves the managed book with no path to remember (it prints using default manifest configs/dashboard.yaml so what governs trading is always explicit). Absent that file the bare paper-config fallback is unchanged, and run/serve keep requiring an explicit path (auto-picking up real strategies there would surprise).

Requested by the maintainer after #167 (start --serve honouring the manifest ui: section) made the config the single thing left to type.

🤖 Generated with Claude Code

A bare 'trading-bot start --serve' now runs and serves the same book the
dashboard manages: with no --config, the daemon loads configs/dashboard.yaml
when it exists (announcing it), else keeps the bare paper-config fallback.
run/serve deliberately keep requiring an explicit path — silently picking up
a manifest that declares real strategies there would surprise.
@ArthurBernard ArthurBernard merged commit cdf3c4b into develop Jul 5, 2026
3 checks passed
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