Market Data Skill
This skill provides access to financial market data.
Tools
get_stock_price
Fetches OHLCV (Open, High, Low, Close, Volume) data for a specific ticker.
Parameters:
ticker (string): The stock symbol (e.g., "AAPL", "BTC-USD").
timeframe (string): The data interval. Supported: '1d', '1wk', '1mo'. Default: '1d'.
period1 (string, optional): Start date in YYYY-MM-DD format. Defaults to 30 days ago.
period2 (string, optional): End date in YYYY-MM-DD format. Defaults to today.
Usage:
Use this tool when the user asks for stock prices, historical data, chart data, or recent performance of a specific asset.
Examples:
- "Get daily data for Apple." ->
get_stock_price({ ticker: 'AAPL', timeframe: '1d' })
- "Show me Bitcoin's weekly chart for the last year." ->
get_stock_price({ ticker: 'BTC-USD', timeframe: '1wk', period1: '2023-01-01' })
get_crypto_price
Fetches current price and 24h volatility data for a crypto token.
Parameters:
token (string): The token name or ID (e.g., "bitcoin", "solana", "ethereum").
currency (string, optional): Target currency. Default: "usd".
Usage:
Use this for checking crypto prices, volatility, and 24h changes.
Examples:
- "Price of Solana?" ->
get_crypto_price({ token: 'solana' })
- "How is Bitcoin doing?" ->
get_crypto_price({ token: 'bitcoin' })
fetch_economic_calendar
Fetches upcoming high-impact economic events (e.g., CPI, FOMC, GDP).
Parameters:
importance (string, optional): Impact level filter. 'High', 'Medium', 'Low', 'All'. Default: 'High'.
currencies (string, optional): Comma-separated currency codes (e.g., 'USD,EUR'). Default: All.
Usage:
Use this to check for market-moving news or schedule risk.
Examples:
- "Any high impact news this week?" ->
fetch_economic_calendar({ importance: 'High' })
- "Check USD and EUR calendar." ->
fetch_economic_calendar({ currencies: 'USD,EUR' })
get_news_headlines
Fetches the latest 50 news headlines for a specific asset or topic.
Parameters:
query (string): The search topic (e.g., "Apple Stock", "Bitcoin Regulation", "Nvidia Earnings").
Usage:
Use this for sentiment analysis and staying updated on market narratives.
Examples:
- "Any news on Tesla?" ->
get_news_headlines({ query: 'Tesla Stock' })
- "Latest crypto regulation updates?" ->
get_news_headlines({ query: 'Crypto Regulation' })
1---2name: market-data-skill3description: This skill provides access to financial market data.4---5
6# Market Data Skill
7
8This skill provides access to financial market data.
9
10## Tools
11
12### `get_stock_price`
13
14Fetches OHLCV (Open, High, Low, Close, Volume) data for a specific ticker.
15
16**Parameters:**
17
18- `ticker` (string): The stock symbol (e.g., "AAPL", "BTC-USD").
19- `timeframe` (string): The data interval. Supported: '1d', '1wk', '1mo'. Default: '1d'.
20- `period1` (string, optional): Start date in YYYY-MM-DD format. Defaults to 30 days ago.
21- `period2` (string, optional): End date in YYYY-MM-DD format. Defaults to today.
22
23**Usage:**
24
25Use this tool when the user asks for stock prices, historical data, chart data, or recent performance of a specific asset.
26
27**Examples:**
28
29- "Get daily data for Apple." -> `get_stock_price({ ticker: 'AAPL', timeframe: '1d' })`
30- "Show me Bitcoin's weekly chart for the last year." -> `get_stock_price({ ticker: 'BTC-USD', timeframe: '1wk', period1: '2023-01-01' })`
31
32### `get_crypto_price`
33
34Fetches current price and 24h volatility data for a crypto token.
35
36**Parameters:**
37
38- `token` (string): The token name or ID (e.g., "bitcoin", "solana", "ethereum").
39- `currency` (string, optional): Target currency. Default: "usd".
40
41**Usage:**
42
43Use this for checking crypto prices, volatility, and 24h changes.
44
45**Examples:**
46
47- "Price of Solana?" -> `get_crypto_price({ token: 'solana' })`
48- "How is Bitcoin doing?" -> `get_crypto_price({ token: 'bitcoin' })`
49
50### `fetch_economic_calendar`
51
52Fetches upcoming high-impact economic events (e.g., CPI, FOMC, GDP).
53
54**Parameters:**
55
56- `importance` (string, optional): Impact level filter. 'High', 'Medium', 'Low', 'All'. Default: 'High'.
57- `currencies` (string, optional): Comma-separated currency codes (e.g., 'USD,EUR'). Default: All.
58
59**Usage:**
60
61Use this to check for market-moving news or schedule risk.
62
63**Examples:**
64
65- "Any high impact news this week?" -> `fetch_economic_calendar({ importance: 'High' })`
66- "Check USD and EUR calendar." -> `fetch_economic_calendar({ currencies: 'USD,EUR' })`
67
68### `get_news_headlines`
69
70Fetches the latest 50 news headlines for a specific asset or topic.
71
72**Parameters:**
73
74- `query` (string): The search topic (e.g., "Apple Stock", "Bitcoin Regulation", "Nvidia Earnings").
75
76**Usage:**
77
78Use this for sentiment analysis and staying updated on market narratives.
79
80**Examples:**
81
82- "Any news on Tesla?" -> `get_news_headlines({ query: 'Tesla Stock' })`
83- "Latest crypto regulation updates?" -> `get_news_headlines({ query: 'Crypto Regulation' })`