Thanks to visit codestin.com
Credit goes to longbridge.github.io

Longbridge OpenAPI SDK
    Preparing search index...

    Class ScreenerContext

    Screener context

    Index

    Constructors

    Methods

    • Search / screen securities using a strategy or custom conditions.

      When strategyId is given (Mode A), the strategy is fetched from the AI endpoint and its filters drive the search. The market is taken from the strategy response.

      When strategyId is null / undefined (Mode B), conditions must be ScreenerCondition objects and market is used directly.

      filter_ is stripped from every items[].indicators[].key in the response before it is returned.

      Parameters

      • market: string
      • strategyId: number | null | undefined
      • conditions: ScreenerCondition[]
      • show: string[]
      • page: number
      • size: number

      Returns Promise<ScreenerSearchResponse>