POST
Deploy a strategy agent in paper or live mode

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field.

Path Parameters

accountId
string
required
Minimum string length: 1

Body

application/json
strategySource
enum<string>
required
Available options:
strategy_lab
strategyCode
string
required
Required string length: 1 - 20000
mode
enum<string>
required
Available options:
paper,
live
parameters
object
required
marketId
string
Required string length: 1 - 64
marketSelection
object
agentAccountId
string
Pattern: ^aga_[0-9a-f]{32}$
modelChoice
object

Response

Created

deployment
object
required