A Robinhood-first bridge CLI for market intelligence and private connector handoff.
DMNDHNDS is not Financial Advice. Use at your own Risk. Don't end up being the exit liquidity. Paper trade your algos, back-test, use this to build and strengthen your alpha and MCP connectors.
This repository is the public Diamond Hands bridge product. It reviews market structure, sentiment, flow, and setup quality, then writes artifacts that a user-owned private repo can consume.
It is not the final execution engine. This is only meant as a connector to your private repo's to build a stronger edge.
Diamond-Hands-MCP_BRIDGEis public and forkable.Diamond-Hands-Algois private and execution-side.- The public bridge helps users review the market, verify their setup, and hand off artifacts.
- The private repo owns proprietary filters, risk rules, and eventual Robinhood trade execution.
The bridge is currently centered on Robinhood Agentic Trading and its MCP endpoint:
https://agent.robinhood.com/mcp/trading
The public CLI explains the Robinhood onboarding path and then helps the user attach their own private ALGO repo.
Install the editable package from the repo root:
python3 -m pip install --user -e .Launch the CLI:
diamondhandsNot financial advice.
You can also use:
npm run diamondhandsIf you need the direct Python legacy fallback:
PYTHONPATH=src python3 main.pyWhen the shell opens, type /commands to show the starter command list again.
Core public commands:
/commands Show the command desk
/todaysupdate Show today's market summary
/analyze Show the full analysis report
/marketrecap Show the market recap view
/marketnews Show the market news view
/verifybridge Check your private connector
/handoff Send the latest artifact to Diamond-Hands-Algo
/quit Exit the CLI
Curated private operator commands are routed into trading-algo when the private repo is connected:
/agents Show Codex/Claude and HOOD supervisor status
/spy0dte Generate a SPY 0DTE paper intent
/liveboard Open the private operator cockpit
/paper Run the private paper simulation
/risk Show caps, stops, blocked reasons, and kill-switch state
/stop Trigger the local private kill-switch
/memory Show private memory status
/recall Recall private memory records
/hood Check HOOD MCP health
/daemon Show private 24/7 paper monitor status
/botstatus Show bot heartbeat and latest daemon cycle
/startbot Show safe paper monitor startup commands
Extended non-critical commands stay available behind:
/viewall
Use /clear to clear old CLI output without replaying the full startup screen.
Compatibility aliases:
/help -> /commands
/morecommands -> /viewall
/today-status -> /todaysupdate
/verify-bridge -> /verifybridge
/hand-off -> /handoff
quit -> /quit
exit -> /quit
- Start the CLI with
diamondhands. - Run
/todaysupdatefor the current market summary. - Run
/analyzeif you want the full report. - Run
/verifybridgeto check your private connector. - Run
/handoffto send the latest artifact to your private repo. - Run
/agents,/spy0dte,/botstatus,/liveboard,/memory,/risk, or/stopfrom the same shell.
To keep the private bot visibly alive outside the interactive prompt, run /startbot for the safe foreground and macOS LaunchAgent commands. This starts only the private paper monitor; it does not place live orders.
Use direct trading-algo ... commands only for private engineering/debug workflows. The public diamondhands shell intentionally does not expose raw model training, model promotion, or low-level private bridge commands.
Not financial advice.
On some Macs, pip is not available as a command even when python3 is installed. Use python3 -m pip instead.
If python3 -m pip install --user -e . succeeds but diamondhands still says command not found, the installed script is likely not on your shell PATH yet. Add your user Python bin directory to ~/.zshrc:
echo 'export PATH="$HOME/Library/Python/3.9/bin:$PATH"' >> ~/.zshrc
source ~/.zshrcUseful direct modes:
diamondhands --setup
diamondhands --verify-bridge
diamondhands --analyze-only
diamondhands --analyze-then-hand-off
diamondhands bootThe local bridge state is stored in config/diamond-hands.local.yaml, which is intentionally gitignored.
- a Robinhood-first onboarding and bridge verification flow
- a branded market bridge report
- a machine-readable JSON artifact
- a downstream handoff contract compatible with the private ALGO bridge
Forking this repo is not enough for execution.
Users are expected to:
- fork or clone this public bridge repo
- create or attach their own private
Diamond-Hands-Algorepo - connect their agent to Robinhood Agentic Trading
- use the public bridge output as the input to their private execution stack
Imagine you are building a professional bakery:
- The Strategy Oven (This Repo): This is the high-fidelity visualization and execution surface. It's built to institutional standards with low-latency dashboards and a "Mini Bloomberg" terminal. It knows how to render the data, but it doesn't have its own proprietary recipes.
- The Secret Sauce (Your Private Repo): This is where you keep your "Food"βyour proprietary math, model weights, and risk rules.
By keeping the Oven public, we provide a professional-grade execution layer that anyone can use by plugging in their own private "Lego Piece" math components. This ensures your edge stays private while the infrastructure stays world-class.
BRIDGE_PROTOCOL.mdfor the standardized JSON interface and building your own math components.Documentation.mdfor the bridge contract and product boundarydocs/robinhood-agentic-trading.mdfor Robinhood MCP onboardingdocs/private-algo-bridge.mdfor attaching the userβs private ALGO repodocs/context-orientation.mdfor the latest state of the bridgescripts/learn_diamondhands_cli.pyfor a commented demo of the CLI strings, animation, and command map