Overview
| Property | Value |
|---|---|
| Position Type | Spot or Perp |
| keep_position | Configurable |
| Use Cases | Building positions, averaging down, systematic entry |
Configuration
Parameters
| Parameter | Description |
|---|---|
amounts_quote | List of order amounts in quote currency |
prices | List of entry prices for each level |
take_profit | Exit target as % from average entry |
stop_loss | Stop loss as % from average entry |
time_limit | Maximum duration in seconds |
mode | MAKER (limit) or TAKER (market) |
activation_bounds | Optional price bounds for activation |
How It Works
- Level Setup: Creates orders at each price/amount pair
- Order Management: Places limit orders at specified prices
- Fill Tracking: Tracks fills and calculates average entry
- Exit Management: Applies TP/SL relative to average entry
DCA Modes
| Mode | Behavior |
|---|---|
MAKER | Places limit orders at each price level |
TAKER | Uses market orders when price reaches level |
Example: Systematic BTC Entry
Example: Quick DCA with Trailing Stop
Spot vs Perpetual
| Market | Behavior |
|---|---|
| Spot | Accumulates base asset across levels |
| Perpetual | Builds leveraged position across levels |

