Pebble App Framework: Phone API
    Preparing search index...

    Function parseSymbols

    • Splits a comma list of tickers into clean uppercase symbols. A junk or over-long entry is dropped, and the list is capped.

      Parameters

      • raw: unknown

        The comma-separated symbols as saved on the settings page, or anything else that landed there.

      • max: number

        The most tickers to keep, in the order given.

      Returns string[]

      The cleaned, capped list of symbols.