Firstrade API Node - v1.0.2
    Preparing search index...

    Class OptionQuote

    Data class representing an option quote for a given symbol.

    Index

    Constructors

    • Initialize a new instance of the OptionQuote class.

      Parameters

      • ftSession: FTSession

        The session object used for making HTTP requests to Firstrade.

      • symbol: string

        The symbol for which the option quote information is retrieved.

      Returns OptionQuote

    Properties

    ftSession: FTSession
    symbol: string

    Methods

    • Retrieve the greeks for options on a given symbol.

      Parameters

      • expDate: string

        The expiration date of the options.

      Returns Promise<any>

      A Promise resolving to a dictionary containing the greeks.

    • Retrieve the expiration dates for options on a given symbol.

      Returns Promise<any>

      A Promise resolving to a dict of expiration dates and other information.

    • Retrieve the quote for a given option symbol.

      Parameters

      • date: string

        The expiration date of the options.

      Returns Promise<any>

      A Promise resolving to a dictionary containing the quote and other information.