Longbridge OpenAPI SDK
    Preparing search index...

    Class CalendarContext

    Financial calendar context — earnings, dividends, splits, IPOs, macro data.

    Index
    • Get financial calendar events.

      start and end are date strings in YYYY-MM-DD format. market is an optional market filter (e.g. "HK" or "US").

      The endpoint paginates: the server caps each response (historically 10 events per page unless a larger count is requested) and returns a nextDate cursor. To page through the full window, request a larger count, or re-call with the returned nextDate as start.

      • count — maximum number of events per page (server default when omitted).
      • offset — number of events to skip from the start of the window.
      • next — direction to page from the cursor.

      Parameters

      • category: CalendarCategory
      • start: string
      • end: string
      • Optionalmarket: string | null
      • Optionalcount: number | null
      • Optionaloffset: number | null
      • Optionalnext: CalendarPageDirection | null

      Returns Promise<CalendarEventsResponse>