Archived Bots

Get Database Trades

Changed on

Get trade history from a database.

Args: db_path: Full path to the database file limit: Maximum number of trades to return offset: Offset for pagination

Returns: List of trades with pagination info

get/archived-bots/{db_path}/trades

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/archived-bots/{db_path}/trades
  • Auth
    HTTP basic

Path parameters

db_pathstring required

Query parameters

limitinteger

Limit number of trades returned

offsetinteger

Offset for pagination

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the response's body type changed from array to no type for status