Metadata-Version: 2.5
Name: reamer-research-gui
Version: 0.4.0
Summary: LLM-driven quant research and algorithmic trading workstation in your browser, on the Reamer Research native C++ engine.
Project-URL: Homepage, https://reamerlabs.com/products/reamer-research
Project-URL: Documentation, https://reamerlabs.com/docs
Project-URL: Pricing, https://reamerlabs.com/pricing
Project-URL: Engine, https://pypi.org/project/reamer-research/
Author: Reamer Labs
License-Expression: LicenseRef-Reamer-Research
License-File: LICENSE
Keywords: algorithmic-trading,backtesting,claude-code,llm,quant,research,trading,workstation
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: >=3.10
Requires-Dist: aiohttp>=3.9
Requires-Dist: keyring>=24
Requires-Dist: matplotlib>=3.7
Requires-Dist: mcp>=1.10
Requires-Dist: numpy>=1.24
Requires-Dist: pandas>=2.0
Requires-Dist: reamer-research-mcp>=0.3.0
Requires-Dist: reamer-research>=4.12.0; (sys_platform == 'linux' and platform_machine == 'x86_64') or (sys_platform == 'darwin' and platform_machine == 'arm64')
Provides-Extra: databento
Requires-Dist: databento>=0.40; extra == 'databento'
Provides-Extra: test
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# Reamer Research GUI

An LLM-driven quant research and algorithmic trading workstation, running
locally in your browser on the Reamer Research native C++ engine.

You chat on the left. Your own AI agent (Claude Code, Codex CLI, Gemini
CLI, Cursor CLI or OpenCode) writes the strategy, analyses the data, runs
the backtest and opens visual trade diagnostics in the tabs on the right. It
asks before it runs code.

```bash
pip install reamer-research-gui
reamer-research-gui
```

The app opens at `http://127.0.0.1:8765` with a one-time link printed in the
terminal.

## Requirements

- **An AI agent CLI**, installed and signed in, or with an API key you add
  in the app. Pick it, its model and its settings under **Agent** at the top
  of the app:

  | Agent | Install | Sign-in or key |
  |---|---|---|
  | Claude Code (default) | [claude.com/claude-code](https://claude.com/claude-code) | `claude`, or an Anthropic API key |
  | Codex CLI | `npm install -g @openai/codex` | `codex login`, or an OpenAI API key |
  | Gemini CLI | `npm install -g @google/gemini-cli` | `gemini`, or a Gemini API key |
  | Cursor CLI | `curl https://cursor.com/install -fsS \| bash` | `cursor-agent login`, or a Cursor API key |
  | OpenCode | `npm install -g opencode-ai` | `opencode auth login`, or a key for the model's provider (OpenRouter, DeepSeek, …) |

  Keys stay in your system keychain and go only to that agent's process. If
  the agent is missing, too old or signed out, the app says what to run.
  Switching agent starts a new conversation.
- **Python 3.10 or later** on Linux x86_64 or macOS on Apple silicon, the
  platforms the `reamer-research` engine wheel is built for.

## Tabs

| Tab | Shows |
|---|---|
| Strategy | the strategy files your agent writes |
| Data | your bar files, with a preview; drop CSV or `.bin` files here, or ask your agent to download them |
| Analysis | Python cells run in a persistent kernel (numpy, pandas, matplotlib): output, tables and charts |
| Backtest | metric tiles, every metric, settings and printed output for each run, plus closed trades and Monte Carlo |
| Trade diagnostics | the interactive diagnostics page for a run: equity, drawdown, each trade on its bars |

Thinking and replies stream into the chat as they are written.

## Market data

Ask for bars in the chat ("a year of AAPL 5-minute bars") and your agent
downloads them into `data/`, one CSV per symbol:

| Source | Covers | Key |
|---|---|---|
| Alpaca | US stocks and ETFs, adjusted for splits and dividends | a free paper account's key pair (IEX feed); paid plan for SIP |
| Alpaca crypto | pairs such as BTC/USD | none |
| Databento | futures, equities and options datasets | your Databento key; `pip install databento` |

Add keys in **Data sources** at the top of the app. They stay in your
system keychain, and your agent sees only whether a key is saved. Databento
bills per request: each request is priced first and refused above the cost
limit you set (default $1).

## Permissions

The header sets how much your agent may do without asking:

| Mode | File edits | Backtests, analysis and downloads |
|---|---|---|
| Ask before edits and runs (default) | asks | asks |
| Accept edits, ask before runs | goes ahead | asks |
| Run without asking | goes ahead | goes ahead |

Each request shows a card in the chat with the file, the edit or the code,
and Allow, Allow for this chat, or Deny. Anything outside the workspace
always asks. Your agent gets only file tools inside the workspace, the
backtest engine and the analysis kernel, and no shell.

Asking before each file edit is exact with Claude Code. With the other
agents, edits stay inside the workspace by the agent's own sandbox, and the
app asks before every backtest, analysis cell and download.

## Support

Tell your agent about the problem. It can draft a GitHub issue on
[reamerlabs/reamer-research](https://github.com/reamerlabs/reamer-research/issues)
or an email to support@reamerlabs.com with the versions and the error filled
in, and opens it for you to review and send. Nothing is sent without you.

## Workspace

`~/ReamerResearch` by default (`--workspace PATH` or `REAMER_GUI_WORKSPACE`):
`strategies/`, `data/` (a new workspace gets `SAMPLE_5min.csv`), `runs/` (one
folder per backtest) and `.app/` (chat history and settings).

## Licence and pricing

The Reamer Research licence (`LICENSE`, Section 4.3) covers the app: install,
use and modify it on your own machines. The engine starts in Evaluation Mode: one ticker, up to 30 days or 50,000
bars, no live trading. A Reamer Research subscription, $20 a month per
computer, lifts the limits. Click **Get Licence** at the top of the app to buy
one there, and the computer is activated as soon as payment completes, or
paste a key you already have. The same dialog frees the computer's seat for
another one. Pricing: [reamerlabs.com/pricing](https://reamerlabs.com/pricing).

[Documentation](https://reamerlabs.com/docs) ·
[Engine on PyPI](https://pypi.org/project/reamer-research/) ·
[MCP server](https://pypi.org/project/reamer-research-mcp/)
