Hierarchy

  • Finviz

Constructors

Properties

api: AxiosInstance
quoteCache: Map<string, Quote>
screenerCache: Map<string, string[]>
screenrerListCache: Set<Screener>

Methods

  • Parses a given HTML string from Finviz and returns a Quote object

    Parameters

    • html: string

      html string

    Returns Quote

    • quote object
  • Get quote data for a given symbol

    Parameters

    • symbol: string

      stock symbo, e.g. AAPL

    Returns Promise<undefined | Quote>

    • quote object
  • Parses a given HTML string from Finviz and returns an array of symbols

    Parameters

    • html: string

      html string

    Returns string[]

    • array of stock symbols
  • Gets a list of pre-defined screeners from Finviz

    Returns Promise<Screener[]>

    • array of available screeners
  • Returns a url for a given Finviz screener

    Parameters

    • screener: string

      Finviz screener name

    Returns Promise<string>

    • screener url
  • Given a Finviz screener url, returns an array of symbols

    Parameters

    • screener: string

      Finviz screener name or url

    Returns Promise<string[]>

    • array of stock symbols

Generated using TypeDoc