openapi: 3.2.0 info: title: Level2 Hub Controller Backtest Strategy API version: 0.1.0 tags: - name: Backtest Strategy paths: /backtest_strategy: post: summary: Backtest Strategy operationId: backtest_strategy_backtest_strategy_post requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Body_backtest_strategy_backtest_strategy_post' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Backtest Strategy components: schemas: HTTPValidationError: title: HTTPValidationError type: object properties: detail: title: Detail type: array items: $ref: '#/components/schemas/ValidationError' ValidationError: title: ValidationError required: - loc - msg - type type: object properties: loc: title: Location type: array items: anyOf: - type: string - type: integer msg: title: Message type: string type: title: Error Type type: string Body_backtest_strategy_backtest_strategy_post: title: Body_backtest_strategy_backtest_strategy_post required: - strategy_name - strategy_keygen - strategy_data - data type: object properties: strategy_name: title: Strategy Name type: string strategy_keygen: title: Strategy Keygen type: string strategy_data: title: Strategy Data type: string data: title: Data type: string