IntegrationsSearch ToolsGoogle Finance

Google Finance

Description: Empower your agents to retrieve stock data using Arcade.

Author: Arcade

Code: GitHub

Auth: API Key

PyPI VersionLicensePython VersionsWheel StatusDownloads

The Arcade Google Finance toolkit lets you fetch real-time and historical stock data with ease. Use these tools to build intelligent agents and applications that fetch:

  • Stock summary data.
  • Historical stock data.

Available Tools

Tool NameDescription
GoogleFinance.GetStockSummaryRetrieve current price and recent price movement of a stock.
GoogleFinance.GetStockHistoricalDataFetch historical stock price and volume data for a specified time window.

If you need an action that’s not listed here, please contact us to request a new tool, or create your own tools.

GoogleFinance.GetStockSummary

Retrieve summary information for a given stock using the Google Finance API via SerpAPI. This tool returns the current price and price change from the most recent trading day.

Parameters

  • ticker_symbol (string, required): The stock ticker, e.g., ‘GOOG’.
  • exchange_identifier (string, required): The market identifier, e.g., ‘NASDAQ’.

GoogleFinance.GetStockHistoricalData

Fetch historical data for a given stock over a defined time window. This tool returns the stock’s price and volume data along with key events when available.

Parameters

  • ticker_symbol (string, required): The stock ticker, e.g., ‘GOOG’.
  • exchange_identifier (string, required): The market identifier, e.g., ‘NASDAQ’ or ‘NYSE’.
  • window (enum (GoogleFinanceWindow), optional, defaults to ONE_MONTH): Time window for the graph data.

Auth

The Arcade Google Finance toolkit uses the SerpAPI to get stock data from Google Finance.

  • Secret:
    • SERP_API_KEY: Your SerpAPI API key.

Setting the SERP_API_KEY secret is only required if you are self-hosting Arcade. If you’re using Arcade Cloud, the secret is already set for you. To manage your secrets, go to the Secrets page in the Arcade Dashboard.


Reference

GoogleFinanceWindow

Defines the time window for fetching stock data from Google Finance.

  • ONE_DAY: Represents a 1-day time window.
  • FIVE_DAYS: Represents a 5-day time window.
  • ONE_MONTH: Represents a 1-month time window.
  • SIX_MONTHS: Represents a 6-month time window.
  • YEAR_TO_DATE: Represents the time from the start of the year to the current date.
  • ONE_YEAR: Represents a 1-year time window.
  • FIVE_YEARS: Represents a 5-year time window.
  • MAX: Represents the maximum available time window.