Get Trade Details of a Strategy
Outcome
Get information on the trades triggered when a strategy has been deployed in Prod.
Endpoint
Example Endpoint
- PUT /broker/get_all_trades_by_user_strategy
- 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:
Parameters
Additional required parameter(s)
Authorization
Header: Required for authentication. Should contain a valid JWT token.Content-Type
Header: Should be set toapplication/json
for JSON data.
Example
Curl
curl --location 'https://hub2.trylevel2.com/broker/get_all_trades_by_user_strategy?strategy_keygen=58d2a371-b84c-4928-99e4-8f0561c5696c' \
--header 'Authorization: Bearer [token]'