market-data-sanity-checker - v1.2.0
    Preparing search index...

    Function readHistory

    • Reads the history of a symbol, most recent first. A missing file yields []; corrupt lines (invalid JSON or missing the minimal fields) are skipped.

      Parameters

      • dir: string
      • symbol: string
      • limit: number = DEFAULT_LIMIT

      Returns Promise<HistoryEntry[]>