Action that retrieves current stock price and related information for a specified ticker symbol using the Yahoo Finance API through a public proxy that doesn't require an API key.

Example

// Get stock price for Apple
await runAction({
ActionName: 'Get Stock Price',
Params: [{
Name: 'Ticker',
Value: 'AAPL'
}]
});

// Get stock price for Microsoft
await runAction({
ActionName: 'Get Stock Price',
Params: [{
Name: 'Ticker',
Value: 'MSFT'
}]
});

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Executes the action with the provided parameters.

    Parameters

    • params: RunActionParams<any>

      The action execution parameters including context

    Returns Promise<ActionResultSimple>

    Promise resolving to the action result