Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
FRED_API_KEY | No | Your FRED API key for enhanced macroeconomic data access |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
chacteristics | Characteristics of good investors. |
mode_instructions | Mode instructions. |
investment_principles | Provides a set of core investment principles and guidelines. |
portfolio_construction_prompt | Outlines a portfolio construction strategy that uses tail-hedging via married put. |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
cnn://fng/current | |
cnn://fng/history | |
time://now | |
cnbc://news |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_ticker_data | Get comprehensive report for ticker: overview, news, metrics, sector / industry valuation, performance, dates, analyst recommendations, and upgrades/downgrades. |
get_price_history | Get historical price data digest for specified period. There're two kinds of response mode: 1. The period mode. It will generate a digest for LLM consumption. Usually get at least 3 months, 6 months or more. The response includes OCHLCV samples, Technical Indicators (by ta-lib) , Risk Metrics, and other quantitative analysis. 2. The start_date and end_date mode. Once the start_date (yyyy-mm-dd) and end_date (yyyy-mm-dd) are specified, it will generate a raw OCHLCV data in the slot. And no digest will be generated in this mode. Useful for checking the price history of a specific short date range. |
get_financial_statements | Get financial statements. Types: income, balance, cash. Frequency: quarterly, annual. |
get_earnings_history | Get earnings history with estimates and surprises. |
get_ticker_news_tool | For getting yahoo financial news of a ticker. Useful for getting latest news, especially for doing deep research. |
super_option_tool | Analyzes and summarizes option data for a given ticker.
This function retrieves option indicators and Greeks for the specified ticker,
generates a digest summarizing key metrics, and formats a table of key option
data including last trade date, strike, option type, open interest, volume,
and implied volatility.
Args:
ticker: Stock ticker symbol.
|
get_top25_holders | Get top 25 institutional holders and their changes for a given stock ticker. |
get_insider_trades | Get recent insider trading activity. |
get_overall_sentiment_tool | Get comprehensive market sentiment indicators including:
- CNN Fear & Greed Index (score and rating)
- Market RSI (Relative Strength Index)
- VIX (Volatility Index)
Returns:
str: Formatted string containing all three indicators with their current values |
get_historical_fng_tool | Get historical CNN Fear & Greed Index data for a specified number of days.
Parameters:
days (int): Number of days of historical data to retrieve (limited by the API).
Returns:
str: Historical Fear & Greed Index values for the specified period. |
analyze_fng_trend | Analyze trends in CNN Fear & Greed Index over specified days.
Parameters:
days (int): Number of days to analyze (limited by available data).
Returns:
str: A string containing the analysis results, including latest value,
average value, trend direction, and number of data points analyzed. |
calculate | Calculate the result of a mathematical expression. Support python math syntax and numpy. > calculate("2 * 3 + 4") {'result': 10} > calculate("sin(pi/2)") {'result': 1.0} > calculate("sqrt(16)") {'result': 4.0} > calculate("np.mean([1, 2, 3])") {'result': 2.0} |
get_current_time | Get the current time in ISO 8601 format. |
get_fred_series | Get a FRED series by its ID. However the data is not always the latest, so use with caution!!! |
search_fred_series | Search for the most popular FRED series by keyword. Useful for finding key data by name. Like GDP, CPI, etc. However the data is not always the latest. |
cnbc_news_feed | Get the latest breaking world news from CNBC, BBC, and SCMP. Useful to have an overview for the day. Include the Fed rate prediction from Fed watch and key macro indicators. |
social_media_feed | Get most discussed stocks and investments opinions from reddit. Useful to know what investors are talking about. keywords is optional. Set keywords to match the specific topic you are interested in, by 'OR' operator, e.g. ['tsla', 'tesla'], ['tesla', 'spacex'], ['AAPL', 'apple', 'tim cook', 'cook'] No keywords will return the most discussed stocks and investments. |