Inputs
The agent sends the setup it is considering. Leroy does not need a candle dump or a giant prompt.
Command
Leroy CLI
$ leroy ask buy ABNBInstall Leroy beside the agent or workflow you already use. Ask for a ticker and side; receive current context, historical matching, outcomes, and explicit limits.
No card required. Research only.
No broker connection or live trading.
Scroll through the five passes behind a CLI answer. Every step adds context before Leroy returns the evidence.
The agent sends the setup it is considering. Leroy does not need a candle dump or a giant prompt.
Command
Leroy CLI
$ leroy ask buy ABNBThe current market frame adds context around the setup: volume, benchmarks, breadth, and volatility.
Volume
1.38× avg
SPY
+0.42%
VTI
+0.31%
Breadth
61% advancing
Volatility
Normal
Each supported strategy reports a signal so the agent can see agreement, disagreement, and neutral signals.
Opening Range 30
+0.82
Donchian 20
+0.67
Relative Strength
+0.41
VWAP
0.00
RSI 14
+0.04
Bollinger
−0.08
Leroy searches the verified record for comparable setups and measures what followed them.
AAPL · Buy · 15 minutes
184 comparable historical setups
Average Return
+3.84%
Win Rate
63%
Profit Factor
1.42
The agent receives the evidence, assumptions, and boundary in one deterministic response.
Possible Return
EvaluatedAAPL · buy
15-minute historical average
+3.84%
Samples
184
Win Rate
63%
Profit Factor
1.42
The default response is compact enough for a person to read and structured enough for an agent to pass along.
Two commands cover setup and research.
leroy connectValidate the connection and save an API key locally with owner-only permissions.
leroy ask buy|sell|both SYMBOLEvaluate a proposed side against current market context and the strongest available Market Memory tier.
leroy helpPrint the local command summary and a link to this reference.
--setupInclude the current market setup, including benchmark, volume, session return, VWAP distance, and ATR when available.
--verboseInclude strategy detail and the Match Basis used to select the displayed evidence tier.
--jsonReturn the complete machine-readable response for agent and shell integrations.
--no-colorDisable terminal color codes for logs, pipes, and snapshots.
--horizon 5|15|30|60Request one forward outcome horizon instead of the default set.
Leroy selects the strongest available tier. It does not pool exact and comparable groups into one result.
5/5
The same ticker, sensor state, ticker buckets, market buckets, and session-time identity.
4/5
The exact setup identity matched across other symbols.
3/5
The complete registered strategy/sensor state matched without an exact ticker match.
2/5
The side, strategy context, and market-condition buckets matched.
1/5
A directional baseline across the prepared archive.
Use the human-readable output in a terminal. Use JSON when another system needs to inspect status, match strength, outcomes, and provenance without parsing presentation text.
{
"market_memory": {
"matches": [{
"match_strength": {
"score": 5,
"tier": "exact_ticker_setup"
},
"row_count": 50,
"outcomes": { "15": {}, "30": {}, "60": {} }
}]
},
"research_boundary": {
"research_only": true,
"live_order": false
}
}The Research Center is where the evidence engine opens up: replay the strategies, compare the context, follow the model, and inspect the paper ledger.
Open Research Center