AutoSellProfile
Define and manage profiles in the OdinBot interface, then use their id
in your Controls or Mirror settings.
Field
Type / details
Returned only by • GET /v1/auto-sell-profiles (array) • GET /v1/auto-sell-profile/{id} (single profile)
TakeProfitRule
Field
Type / details
percentOfPosition
Number - portion of the position to sell (0-100).
percentGain
Number - gain threshold (%) that triggers the rule.
StopLossRule
Field
Type / details
percentOfPosition
Number - portion of the position to sell (0-100).
percentLoss
Number - loss threshold (%) that triggers the rule.
Example object
{
"autoSellProfile": {
"createdIso": "2025-08-01T04:14:39.112Z",
"id": "8ZwsQvnUq7arELq5Hks5VN6Y36GTb4Fj3hCdenWFHupd",
"profileName": "Profile 1",
"stopLossRules": [
{
"percentLoss": 50,
"percentOfPosition": 100
}
],
"takeProfitRules": [
{
"percentGain": 30,
"percentOfPosition": 25
},
{
"percentGain": 150,
"percentOfPosition": 25
},
{
"percentGain": 300,
"percentOfPosition": 50
}
]
}
}
Last updated
Was this helpful?