Skip to main content
PATCH
Agent modifies position (Open → Open)

Path Parameters

card_id
string
required

Body

application/json

Agent modifies an open position (stop/target/scale adjustments).

current_shares
current_avg_price
unrealized_pnl
exit_rules
Exit Rules · object | null

Updated exit rules

market_snapshot
MarketSnapshot · object | null

Frozen picture of the market state at the moment an agent made a decision. Required on audit entries where actor=agent and the action changes card state. See spec §4.5.

reason
string
default:""

Why the modification was made

Response

Successful Response

Response for all agent actions.

card_id
string<uuid>
required
action
string
required
column_state
string
default:""
substate
string | null
success
boolean
default:true
message
string
default:""