Skip to main content

Get Recent Backtest Performance

Outcome

Get performance data of the recent backtest of a particular strategy

Endpoint

Example Endpoint

  • PUT /broker/get_recent_backtest_details
    • Parameters:
      • strategy_keygen: Required. Keygen of the strategy (string)
    • Response:
      • 200 OK: A JSON object containing success message
      • 500 Internal Server Error: If an error occurs.

Parameters

Additional required parameter(s)

  • Authorization Header: Required for authentication. Should contain a valid JWT token.
  • Content-Type Header: Should be set to application/json for JSON data.

Example

Curl

curl --location 'https://hub2.trylevel2.com/broker/get_recent_backtest_details?strategy_keygen=58d2a373-b84c-4918-99e4-8f0561c5696c' \
--header 'Authorization: Bearer [token]'