CLI workspace consolidation and Alpaca adapter
Added
- Full Alpaca trading adapter with paper and live support.
- Account management commands (
matchstick account). - Position tracking (
matchstick positions). - Order execution (
matchstick order buy/sell). - Interactive broker setup (
matchstick connect alpaca). - HMAC-SHA256 API key security with secret redaction from logs.
Changed
- Consolidated nested Polylith workspaces into root workspace.
- Converted matchstick-cli to library exposing
run()function. - Switched reqwest to rustls-tls (no OpenSSL dependency).
Fixed
- CLI binary now builds and runs successfully.
- GitHub repository URLs corrected to matchstick-trading org.
Removed
- None.
Why
The previous workspace structure prevented the CLI from building. Alpaca integration enables paper trading for strategy validation.
Impact
Developers can now build the CLI from source. Paper trading is available via Alpaca Markets API.