dogabot dogabot Documentation

Create a portfolio

post https://api.dogabot.com/api/v1/portfolios

Creates a portfolio for the key owner. Requires the listed write scope and feat:api:write on an Institutional account. Send Idempotency-Key.

Scopes write:automation write

Headers

Idempotency-Key string required

Unique key per mutation so retries stay safe.

Example retry-1

Body parameters

application/json required

name string required
initial_capital number
≥ 0
max_members integer
≥ 1
trading_mode string

REST defaults to paper when omitted (unlike bots, which default to live).

One of livepaper
members array of object

Optional emitter members to attach on create. member_type must be emitter (or empty).

member_type string

Must be emitter (or omit). Portfolios cannot be nested.

One of emitter
member_id integer
weight number
tags array of string

Existing catalog lookup_keys (max 5).

Responses

201 Created
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited