Paper reference
2 pages, 9 routes, 9 connections and 2 CLI commands, generated from the declarations of Paper without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 2
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Paper accounts | paper.index | list | /view/paper/list | 0 | PaperAccount | in navigation | |
| Paper account | paper.account | detail | /view/paper/{account_id} | 97 | PaperAccount | in navigation |
Connections · 9
Paper.AccountOpen
Open a paper account owned by the verified caller (devnet actor on an auth-off devnet). Paper: no value moves.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | optional | |||
| base_currency | optional | |||
| float | optional | |||
| max_leverage | optional | |||
| maintenance_bps | optional |
- Output keypaper.result
- Classificationreal
- POST /paper/account/openHTTP route
Paper.Accounts
List paper accounts ({owner?}) at live marks: equity, P&L, leverage, risk. Paper: no value moves.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner | optional |
- Output keypaper.result
- Classificationroute_handler
- GET /paper/accountsHTTP route
- paper accountsCLI command
Paper.Cancel
Cancel a resting paper limit order.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | required | |||
| order_id | required |
- Output keypaper.result
- Classificationreal
- POST /paper/cancelHTTP route
Paper.Order
Place a simulated market or limit order; fills walk venue depth, ticks, quotes, the CRE8 book or mark, or a Black-Scholes value, and record their provenance. Margin-gated at the account's max leverage.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | required | |||
| instrument | required | |||
| venue | optional | |||
| side | required | |||
| qty | required | |||
| type | optional | |||
| limit_price | optional |
- Output keypaper.result
- Classificationreal
- POST /paper/orderHTTP route
Paper.Positions
One paper account: positions with marks and sources, orders, fills with provenance, venue routes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | required |
- Output keypaper.result
- Classificationroute_handler
- POST /paper/positionsHTTP route
- paper positionsCLI command
Paper.Reset
Restore a paper account's starting float, clear positions, cancel resting orders.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | required |
- Output keypaper.result
- Classificationreal
- POST /paper/resetHTTP route
Paper.Tick
Run the paper sweep now: perpetual funding, option expiry at the mark, liquidation below maintenance, resting limit orders.
- Output keypaper.result
- Classificationreal
- POST /paper/tickHTTP route
Paper.VenueRoute
Owner-gated, confirm-gated, default-off: send one order to a venue paper/testnet API (Deribit testnet, Binance futures testnet, OKX demo) through an exact host allowlist, under a USD notional cap. The ack is recorded beside the account, never in its simulated balances.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | required | |||
| venue | required | |||
| order | required | |||
| confirm | required |
- Output keypaper.result
- Classificationreal
- POST /paper/venue/routeHTTP route
Paper.Venues
Venue paper/testnet adapters: allowlisted hosts, required headers, credential presence, routing gate.
- Output keypaper.result
- Classificationroute_handler
- GET /paper/venuesHTTP route
CLI commands · 2
paper accounts
List paper trading accounts
paper accounts
paper positions
Show one paper account
paper positions {"account_id":"paper-..."}Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerPaper
- SQL projectionnone · DDL declarations: 0
- PaperAccount
- PaperFill
- PaperOrder
- PaperVenueRoute
- PaperAccount
- PaperFill
- PaperOrder
- PaperVenueRoute
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Protocol
Structure review · 1
- Paper · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)