openapi: 3.2.0 info: title: Level2 Hub Controller Get Broker User Stats API version: 0.1.0 tags: - name: Get Broker User Stats paths: /get_broker_user_stats: get: summary: Get Broker User Stats operationId: get_broker_user_stats_get_broker_user_stats_get parameters: - required: true schema: title: Passcode type: string name: passcode in: query - required: false schema: title: Page minimum: 1.0 type: integer default: 1 name: page in: query - required: false schema: title: Size maximum: 100.0 minimum: 1.0 type: integer default: 50 name: size in: query responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/Page_LiveDeploymentOrderBookBrokerUserStats_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Get Broker User Stats components: schemas: UserSelectedCustomOut: title: UserSelectedCustomOut required: - email type: object properties: email: title: Email type: string degree: title: Degree type: string LiveDeploymentOrderBookBrokerUserStats: title: LiveDeploymentOrderBookBrokerUserStats required: - user - quantity - trade_taken_at - decision - strategy type: object properties: id: title: Id type: integer meta_data: title: Meta Data type: string user: $ref: '#/components/schemas/UserSelectedCustomOut' quantity: title: Quantity type: string trade_taken_at: title: Trade Taken At type: string decision: title: Decision type: string created_at: title: Created At type: string format: date-time trade_closed_at_ts: title: Trade Closed At Ts type: string format: date-time trade_closed_at: title: Trade Closed At type: string strategy: $ref: '#/components/schemas/StrategySelectedCustomOut' HTTPValidationError: title: HTTPValidationError type: object properties: detail: title: Detail type: array items: $ref: '#/components/schemas/ValidationError' Page_LiveDeploymentOrderBookBrokerUserStats_: title: Page[LiveDeploymentOrderBookBrokerUserStats] required: - items - total type: object properties: items: title: Items type: array items: $ref: '#/components/schemas/LiveDeploymentOrderBookBrokerUserStats' total: title: Total minimum: 0.0 type: integer page: title: Page minimum: 1.0 type: integer size: title: Size minimum: 1.0 type: integer pages: title: Pages minimum: 0.0 type: integer 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 StrategySelectedCustomOut: title: StrategySelectedCustomOut required: - id - keygen type: object properties: id: title: Id type: integer keygen: title: Keygen type: string strategy_name: title: Strategy Name type: string symbol: title: Symbol type: string is_deleted: title: Is Deleted type: integer default: 0 strategy_data: title: Strategy Data type: string canvas_data: title: Canvas Data type: string timeframe: title: Timeframe type: string broker_id: title: Broker Id type: integer cached: title: Cached type: string created_at: title: Created At type: string format: date-time