diff --git a/CHANGELOG.md b/CHANGELOG.md index 84730e2..2a71cdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.0-rc.1] - 2026-03-04 + +### Added +- **Dashboard MVP** (#157) + - Complete dashboard redesign with comfy-table formatting + - Real-time order book depth display + - Recent trades panel showing BUY/SELL activity + - Enhanced account balance formatting with local timezone + - Watch mode with graceful exit handling (Ctrl+C) + - Instant refresh: fetch data before clearing screen + - Dashboard title includes version number + +### Changed +- **Dashboard Output Structure** + - Reorganized display sections for improved clarity + - Enhanced order display formatting + - Better refresh label formatting + - Cleaner table alignment + +### Fixed +- **Dashboard Data Flow** + - Improved dashboard and portfolio command handling + - Enhanced trade handling and output formatting + - Removed duplicate tests module in output.rs + ## [0.6.3-rc.3] - 2026-03-03 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 9526f4b..ff6981e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "standx-cli" -version = "0.6.3-rc.3" +version = "0.7.0-rc.1" edition = "2021" authors = ["Kimi Claw"] description = "OpenClaw-first AI Agent trading toolkit - natural language to execution for any AI Agent" diff --git a/RELEASE_NOTES_v0.7.0-rc.1.md b/RELEASE_NOTES_v0.7.0-rc.1.md new file mode 100644 index 0000000..62477e3 --- /dev/null +++ b/RELEASE_NOTES_v0.7.0-rc.1.md @@ -0,0 +1,79 @@ +# Release Notes v0.7.0-rc.1 + +## 🚀 Dashboard MVP + +This release introduces the **Dashboard MVP** - a complete redesign of the real-time trading dashboard with enhanced visualization and user experience. + +--- + +## ✨ What's New + +### Dashboard MVP (#157) + +The dashboard has been completely rebuilt with the following features: + +- **Comfy-table Formatting**: Beautiful, aligned tables for better readability +- **Real-time Order Book Depth**: Visualize market depth directly in the dashboard +- **Recent Trades Panel**: See live BUY/SELL activity with color coding +- **Local Timezone Support**: All timestamps displayed in your local timezone +- **Graceful Exit**: Press Ctrl+C to exit watch mode cleanly +- **Instant Refresh**: Data is fetched before clearing screen to reduce flicker +- **Version in Title**: Dashboard title now shows the current version + +### Command Short Aliases (#137) + +Faster typing with short command aliases: + +| Full Command | Short Alias | +|--------------|-------------| +| `standx market ticker` | `standx m t` | +| `standx market depth` | `standx m d` | +| `standx portfolio snapshot` | `standx p s` | +| `standx dashboard --watch` | `standx d -w` | + +--- + +## 🐛 Bug Fixes + +- Fixed dashboard and portfolio command handling +- Enhanced trade handling and output formatting +- Removed duplicate tests module + +--- + +## 📋 Installation + +### Homebrew + +```bash +brew tap wjllance/standx-cli +brew install standx-cli +``` + +### Binary Download + +Download pre-built binaries from [GitHub Releases](https://github.com/wjllance/standx-cli/releases/tag/v0.7.0-rc.1). + +--- + +## 🔄 Migration Guide + +No breaking changes. All existing commands continue to work as before. + +--- + +## 📚 Documentation + +- [Full Documentation](https://github.com/wjllance/standx-cli/tree/main/docs) +- [Changelog](https://github.com/wjllance/standx-cli/blob/main/CHANGELOG.md) + +--- + +## 🙏 Contributors + +Thanks to all contributors who made this release possible! + +--- + +*Released: 2026-03-04* +*Version: v0.7.0-rc.1* diff --git a/clawhub-publish/SKILL.md b/clawhub-publish/SKILL.md index d85b328..7788562 100644 --- a/clawhub-publish/SKILL.md +++ b/clawhub-publish/SKILL.md @@ -1,6 +1,6 @@ --- name: standx-cli -description: "Crypto trading CLI for StandX exchange v0.4.2. Use when users need to: (1) Query crypto market data (prices, order books, klines, funding rates), (2) Manage trading orders (create, cancel, view), (3) Check account balances, positions, and trade history, (4) Stream real-time market data via WebSocket, (5) Manage leverage and margin settings. Supports BTC, ETH, SOL, XRP and other trading pairs." +description: "Crypto trading CLI for StandX exchange v0.7.0-rc.1. Use when users need to: (1) Query crypto market data (prices, order books, klines, funding rates), (2) Manage trading orders (create, cancel, view), (3) Check account balances, positions, and trade history, (4) Stream real-time market data via WebSocket, (5) Manage leverage and margin settings, (6) Monitor real-time dashboard, (7) View portfolio summary. Supports BTC, ETH, SOL, XRP and other trading pairs." metadata: { "openclaw": @@ -76,8 +76,25 @@ View BTC price: ```bash standx market ticker BTC-USD +# Or use short alias +standx m t BTC-USD ``` +### Command Short Aliases + +StandX CLI supports short aliases for faster typing: + +| Full Command | Short Alias | +|--------------|-------------| +| `standx market ticker` | `standx m t` | +| `standx market depth` | `standx m d` | +| `standx market kline` | `standx m k` | +| `standx account balances` | `standx a b` | +| `standx account positions` | `standx a p` | +| `standx account orders` | `standx a o` | +| `standx portfolio snapshot` | `standx p s` | +| `standx dashboard --watch` | `standx d -w` | + ## Authentication Most commands require authentication. StandX CLI supports multiple secure authentication methods. @@ -226,6 +243,43 @@ standx order cancel-all BTC-USD standx trade history BTC-USD --from 7d ``` +## Dashboard & Portfolio (Auth required) + +### Real-time Dashboard + +Interactive trading dashboard with auto-refresh: + +```bash +# Launch dashboard with auto-refresh (watch mode) +standx dashboard --watch + +# Dashboard for specific symbols +standx dashboard --symbols BTC-USD,ETH-USD + +# Dashboard with custom refresh interval (seconds) +standx dashboard --watch --interval 5 +``` + +**Dashboard Features:** +- Real-time account balance display +- Active positions with PnL +- Open orders summary +- Order book depth visualization +- Recent trades panel (BUY/SELL) +- Auto-refresh with graceful exit (Ctrl+C) + +### Portfolio Snapshot + +View portfolio summary and performance: + +```bash +# Portfolio snapshot +standx portfolio snapshot + +# Short alias +standx p s +``` + ## Leverage & Margin (Auth required) ```bash diff --git a/openclaw/SKILL.md b/openclaw/SKILL.md index 7fbed90..7788562 100644 --- a/openclaw/SKILL.md +++ b/openclaw/SKILL.md @@ -1,6 +1,6 @@ --- name: standx-cli -description: "Crypto trading CLI for StandX exchange v0.6.3-rc.1. Use when users need to: (1) Query crypto market data (prices, order books, klines, funding rates), (2) Manage trading orders (create, cancel, view), (3) Check account balances, positions, and trade history, (4) Stream real-time market data via WebSocket, (5) Manage leverage and margin settings, (6) Monitor real-time dashboard, (7) View portfolio summary. Supports BTC, ETH, SOL, XRP and other trading pairs." +description: "Crypto trading CLI for StandX exchange v0.7.0-rc.1. Use when users need to: (1) Query crypto market data (prices, order books, klines, funding rates), (2) Manage trading orders (create, cancel, view), (3) Check account balances, positions, and trade history, (4) Stream real-time market data via WebSocket, (5) Manage leverage and margin settings, (6) Monitor real-time dashboard, (7) View portfolio summary. Supports BTC, ETH, SOL, XRP and other trading pairs." metadata: { "openclaw": @@ -76,8 +76,25 @@ View BTC price: ```bash standx market ticker BTC-USD +# Or use short alias +standx m t BTC-USD ``` +### Command Short Aliases + +StandX CLI supports short aliases for faster typing: + +| Full Command | Short Alias | +|--------------|-------------| +| `standx market ticker` | `standx m t` | +| `standx market depth` | `standx m d` | +| `standx market kline` | `standx m k` | +| `standx account balances` | `standx a b` | +| `standx account positions` | `standx a p` | +| `standx account orders` | `standx a o` | +| `standx portfolio snapshot` | `standx p s` | +| `standx dashboard --watch` | `standx d -w` | + ## Authentication Most commands require authentication. StandX CLI supports multiple secure authentication methods. @@ -226,6 +243,43 @@ standx order cancel-all BTC-USD standx trade history BTC-USD --from 7d ``` +## Dashboard & Portfolio (Auth required) + +### Real-time Dashboard + +Interactive trading dashboard with auto-refresh: + +```bash +# Launch dashboard with auto-refresh (watch mode) +standx dashboard --watch + +# Dashboard for specific symbols +standx dashboard --symbols BTC-USD,ETH-USD + +# Dashboard with custom refresh interval (seconds) +standx dashboard --watch --interval 5 +``` + +**Dashboard Features:** +- Real-time account balance display +- Active positions with PnL +- Open orders summary +- Order book depth visualization +- Recent trades panel (BUY/SELL) +- Auto-refresh with graceful exit (Ctrl+C) + +### Portfolio Snapshot + +View portfolio summary and performance: + +```bash +# Portfolio snapshot +standx portfolio snapshot + +# Short alias +standx p s +``` + ## Leverage & Margin (Auth required) ```bash diff --git a/tests/integration/cli_commands.rs b/tests/integration/cli_commands.rs index 3f3a007..3bb5a4d 100644 --- a/tests/integration/cli_commands.rs +++ b/tests/integration/cli_commands.rs @@ -11,7 +11,7 @@ fn test_cli_version() { cmd.assert() .success() .stdout(predicate::str::contains("standx")) - .stdout(predicate::str::contains("0.6")); + .stdout(predicate::str::contains("0.7")); } #[test] diff --git a/version.json b/version.json index 1542eda..6811372 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version": "0.6.3-rc.1"} +{"version": "0.7.0-rc.1"}