π‘Extended DCA Bot
Your smart dollar-cost averaging tool for Extended exchange perpetual trading.
The Extended DCA Bot automatically places multiple orders as the price moves against your position - buying more as price drops (Long) or selling more as price rises (Short). This strategy lowers your average entry price, giving you a better chance to profit when the market reverses. Combined with the built-in calculator, you can plan your entire strategy before committing a single dollar.
Prerequisites
Before you start, make sure you have:
Extended API Wallet added to Dextrabot (see Wallet Management)
USDC balance in your Extended wallet (minimum depends on your settings)
Basic understanding of leverage and perpetual trading
Quick Start (5 Minutes)
Go to Extended DCA Bot from the top navigation
Select your Extended wallet from the dropdown
Pick your trading pair (e.g., BTC PERP)
Set your direction (Long or Short) and leverage
Enter your Base Order Margin and DCA Order Margin
Set Max DCA Orders (how many safety orders)
Set your Take Profit % (and optionally Stop Loss %)
(Optional) Expand Advanced Settings to adjust Price Deviation, Size Multiplier, and Deviation Multiplier
Review the Order Details table - all orders should show "Safe"
Click Start DCA Bot
Getting Your API Keys
Follow these steps to add your Extended wallet to Dextrabot:
Step 1: Get API Credentials from Extended Exchange
Go to Extended API Management
Find your Main Account row
Click Generate API Key
Click Show API Details to reveal your credentials
You will need:
API Key
Stark Key Public
Stark Key Private
Vault Number

Step 2: Add Wallet to Dextrabot
Click Add Account
Select Add API Wallet β EXTENDED
Fill in the required fields:
Wallet Name: A label for easy identification
Login Address: Your trading wallet address
API Key: From Extended
Stark Key Public: From Extended
Stark Key Private: From Extended
Vault Number: From Extended
Click Save to add your wallet
Step-by-Step Guide
Step 1: Connect & Select Your Wallet
If you're not logged in:
Click the Connect button in the top-right corner
Sign the message with your wallet to authenticate
Select your wallet:
Use the Extended Wallet dropdown under "Market & Coin"
Your wallet address and USDC balance will be displayed
The Available to Trade field shows your current balance

Step 2: Choose Your Market & Coin
Market
Select "Extended" (currently the only supported market)
Extended Wallet
Your connected wallet with USDC balance
Coin
The perpetual pair you want to trade (BTC, ETH, SOL, etc.)
Tips:
When you select a coin, the Entry Price automatically populates with the current market price
You can search coins by typing in the dropdown
The coin shows its maximum leverage next to the ticker
Step 3: Configure Position Setup
Direction
Long
You expect the price to go UP. Bot buys more as price drops.
Short
You expect the price to go DOWN. Bot sells more as price rises.
Leverage
Use the slider or type directly (1x to 100x)
Higher leverage = larger position with same margin
Higher leverage = closer liquidation price
Maximum leverage depends on the coin
Example: With $10 margin at 10x leverage, your position value is $100.

Step 4: Set Order Sizing
Base Order Margin
The margin for your first (entry) order
$1
DCA Order Margin
The starting margin for DCA orders
$1
Max DCA Orders
How many additional orders the bot can place
1-50
Available to Trade
Your wallet balance (read-only)
-
How it works:
Base Order places a limit order near the mid price and waits to be filled. If not filled, the bot automatically updates the order price.
DCA Orders trigger when price drops (Long) or rises (Short) by your Price Deviation %
Each DCA order can have increasing margin based on the Size Multiplier

Step 5: Configure Exit Strategy
Take Profit
Target profit % from your average entry price
Stop Loss
Maximum loss % (optional - leave empty to disable)
Take Profit Calculation:
Long: TP Price = Average Entry Γ (1 + TP%)
Short: TP Price = Average Entry Γ (1 - TP%)
Stop Loss Calculation:
Long: SL Price = Average Entry Γ (1 - SL%)
Short: SL Price = Average Entry Γ (1 + SL%)

Step 6: Advanced Settings

Click Advanced Settings to reveal additional parameters:
Price Deviation
1%
Price drop % between each DCA order
DCA Order Size Multiplier
1.50x
Each DCA order margin = previous Γ this multiplier
Price Deviation Multiplier
1.50x
Each gap = previous gap Γ this multiplier
How Deviations Work (Long Position Example):
Base
0%
$87,874.0
DCA 1
1.00%
$86,995.3
DCA 2
2.50%
$85,677.1
DCA 3
4.75%
$83,700.0
DCA 4
8.13%
$80,734.2
DCA 5
13.19%
$76,285.6
How Size Multiplier Works:
DCA 1
$2.00
DCA 2
$3.00
DCA 3
$4.50
DCA 4
$6.75
DCA 5
$10.13
Understanding the Calculator
Preview Mode
Before starting a bot, use Preview Mode to plan your strategy:
Enter any Entry Price to simulate different scenarios
Modify your Budget to see how much capital you need
All calculations update in real-time
The yellow warning "Calculator only (preview)" indicates you're in planning mode.
Price Chart
The interactive chart visualizes your strategy:
Order Price
Green (solid)
Where each DCA order triggers
Avg Entry
Blue (solid)
Your average entry price after each order
TP
Purple (dashed)
Take profit target price
Liq
Red
Liquidation price
Legend:
B = Base Order
D1-D8 = DCA Orders 1 through 8
Skull icon = Liquidation Point

Order Details Table
Each row represents an order with these columns:
#
Order label (Base, DCA 1, DCA 2, etc.)
Dev %
Price deviation from entry
Price
Trigger price for this order
Margin
USD margin for this order
Pos. Value
Position value (Margin Γ Leverage)
Size (BTC)
Coin quantity this order buys/sells
Total Margin
Cumulative margin up to this order
Avg Entry
Your average entry after this order fills
TP
Take profit price based on average entry
TP Profit
Dollar profit if TP hits at this level
Liq
Liquidation price at this order level
Status
Safety indicator

Order Status Indicators
Safe (green checkmark)
Order is healthy with sufficient margin buffer
Warning (orange)
Order approaches liquidation or exceeds budget
Liquidated (red)
Position would be liquidated at this price
Cancelled
Position closed before this order executes
Important: All orders should show "Safe" before starting your bot. The Safe Orders counter (e.g., "8/8") shows how many orders are safe out of your total.
Managing Your DCA Bots
DCA Bots Tab
Switch to the DCA Bots tab to view and manage your active bots:
Bot Name
Coin + "DCA Bot" (e.g., "FARTCOIN DCA Bot")
Status
Active or Stopped
Direction
Long, Short, or Smart
Leverage
Current leverage setting
Max DCA Orders
Number of safety orders
Price Deviation
Gap between orders
Price Deviation Multiplier
Gap scaling factor
Base Order Margin
Initial order size
DCA Order Margin
Safety order base size
DCA Order Size Multiplier
Order size scaling
Take Profit
TP percentage
Stop Loss
SL percentage (0.00% = disabled)
Bot Controls
Stop Bot (red button): Pauses the bot and closes all orders

Fee Structure
Dextrabot Fee
0.01% per trade
Extended Trading Fees
Standard exchange rates apply
Need help? Join our Discord community now!
Last updated