Description: Returns the list of geals. Use the query parameters to page through results
Permission: BOTS_READ
Security SIGNED
GET
/ver1/deals
Query Parameters
bot_idinteger
Filters by the unique ID of the 3Commas DCA Bot
account_idinteger
Filters entities linked to the specified 3Commas exchange account
limitinteger
Limits the number of records returned
Maximum: 1000, Default: 50
offsetinteger
Skips the first N records in the results
fromstring
Returns entities created after a specific time
tostring
Returns entities created before a specific time
scopestring
Filters deals by their status
Default: null
Allowed value
active - active deals;
finished - finished deals;
completed - successfully completed;
cancelled - cancelled deals;
failed - failed deals;
null - all deals
orderstring
Specifies the field used to order the results
Valid fields for ordering: created_at; updated_at; closed_at; profit; profit_percentage. Default: created_at
order_directionstring
Sets the direction of order: ASC or DESC
Default: DESC