How to match trades on Testnet

  • Updated

Since the testnet is a synthetic environment, it does not mirror the liquidity of the live platform. However, you can still simulate trade executions by placing orders between your main testnet account and a subaccount. In this sense, you effectively become your own counterparty however as the test-net does not use real cryptocurrency/money, there is no financial risk involved.

Step-by-Step Guide:

  1. Create a Subaccount

    Follow the guide here: Subaccounts

  2. Enable Self-Matching

    Ensure self-matching is allowed by adjusting your settings: Trading Account settings

  3. Fund Your Accounts

    Use synthetic Dericoins to fund your testnet accounts. You can deposit test funds easily: Depositing test funds to your testnet account

Matching Trades

Once everything is set up:

  • Place a limit order from your main testnet account on a selected instrument.

  • Log into your subaccount, go to the same instrument, and place a market or opposite limit order to match the trade.

Note

Self-matching only works if the self-match prevention setting is disabled. Make sure it’s configured correctly in your account settings.

This way, you act as your own counterparty to simulate fills—perfect for testing trading logic, APIs, or order behavior.