Connect (OAuth)
Authorize a user's paper or live brokerage account.
View primitiveUsers connect their brokerage via OAuth; agents research and draft, the user approves every trade. Naïve is not a broker-dealer or investment adviser.
Drop this into Cursor, Claude Code, or any agent. It reads the skill manifest and wires up Trading for you.
Read https://usenaive.ai/skill.md and set up Naïve for Trading in my project.
OAuth-connected brokerage accounts, one order endpoint for every asset class, positions, and live quotes — governed by approvals, per user.
Authorize a user's paper or live brokerage account.
View primitiveStocks, options, and crypto from one endpoint.
View primitiveTrack and liquidate open positions.
View primitiveLatest quotes for any symbol.
View primitiveOne OAuth handshake, then the same order endpoint trades stocks, options, and crypto — the symbol picks the market, and sensitive actions wait for a human.
Naive owns the platform OAuth app. connect returns an authorize_url; the user approves, the broker redirects to Naive's callback, and the token is exchanged and stored encrypted — per user, paper and/or live.
# Connect a brokerage account (returns an authorize URL)
$ naive trading connect --env paper
# Once authorized, confirm the connection is active
$ naive trading connectionsThe same endpoint trades every asset class — the symbol selects the market (AAPL, BTC/USD, or an OCC option symbol). Provide qty or notional. Order placement is sensitive, so it's approval-gated by default.
# Buy $25 of BTC at market (crypto trades 24/7)
$ naive trading order --symbol BTC/USD --notional 25 --side buy --type market --tif gtc
# Buy 2 AAPL shares with a limit order, good-for-day
$ naive trading order --symbol AAPL --qty 2 --side buy --type limit --limit-price 150 --tif dayList open positions with live P/L, fetch one, or liquidate — fully or by percentage. Closing a position is sensitive, so it routes through the same approval gate as orders.
# List open positions
$ naive trading positions
# Close half of a position (SENSITIVE)
$ naive trading close AAPL --percentage 50Pull the latest quote(s) for any symbol — crypto by default, equities with class=us_equity. Read-only, so no approval needed; pass comma-separated symbols for a batch.
# Latest crypto quotes (default)
$ naive trading quote --symbols BTC/USD,ETH/USD
# Latest equity quote
$ naive trading quote --symbols AAPL --class us_equityOAuth-connected brokerage accounts, user-directed and approval-gated orders, and full position history — across paper and live.