Level2 Build New Strategy API

The Build New Strategy API from Level2 — 1 operation(s) for build new strategy.

Operations 1

POST /build_new_strategy Build New Strategy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/level2-build-new-strategy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

level2-build-new-strategy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Level2 Hub Controller Build New Strategy API
  version: 0.1.0
tags:
- name: Build New Strategy
paths:
  /build_new_strategy:
    post:
      summary: Build New Strategy
      operationId: build_new_strategy_build_new_strategy_post
      parameters:
      - required: true
        schema:
          title: Symbol
          type: string
        name: symbol
        in: query
      - required: true
        schema:
          title: Timeframe
          type: string
        name: timeframe
        in: query
      - required: true
        schema:
          title: Strategy Name
          type: string
        name: strategy_name
        in: query
      - required: true
        schema:
          title: User Id
          type: string
        name: user_id
        in: query
      - required: false
        schema:
          title: Broker Id
          type: integer
        name: broker_id
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrategyPrefCustomOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Build New Strategy
components:
  schemas:
    StrategyOut:
      title: StrategyOut
      required:
      - id
      - keygen
      - backtest_type
      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
        timeframe:
          title: Timeframe
          type: string
        strategy_category:
          $ref: '#/components/schemas/StrategyCategoryOut'
        add_ons:
          title: Add Ons
          type: string
        broker_id:
          title: Broker Id
          type: integer
        is_copied:
          title: Is Copied
          type: integer
          default: 0
        is_notification:
          title: Is Notification
          type: integer
          default: 0
        backtest_type:
          title: Backtest Type
          type: string
        strategy_data:
          title: Strategy Data
          type: string
        canvas_data:
          title: Canvas Data
          type: string
        strategy_description:
          title: Strategy Description
          type: string
        created_at:
          title: Created At
          type: string
          format: date-time
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
    StrategyPrefCustomOut:
      title: StrategyPrefCustomOut
      required:
      - strategy
      - meta
      type: object
      properties:
        strategy:
          $ref: '#/components/schemas/StrategyOut'
        broker_id:
          title: Broker Id
          type: integer
        meta:
          $ref: '#/components/schemas/UserPreferenceOut'
    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
    UserPreferenceOut:
      title: UserPreferenceOut
      type: object
      properties:
        country:
          title: Country
          type: string
        trading_yoe:
          title: Trading Yoe
          type: string
        risk_class:
          title: Risk Class
          type: string
        language:
          title: Language
          type: string
        asset_class:
          title: Asset Class
          type: string
        notification_preference:
          title: Notification Preference
          type: string
        nudges_tracker:
          title: Nudges Tracker
          type: string
        walkthrough_status:
          title: Walkthrough Status
          type: string
        webhook:
          title: Webhook
          type: string
        send_email:
          title: Send Email
          type: string
        socials:
          title: Socials
          type: string
    StrategyCategoryOut:
      title: StrategyCategoryOut
      required:
      - id
      - label
      - description
      - is_valid
      type: object
      properties:
        id:
          title: Id
          type: integer
        label:
          title: Label
          type: string
        description:
          title: Description
          type: string
        is_valid:
          title: Is Valid
          type: string