Risk Settings Set
curl --request POST \
--url https://api.simmer.markets/api/sdk/positions/{market_id}/monitor \
--header 'Content-Type: application/json' \
--data '
{
"stop_loss_pct": 123,
"take_profit_pct": 123,
"venue": "polymarket"
}
'{
"success": true,
"market_id": "<string>",
"side": "<string>",
"message": "<string>",
"stop_loss_pct": 123,
"take_profit_pct": 123,
"shares": 123,
"cost_basis": 123
}Risk Management
Risk Settings Set
Set risk thresholds (stop-loss/take-profit) for a position.
Creates or updates risk settings. The scheduler monitors positions every 15 minutes and automatically triggers a sell when thresholds are hit.
Parameters:
- market_id: The market ID
- side: Which side of the position (‘yes’ or ‘no’)
- stop_loss_pct: Trigger sell if P&L drops below this % (default: 0.50 = -50%)
- take_profit_pct: Trigger sell if P&L rises above this % (default: off)
At least one threshold must be set. Position data is derived from real_trades (not stored).
POST
/
api
/
sdk
/
positions
/
{market_id}
/
monitor
Risk Settings Set
curl --request POST \
--url https://api.simmer.markets/api/sdk/positions/{market_id}/monitor \
--header 'Content-Type: application/json' \
--data '
{
"stop_loss_pct": 123,
"take_profit_pct": 123,
"venue": "polymarket"
}
'{
"success": true,
"market_id": "<string>",
"side": "<string>",
"message": "<string>",
"stop_loss_pct": 123,
"take_profit_pct": 123,
"shares": 123,
"cost_basis": 123
}Stop-loss is on by default — every buy gets a 50% stop-loss automatically. Take-profit is off by default (prediction markets resolve naturally). Use this endpoint to set or override thresholds for a specific position.
Path Parameters
Body
application/json
⌘I
