Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3a8a331
feat(dashboard): Issue #156 MVP format with comfy-table
Mar 4, 2026
3f61b7b
fix(dashboard): add RECENT TRADES support
Mar 4, 2026
946a192
chore: remove unused comfy_table import
Mar 4, 2026
49e2edb
fix(dashboard): show BUY/SELL in recent trades
Mar 4, 2026
51b7f13
fix: remove duplicate tests module in output.rs
Mar 4, 2026
3d99a90
fix(dashboard): add order book depth data display
Mar 4, 2026
1d09b6b
feat(dashboard): refactor dashboard command handling and improve outp…
lanceaper Mar 4, 2026
55f5bdd
fix(dashboard): enhance watch mode and output formatting
lanceaper Mar 4, 2026
d5f659b
feat(dashboard): enhance trade handling and output formatting
lanceaper Mar 4, 2026
908e1d6
fix(dashboard): update agent model and enhance account balance format…
lanceaper Mar 4, 2026
f104224
fix(output): update time formatting to use local timezone
lanceaper Mar 4, 2026
7e6c33d
fix(output): enhance order display formatting in dashboard
lanceaper Mar 4, 2026
ed535ed
refactor(output): reorganize dashboard display sections for improved …
lanceaper Mar 4, 2026
31dd2eb
fix(output): update dashboard refresh label formatting
lanceaper Mar 4, 2026
e93dd35
refactor(output): enhance dashboard formatting and structure
lanceaper Mar 4, 2026
9295ad5
fix(commands): enhance watch mode with graceful exit handling
lanceaper Mar 4, 2026
2871ea9
refactor(commands): improve dashboard and portfolio command handling
lanceaper Mar 4, 2026
ff01c61
fix(output): update dashboard account balance formatting
lanceaper Mar 4, 2026
42cb4d1
fix(output): enhance dashboard account balance display
lanceaper Mar 4, 2026
2cd4e23
r
lanceaper Mar 4, 2026
0c97683
fix(output): update dashboard title to include version number
lanceaper Mar 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
<!-- Generated by SpecStory, Markdown v2.1.0 -->

<!-- cursor Session 94093cb4-46cd-4e82-9ca1-e216ddb617fd (2026-03-04 15:15Z) -->

# Standx-cli codebase architecture overview (2026-03-04 15:15Z)

_**User**_

Explore the standx-cli codebase thoroughly. I need to understand:

1. The overall project structure (all directories and key files)
2. The CLI argument parsing / command definitions (likely in main.rs or cli.rs)
3. How commands are dispatched and executed
4. The API client layer (how it communicates with the exchange)
5. Any existing dashboard-related code
6. The Cargo.toml dependencies
7. Key data types/models used

Please provide a comprehensive summary of the codebase architecture, listing all important files and their purposes. Be very thorough.

---

_**Agent (model composer-1.5, mode Agent)**_



---



---





---

<tool-use data-tool-type="generic" data-tool-name="glob_file_search">
<details>
<summary>Tool use: **glob_file_search** • Searched codebase "undefined" • **99** results in **1** directory</summary>

Directory: **/Users/wujunlin/code/myproject/standx-cli** (99 files)

| File |
|------|
| `tests/integration/mod.rs` |
| `README.md` |
| `tests/TESTING_DESIGN.md` |
| `homebrew/standx-cli.rb` |
| `src/auth/credentials.rs` |
| `tests/unit/models/position_test.rs` |
| `TEST_REPORT.md` |
| `TESTING.md` |
| `docs/03-market-data.md` |
| `docs/04-account.md` |
| `RELEASE_NOTES_v0.6.3-rc.3.md` |
| `openclaw/SKILL.md` |
| `openclaw/references/troubleshooting.md` |
| `.github/workflows/ci.yml` |
| `src/client/tests.rs` |
| `src/websocket.rs` |
| `tests/integration/cli_market_commands.rs` |
| `.gitignore` |
| `src/main.rs` |
| `openclaw/skill.json` |
| `docs/09-output-formats.md` |
| `.clawhub/origin.json` |
| `clawhub-publish/references/examples.md` |
| `tests/unit/utils/error_test.rs` |
| `src/client/order.rs` |
| `openclaw/references/examples.md` |
| `TEST_VALIDATION_REPORT.md` |
| `openclaw/references/authentication.md` |
| `tests/unit/utils/time_parser_test.rs` |
| `docs/README.md` |
| `src/commands.rs` |
| `RELEASE_NOTES_v0.6.3-rc.2.md` |
| `openclaw/README.md` |
| `clawhub-publish/references/troubleshooting.md` |
| `src/lib.rs` |
| `clawhub-publish/README.md` |
| `.clawhub/README.md` |
| `docs/06-trading.md` |
| `src/auth/mod.rs` |
| `RELEASE_NOTES_v0.6.0.md` |
| `API_DOCUMENTATION.md` |
| `src/config.rs` |
| `.cursorindexingignore` |
| `docs/01-getting-started.md` |
| `RELEASE_NOTES_v0.6.3-rc.1.md` |
| `docs/12-version-checklist.md` |
| `src/telemetry.rs` |
| `ROADMAP.md` |
| `HOMEBREW_PUBLISH.md` |
| `docs/02-authentication.md` |
| `src/client/account.rs` |
| `tests/e2e/mod.rs` |
| `docs/07-leverage-margin.md` |
| `docs/05-orders.md` |
| `tests/e2e/trader_workflow.rs` |
| `tests/unit/models/market_data_test.rs` |
| `docs/11-troubleshooting.md` |
| `tests/E2E_TEST_REPORT.md` |
| `openclaw/references/api-docs.md` |
| `scripts/scrape_actions.py` |
| `clawhub-publish/SKILL.md` |
| `clawhub-publish/references/api-docs.md` |
| `clawhub-publish/references/SECURITY.md` |
| `openclaw/references/homebrew.md` |
| `.specstory/.gitignore` |
| `openclaw/references/SECURITY.md` |
| `tests/PHASE2_BREAKDOWN.md` |
| `src/client/mod.rs` |
| `tests/integration/cli_commands.rs` |
| `tests/e2e/new_user_journey.rs` |
| `version.json` |
| `Cargo.lock` |
| `src/error.rs` |
| `tests/e2e_tests.rs` |
| `Cargo.toml` |
| `tests/unit/models/symbol_info_test.rs` |
| `src/cli.rs` |
| `clawhub-publish/references/homebrew.md` |
| `tests/integration/cli_output_formats.rs` |
| `LICENSE` |
| `tests/integration_tests.rs` |
| `src/models.rs` |
| `.github/workflows/SECRETS_SETUP.md` |
| `src/output.rs` |
| `tests/GITHUB_ISSUES.md` |
| `clawhub-publish/skill.json` |
| `DEVELOPMENT_PLAN.md` |
| `RELEASE_NOTES_v0.5.0.md` |
| `WORKFLOW.md` |
| `install.sh` |
| `CHANGELOG.md` |
| `scripts/check_actions.sh` |
| `docs/08-streaming.md` |
| `docs/10-special-features.md` |
| `tests/TESTING_GAP_PLAN.md` |
| `docs/create-docs.sh` |
| `HOMEBREW.md` |
| `tests/integration/api_flows.rs` |
| `clawhub-publish/references/authentication.md` |

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/Cargo.toml</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/main.rs</summary>

</details>
</tool-use>

---



---





---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/cli.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/commands.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/client/mod.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/models.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/lib.rs</summary>

</details>
</tool-use>

---



---





---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/client/account.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/client/order.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/auth/mod.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/config.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/error.rs</summary>

</details>
</tool-use>

---

<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: /Users/wujunlin/code/myproject/standx-cli/src/output.rs</summary>

</details>
</tool-use>

---

72 changes: 72 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dirs = "6.0"

# Output formatting
tabled = "0.18"
comfy-table = "7.1"
csv = "1.3"

# Logging
Expand Down
Loading