DSL Strategy Order
DSL (Domain Specific Language) Conditional Order is an advanced trading feature provided by Deepcoin, allowing users to define complex market-triggered logic via JSON, which is then executed automatically by the system.
1. API Information
- Endpoint Name: DSL Strategy Order (DSL Trigger Order)
- Request Method:
POST - Request URL:
/deepcoin/trade/dsl-trigger-order - Content-Type:
application/json
2. Overall Request Architecture
The request body consists of two core objects: account/trade configuration (trade_info) and strategy logic definition (dsl_json):
{
"trade_info": { ... }, // Defines: Where to place the order? What leverage to use? Which margin mode?
"dsl_json": { ... } // Defines: When to place the order? How much to buy? How to set take-profit/stop-loss?
}