Your Alpaca account on autopilot — driven from your AI, the CLI, Slack or Telegram
Write your portfolio architecture once — target sleeves, a cash buffer, how far things may drift, how big an order may be. The QL Investment Architect watches your account, plans the trades that bring it back to target, and acts the way you set: paper trades run automatically inside your limits, and every live trade waits for your approval by email, Slack, Telegram or right here. Drive it from Claude, Cursor or the ql CLI.
Live orders waiting for you
Your briefing
Goals & risk settings
Your mandate
Recent runs
| When | How | Account | Result |
|---|
Set it up in six steps
Connect your Alpaca account
On your profile, connect a paper Alpaca account (free at alpaca.markets). Add a live account too if live trading is open to you. QuantLogix stores the access token encrypted and never sees your Alpaca password; you can disconnect at any time.
Write your mandate
Use the form above, or tell your assistant. Example: 55% VTI, 20% VXUS, 20% BND, 5% cash, rebalance when a sleeve drifts 3 points, orders between $100 and $5,000, at most $25,000 a day.
ql architect set sleeves=VTI:55,VXUS:20,BND:20 cash_target_pct=5 drift_band_pct=3 max_order_usd=5000Connect your AI assistant (MCP) or the CLI
Claude: Customize → Connectors → Add custom connector → https://quantlogix.ai/api/mcp → sign in.
Claude Code:
claude mcp add --transport http quantlogix https://quantlogix.ai/api/mcp
Cursor: Settings → MCP → add https://quantlogix.ai/api/mcp.
CLI:
curl -fsSL https://quantlogix.ai/cli/ql.mjs -o /usr/local/bin/ql && chmod +x /usr/local/bin/ql
ql login
Choose how it reaches you
Tick the channels in the form (or ql architect set notify_channels=email,slack,telegram). In-app notices on QuantLogix are always on. For Slack, message the QuantLogix bot link once; for Telegram, send the bot /link. Email goes to your verified address — the agent cannot email anyone else.
Run it
Ask your assistant: “Plan my rebalance”, “Show my brokerage account”, “Execute the plan”, “Buy 5 NVDA at a limit”, “Email me a summary”. Or from the CLI:
ql broker # account, positions, working orders
ql architect plan # what it would trade (sends nothing)
ql architect execute <plan_id> # paper: sends · live: asks for your approval
ql architect approvals # live orders waiting for you
ql architect email note="weekly check"
Set a schedule (before the open every market day, or weekly) and it runs on its own.
Approve live trades
When a plan touches your live account, nothing is sent. You get one approval request — here (signed in), with Approve / Reject buttons in Slack or Telegram, and by email with a link to this page. It lasts 60 minutes, can be decided once, and every approved order still passes the live-trading limits and triggers a confirmation email. ql architect approve <id> only opens this page.
What it can and cannot do
Can
Read your account, plan a rebalance to your mandate, send paper orders inside your limits, cancel working orders, park live orders for your approval, and email you reports and summaries.
Cannot
Send a live order without your approval, approve its own request, raise limits past the platform ceilings ($25,000 per order, $100,000 a day), trade with an API key, or email anyone but you.
Stop it
Tick Paused above or run ql architect set paused=true. Disconnecting Alpaca on your profile cuts access immediately.
Frequently asked questions
Can the agent trade my live account without me?
No. Live orders are always parked as an approval request. They are sent only after you approve them on a signed-in QuantLogix page, or with the Approve button the agent sends to your linked Slack or Telegram. No AI tool, CLI command or email link can approve them.
What does it do on my paper account?
On paper it executes the trades that bring your account back to your mandate automatically, inside the per-order and daily limits you set.
Which AI assistants can drive it?
Any MCP client that supports OAuth, such as Claude, Claude Code and Cursor, through https://quantlogix.ai/api/mcp, and the ql command-line tool. It is a Pro feature.
How do I stop it?
Pause the mandate on this page or with ql architect set paused=true. Disconnecting Alpaca on your profile stops all access immediately.
The agent follows the mandate you write; QuantLogix does not choose your allocation or give personalized investment advice, and is not a registered investment adviser or broker-dealer. Orders are placed in your own Alpaca brokerage account under your authorization. Trading involves risk, including loss of principal; limit orders may not fill. Past performance does not guarantee future results. See the full disclaimer and how we handle data.