AutoSellProfile

Define and manage profiles in the OdinBot interface, then use their id in your Controls or Mirror settings.

Field
Type / details

id

String - unique key, referenced by Controls or Mirror.

createdIso

String - ISO-8601 timestamp when the profile was created.

profileName

String - human-readable label shown in the app.

takeProfitRules

TakeProfitRule – ordered profit-taking steps.

stopLossRules

StopLossRule – ordered stop-loss steps.

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
            }
        ]
    }
}
Types

Last updated

Was this helpful?