Deals
The Deal is a sub-entity of the DCA Bot. It represents a single automated transaction executed based on the bot's configured strategy.
The Deal entity holds the following information about:
- Order type
- Trading pair(s)
- Status of the deal
- Initial and realized trade amounts
- Initial and realized total values of the trade
- Price details, including entry, average, and final prices
- Position percentage reached during the trade
- Conditions related to trailing mechanisms and triggers (e.g., trailing stop enabled, trigger price)
Deals are created automatically by the DCA Bot based on predefined conditions and the selected trading strategy.
A Deal can include various trading stages or types, depending on the configuration, such as:
- Initial trade opening
- Trailing Take Profit execution
- Stop Loss activation
- Safety orders placement
- Final trade closure
Here, you can find methods and attributes to monitor, update, or analyze the details of deal.
GET
/ver1/dealsPOST
/ver1/deals/:deal_id/panic_sellPOST
/ver1/deals/:deal_id/panic_sell_stepPOST
/ver1/deals/:deal_id/cancelPOST
/ver1/deals/:deal_id/add_fundsPOST
/ver1/deals/:deal_id/update_max_safety_ordersPOST
/ver1/deals/:deal_id/cancel_orderPOST
/ver1/deals/:deal_id/convert_to_smart_tradePATCH
/ver1/deals/:deal_id/update_dealGET
/ver1/deals/:deal_id/showGET
/ver1/deals/:deal_id/market_ordersGET
/ver1/deals/:deal_id/data_for_adding_funds