GET

/api/v1/bots/dca/strategies

Izin: BOTS_READKeamanan: BEARER_JWT

Mengembalikan semua kondisi pemicu pembukaan order yang tersedia, strategi indikator teknikal (RSI, Bollinger Bands, MACD), spesifikasi webhook TradingView, dan tipe pasar yang didukung untuk bot Dollar Cost Averaging (DCA).

Parameter Query

2
typestring

Memfilter tipe kondisi pemicu: 'simple' (langsung/manual), 'indicator' (RSI, MACD, BB), atau 'signal' (webhook TradingView).

market_typestring

Memfilter strategi yang didukung untuk tipe pasar tertentu: 'spot' atau 'futures'.

Contoh Request

GETGET /api/v1/bots/dca/strategies

Contoh Respons

Mengembalikan objek yang merinci kondisi awal transaksi, parameter indikator, dan tipe order yang didukung.

available_strategy_list_200.json
200 OK
{
  "deal_start_conditions": [
    {
      "id": "asap",
      "name": "Immediately (ASAP)",
      "type": "simple",
      "description": "Opens the base order immediately upon starting the DCA bot."
    },
    {
      "id": "manual",
      "name": "Manual Trigger",
      "type": "simple",
      "description": "Bot stays in standby until user manually triggers deals via API or Dashboard."
    },
    {
      "id": "trading_view_signal",
      "name": "TradingView Custom Signal",
      "type": "signal",
      "description": "Executes deals triggered by authenticated webhook payloads from TradingView alerts.",
      "options": {
        "webhook_url": "/api/v1/webhooks/tradingview",
        "supported_actions": [
          "buy",
          "sell",
          "close"
        ]
      }
    },
    {
      "id": "rsi",
      "name": "RSI (Relative Strength Index)",
      "type": "indicator",
      "description": "Opens deal when RSI drops below oversold threshold on specified timeframe.",
      "options": {
        "timeframes": [
          "1m",
          "3m",
          "5m",
          "15m",
          "30m",
          "1h",
          "2h",
          "4h",
          "1d"
        ],
        "default_period": 14,
        "default_oversold": 30,
        "default_overbought": 70
      }
    },
    {
      "id": "bollinger_bands",
      "name": "Bollinger Bands (BB)",
      "type": "indicator",
      "description": "Opens deal when price crosses below lower Bollinger Band on specified timeframe.",
      "options": {
        "timeframes": [
          "5m",
          "15m",
          "30m",
          "1h",
          "4h"
        ],
        "default_period": 20,
        "default_deviation": 2
      }
    },
    {
      "id": "macd",
      "name": "MACD (Moving Average Convergence Divergence)",
      "type": "indicator",
      "description": "Opens deal when MACD line crosses above Signal line in bullish direction.",
      "options": {
        "timeframes": [
          "5m",
          "15m",
          "1h",
          "4h",
          "1d"
        ],
        "fast_period": 12,
        "slow_period": 26,
        "signal_period": 9
      }
    }
  ],
  "supported_strategies": [
    "Long",
    "Short"
  ],
  "supported_market_types": [
    "spot",
    "futures"
  ],
  "supported_order_types": [
    "limit",
    "market"
  ],
  "supported_tp_types": [
    "percentage",
    "base"
  ],
  "supported_sl_types": [
    "stop_loss",
    "stop_loss_and_disable"
  ]
}