CoTrade Pool Simulator

The CoTrade Pool Simulator is a core analytical tool within DeCA that allows users to model, test, and optimize their DCA-based trading strategies before deploying real capital on-chain. It bridges the gap between concept and execution, providing a safe environment for users to experiment with risk levels, leverage settings, and capital allocation without financial exposure.

This feature reflects DeCA’s commitment to education, transparency, and responsible trading, empowering users to understand the dynamics of DCA futures trading before entering the market.


Purpose and Benefits

The CoTrade Pool Simulator serves several essential purposes:

  • Strategy Testing: Users can simulate DCA strategies under various market conditions to evaluate profitability and liquidation risk.

  • Risk Visualization: The simulator displays how changes in leverage, capital allocation, and DCA steps affect potential profit and loss.

  • Optimization: By adjusting variables, traders can find the optimal balance between risk management and potential reward.

  • Transparency and Learning: It provides insight into how DeCA’s automated DCA system functions before activation, building confidence for all participants.


Input Parameters

Users can configure multiple parameters to model their desired strategy. Each parameter interacts dynamically with others to provide a realistic representation of potential outcomes.

Configurable Inputs:

  • Side: Long or Short position selection.

  • Size: The base size of the position.

  • Leverage: Adjustable leverage ratio to amplify position exposure.

  • Entry Price: The initial market entry price.

  • Mark Price: The current price of the underlying asset.

In addition, the simulator allows users to fine-tune their DCA configuration, including:

  • Total Pool (USDC): Total simulated capital used for the strategy.

  • DCA Step Percent: The percentage price difference between each DCA layer.

  • DCA Amount per Step: The specific capital allocation for each DCA order.

  • Margin Allocation Ratio: Users can adjust the ratio between DCA funds and margin collateral for each simulation - a key feature that distinguishes DeCA from traditional trading systems.

By default, many trading platforms use a 50/50 allocation between margin and DCA. DeCA’s simulator allows this ratio to be customized freely for each simulation, giving traders deeper control over capital efficiency and risk management. However, users should note that once a CoTrade Pool is deployed, this allocation ratio cannot be changed until the pool ends, maintaining stability in live trading.


Output Metrics

After configuring parameters, the simulator instantly calculates and displays detailed analytical results, providing a full risk-reward breakdown of the strategy.

Displayed Results Include:

  • Final Position Size: The total size of the position after all DCA steps are executed.

  • Average Entry Price: The weighted average entry price after applying all DCA layers.

  • Liquidation Price: The estimated liquidation threshold based on leverage and margin ratio.

  • Total Margin: The cumulative margin required for the simulated setup.

  • Unrealized PnL: Real-time profit or loss based on the mark price.

  • ROE% (Return on Equity): The simulated return percentage on margin.

  • Total DCA Steps: The total number of DCA orders executed in the simulation.

  • Risk Level Indicator: A color-coded visualization representing the overall safety of the strategy (e.g., low, medium, high).

This immediate feedback allows users to adjust parameters in real time, testing multiple configurations and identifying the most stable and efficient setup before going live.


DCA Simulation Results and Insights

The DCA Simulation Results section consolidates all relevant data into an intuitive dashboard. Here, users can analyze the effects of DCA spacing, leverage scaling, and capital allocation under different market conditions.

Key Insights Provided:

  • How DCA reduces average entry cost over time.

  • How position size expansion impacts potential liquidation risk.

  • How margin and DCA ratio adjustments alter the return profile.

  • How market volatility affects long-term profitability under DCA strategies.

These insights are invaluable for both new and experienced traders, helping them design strategies that are data-driven and capital-efficient.


Educational and Strategic Value

Beyond being a technical tool, the CoTrade Pool Simulator is an educational gateway for users to learn about futures trading mechanics, leverage dynamics, and DCA resilience. It transforms theoretical understanding into practical, interactive learning, encouraging responsible and informed trading behavior.

For advanced users, the simulator can also serve as a research tool, enabling the design of sophisticated CoTrade strategies and optimization of shared pool configurations before public deployment.

Last updated