get_stock_price
Retrieve real-time stock prices for crypto-related companies by providing a ticker symbol. Returns an ASCII table with ticker, company name, price, and timestamp.
Instructions
Get real-time price for a specific stock in a table format.
Args:
ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase).
Returns:
str: An ASCII table string containing the ticker, company name, current price, and timestamp.
Returns an error message if the ticker is invalid.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ticker | Yes |
Input Schema (JSON Schema)
{
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "get_stock_priceArguments",
"type": "object"
}