ABCEx (Under Development)
Go to the "Trade Actions" section ➔ "Add Action," enter a name for the trade action in the "Title" field, select ABCEx from the dropdown menu in the "Module" field, leave the status as "Active Action," and click "Save."

Enter the API key provided by the exchange representative (leave the "Domain" field empty) and save the changes.

In the module, you can create one of two actions — "Sell" or "Buy."


Examples of Trade Actions:
Example 1:
Action "Sell", exchange direction USDT TRC20 to BTC, with currencies selected in the trade action as "Currency Code" for buying — USDT and selling — RUB, amount from the request "Give".
The client creates a request to receive 0.0012 BTC (~100 USDT) and pays for it. At this point (if the trade action is set to execute after the "Awaiting Merchant Confirmation" status), the exchange will execute a sell order for USDT to RUB for the request amount (provided there is sufficient balance to complete the action).
Example 2:
Action "Sell", exchange direction USDT TRC20 to BTC, with currencies set to "Auto" for both buying and selling, amount "Give".
The client creates a request to receive 0.0012 BTC (~100 USDT) and pays for it. At this point, the exchange will execute a buy order for BTC using USDT for the request amount.
Example 3: Action "Sell", exchange direction BTC to USDT TRC20, with currencies set to "Auto" for both buying and selling, amount "Receive". The client creates a request to receive 100 USDT and pays for it. At this point, the exchange will execute a buy order for BTC using USDT for the request amount. Example 4: Action "Sell", exchange direction USDT TRC20 to RUB, with currencies set to "Auto" for both buying and selling, amount "Receive". The client creates a request to receive 8500 RUB (~100 USDT) and pays for it. At this point, the exchange will execute a buy order for USDT using RUB for the request amount.
Please note that you can create actions for step-by-step exchanges of one currency into another through intermediate currencies. Most often, when there is no direct pair Currency 1 ➔ Currency 2 on the exchange, the exchange is performed via the stablecoin USDT (TRC20) (Currency 1 ➔ USDT ➔ Currency 2), but you can also use alternative options.
For step-by-step exchanges, you need to:
Create 2 trade actions: Sell (Currency 1 ➔ USDT) and Buy (USDT ➔ Currency 2)
Select the same exchange directions and execution statuses in the "Addition Settings" block of the trade action settings
Set the execution order: 1 — for the Sell action, 2 — for the Buy action
To ensure the trade action executes correctly, it is also important to select a currency pair that is traded on the ABCEx exchange in the "Currency Code" and "Trading Currency Code" fields. If you select "Auto," the currencies will be selected automatically (see examples above).
Currently available pairs are USDT/RUB and BTC/USDT (and their reverse pairs).

If you select currencies that do not form a pair, the trade action will fail with an error during execution.
Last updated