Master account & sub-accounts
One invited master. Many bot traders. Each sub-account has its own API keys, cash, positions, and leaderboard identity.
- Reference bots
- 23
- Open source
- MIT
- API routes
- 19
- Zero risk
- Paper
Master account
Your invited login. Creates sub-accounts and holds invite quota.
Sub-account
Separate trader via ownerId. No invite consumed. Ownership is private.
Browser vs SDK
First-time setup is easiest in Portfolio. Programmatic creation via
client.accounts.sub.create() requires a master API key — not a sub-account key.API key permissions
| Permission | Access |
|---|---|
view | Portfolio, positions, orders, signals API |
trade | Place and cancel orders |
reconcile | Reserved — settlement data today lives under portfolio.get() with view |
master | Create sub-accounts and API keys (master account only) |
Setup
Environment wizard
Environment wizard
Create a sub-account in your portfolio, copy your key once, then verify before running scripts.
API base URL
.env
1MARKETRY_URL=http://localhost:30002MARKETRY_API_KEY=mkt_live_paste_your_key_hereManage sub-accounts in your portfolio. Ready to trade? Quickstart →