Get User Strategy Performance
Outcome
Retrieve performance information for a specific user's strategy.
Endpoint
Example Endpoint
- GET /broker/get_user_strategy_performance
- Query Parameters:
strategy_id
: Required. ID of the strategy (integer)deployment_id
: Required. ID of the strategy deployment (integer)
- Response:
- 200 OK: A JSON object containing performance metrics for the specified strategy deployment
- 500 Internal Server Error: If an error occurs.
- Query Parameters:
Parameters
Additional required parameter(s)
Authorization
Header: Required for authentication. Should contain a valid token.Content-Type
Header: Should be set toapplication/json
for JSON data.
Example
Curl
curl --location "https://hub2.trylevel2.com/broker/get_user_strategy_performance?strategy_id=123&deployment_id=456" \
--header "Authorization: Bearer [token]" \
--header "Content-Type: application/json"