Skip to main content
POST
Subscribe the bound user to a leader (copytrade)

Body

application/json
leader_address
string
required
Minimum string length: 4
buy_order_type
required
Available options:
MARKET
buy_size_mode
required
Available options:
PCT_OF_LEADER_TRADE
buy_size_value
number
required
buy_insufficient_usdc_action
required
Available options:
BUY_MAX
sell_order_type
required
Available options:
MARKET
sell_size_mode
required
Available options:
PCT_OF_LEADER_TRADE
sell_insufficient_shares_action
required
Available options:
SELL_MAX
leader_username
string
status
Available options:
ACTIVE
market_ids_include
string[]
market_ids_exclude
string[]
tags_include
string[]
tags_exclude
string[]
buy_enabled
boolean
buy_min_trade_size
number
buy_max_trade_size
number
buy_time_in_force
Available options:
GTC
buy_min_for_percent
boolean
sell_enabled
boolean
sell_size_value
number
is_simulation
boolean
copy_start_date
string<date-time> | null
copy_end_date
string<date-time> | null
take_profit_levels
object[]
stop_loss_levels
object[]
close_at_price_cents
integer | null
Required range: 1 <= x <= 9999
max_hold_seconds
integer | null
Required range: x >= 1

Response

200 - application/json

Default Response

id
string
required
status
string
required