TP/SL Tasks (copy trading)
This API is used to get the user's all TP/SL tasks (from copy trading)
URL
https://api-bot-v1.dbotx.com/automation/pnl_orders_from_follow_order?page={page}&size={size}&chain={chain}&state={state}&sourceId={sourceId}
Header
X-API-KEY
Parameters
{page}
{size}
{chain}
{state}
{sourceId}
Notes
1. X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard
2. In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)