Strategies
Trading strategy management - create, configure, and run automated strategies
Get Strategies
Authorization
HTTPBearer In: header
Query Parameters
true501 <= value <= 20000 <= valueResponse Body
application/json
application/json
curl -X GET "https://loading/api/v1/strategies"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Strategy
Authorization
HTTPBearer In: header
Request Body
application/json
length <= 100Trading strategy types.
"manual" | "algorithmic" | "ai_powered" | "copy_trading" | "grid_trading" | "dca" | "arbitrage" | "market_making" | "momentum" | "mean_reversion" | "scalping" | "swing_trading" | "position_trading"Risk level enumeration.
"medium""very_low" | "low" | "medium" | "high" | "very_high""20""fixed_amount"^(fixed_amount|percentage|kelly|volatility)$"2"false51 <= value <= 2000 <= value <= 144071 <= value <= 30"0.7"Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/strategies" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "strategy_type": "manual" }'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Strategy Details
Authorization
HTTPBearer In: header
Path Parameters
uuidQuery Parameters
truetrueResponse Body
application/json
application/json
curl -X GET "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Delete Strategy
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X DELETE "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Strategy
Authorization
HTTPBearer In: header
Path Parameters
uuidRequest Body
application/json
Response Body
application/json
application/json
curl -X PUT "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Activate Strategy
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X POST "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Deactivate Strategy
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X POST "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/deactivate"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Strategy Signals
Authorization
HTTPBearer In: header
Path Parameters
uuidQuery Parameters
501 <= value <= 20000 <= valueResponse Body
application/json
application/json
curl -X GET "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/signals"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Historical Data
Authorization
HTTPBearer In: header
Query Parameters
Trading pair symbol (e.g., BTC/USDT)
Exchange name (e.g., binance, coinbase)
Candle interval (e.g., 1m, 5m, 1h, 1d)
Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/strategies/backtest/historical-data?symbol=string&exchange=string&interval=string&start_date=string&end_date=string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Strategy Condition Rules
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X GET "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/condition-rules"{
"strategy_id": "string",
"pause_on_conditions": [
"bull"
],
"resume_on_conditions": [
"bull"
],
"confidence_threshold": "string",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Strategy Condition Rules
Authorization
HTTPBearer In: header
Path Parameters
uuidRequest Body
application/json
Market conditions that should pause the strategy
Market conditions that should resume the strategy
Minimum confidence score (0.5-1.0) to trigger action
"0.7"Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/condition-rules" \ -H "Content-Type: application/json" \ -d '{}'{
"strategy_id": "string",
"pause_on_conditions": [
"bull"
],
"resume_on_conditions": [
"bull"
],
"confidence_threshold": "string",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Delete Strategy Condition Rules
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
curl -X DELETE "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/condition-rules"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Strategy Condition Rules
Authorization
HTTPBearer In: header
Path Parameters
uuidRequest Body
application/json
Market conditions that should pause the strategy
Market conditions that should resume the strategy
Minimum confidence score (0.5-1.0) to trigger action
Response Body
application/json
application/json
curl -X PUT "https://loading/api/v1/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08/condition-rules" \ -H "Content-Type: application/json" \ -d '{}'{
"strategy_id": "string",
"pause_on_conditions": [
"bull"
],
"resume_on_conditions": [
"bull"
],
"confidence_threshold": "string",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}