The Grok Portfolio White Paper
The Grok Portfolio follows an investment strategy that harnesses Grok’s analytical capabilities. By leveraging the latest advancements in artificial intelligence, the system provides systematically curated stock and sector selections. One of its standout features is using LLMs to derive investment scores that guide portfolio decisions.
Core Investment Rules
The portfolio uses a structured investment approach:
- Composition: 15 individual assets that can include individual stocks or ETFs selected by Grok per the analysis process discussed below.
- Holding Period: All assets are held for one month
- Monthly Rebalancing: At month-end, the system conducts a complete analysis to select the top 15 assets and rebalances accordingly
AI-Powered Analysis System
A key distinction of our system is its method of keeping Grok current with market conditions. Since these models don't have real-time market knowledge, we provide them with the latest information through a systematic process:
The analysis integrates multiple data streams:
- Economic Context
- Comprehensive AI-generated economic reports using the latest information about current market conditions and global events
- Company-Level Information
- Financial ratios and metrics
- Recent price movements and technical indicators
- Current news and announcements
Scoring Methodology
The system employs carefully crafted prompts to ensure consistent and meaningful analysis. The prompts used to generate analyses of certain sectors and individual companies are disclosed in Exhibit 1.
Portfolio Construction Process
The system follows a systematic monthly process:
- Macro Analysis
- Collection of economic indicators and trends
- Analysis of significant global events
- Generation of a comprehensive economic report
- Individual Stock Score
- Analysis of S&P 500 companies
- Integration of company-specific news and data
- AI scores using firm-specific, sector, and macro information
- Pre-selection of the top 30 companies based on the scores
- Portfolio Balance
- Allocation is decided by LLMs to provide a diversified portfolio that does well under current conditions
- Monthly rebalancing to maintain target allocations
Risk Management
The system incorporates several risk management features:
- Diversification across multiple sectors and companies
- Regular monthly rebalancing
- Systematic scoring process
- Multiple data sources
Conclusions
The Grok Portfolio represents a shift in investment management, placing AI at the core of the investment process. Through its analysis and the unparalleled capabilities of LLMs, it offers a systematic approach to navigating market complexities. While all investing carries inherent risks, the Grok Portfolio leverages cutting-edge technology to provide a disciplined, data-driven investment approach.
The system's success relies on three key elements:
- Systematic data collection and processing
- Sophisticated AI analysis through structured prompts
- Disciplined portfolio construction and rebalancing
This combination of technological innovation and investment discipline creates a unique approach to portfolio management that aims to capitalize on the analytical power of AI while maintaining rigorous investment principles.
Exhibit 1 - Prompts
Firm prompt:
"Pretend you are a financial expert with stock recommendation experience.\n"
"Speak in the third person."
"You do not mention your credentials.\n"
f"Macro-economic data for context:\n{macro_news}\n"
"Based on the provided financial data and news headlines,"
" please assign a score (from 1 to 100) reflecting the potential investment value of"
f" company {company_name} in the {industry} industry for the next month.\n"
"First, write a short investment report about the firm situation.\n"
"Include sections of recent news, financials, valuations, and economic outlook affecting the firm.\n"
"Do not recommend alternatives.\n"
"Do not mention the word 'provided' instead use 'recent' or 'latest'."
"Do not speak directly to investors nor recommend actions.\n"
"Start with 'Investment Report:'\n"
"Finally, in a new line, output Score: X."
Exhibit 2 - Data sources
- Wikipedia
- https://stocknewsapi.com/
- https://finance.yahoo.com/
Exhibit 2A
For each firm, the news inputs are all past week’s news headlines with summaries from the following news outlets:
- 24/7 Wall Street
- Accesswire
- After Earnings (video)
- Barrons
- Benzinga
- Bloomberg Markets and Finance (video)
- Bloomberg Technology (video)
- Business Insider
- Business Wire
- CNBC
- CNBC International TV
- CNBC Television
- CNET
- CNN
- CNN Business
- Cheddar Videos
- Deadline
- Digital Trends (video)
- Discount The Obvious
- ETF Trends
- ETF.com
- Engadget (video)
- Fast Company
- Finbold
- Forbes
- Fox Business
- FreightWaves
- FXEmpire
- GeekWire
- Globe News Wire
- Green Stock News (video)
- GuruFocus
- Huffington Post
- InsiderTrades
- Investopedia
- Investor Place
- Investors Business Daily
- Invezz
- Kiplinger
- Kitco
- Marijuana Stocks
- Market Watch
- Mcap MediaWire
- Millennial Money
- Morningstar Inc.
- New York Times
- New York Post
- Newsfile Corp
- MarketBeat
- MCAP MediaWire
- Penny Stocks
- Proactive Investors
- PYMNTS.com
- PR Newswire
- Pulse2
- Reuters
- Schaeffers Research
- Schwab Network (video)
- See It Market
- Seeking Alpha
- Skynews
- Stock Market.com
- TechCrunch
- TechXplore
- The Dog of Wall Street
- The Financial News
- The Guardian
- The Motley Fool
- The Street (video)
- The Verge (video)
- VentureBeat
- Wall Street Journal (articles)
- Wall Street Journal (video)
- Yahoo Finance (video)
- Zacks Investment Research
Exhibit 2B
For firms financials, we use the most recent available information about these variables:
- Previous Close Price
- Opening Price
- Lowest Price of the Day
- Highest Price of the Day
- Previous Close Price (Regular Market)
- Opening Price (Regular Market)
- Lowest Price of the Day (Regular Market)
- Highest Price of the Day (Regular Market)
- Annual Dividend Rate
- Dividend Yield
- Payout Ratio (Dividend Payout as Percentage of Earnings)
- Five-Year Average Dividend Yield
- Beta (Volatility Measure)
- Price-to-Earnings Ratio (Trailing 12 Months)
- Price-to-Earnings Ratio (Forward 12 Months)
- Daily Volume of Shares Traded
- Daily Volume of Shares Traded (Regular Market)
- Average Volume of Shares Traded
- Average Volume of Shares Traded (Last 10 Days)
- Average Daily Volume of Shares Traded (Last 10 Days)
- Bid Price
- Ask Price
- Bid Size (Number of Shares)
- Ask Size (Number of Shares)
- Market Capitalization
- 52-Week Low Price
- 52-Week High Price
- Price-to-Sales Ratio (Trailing 12 Months)
- 50-Day Moving Average Price
- 200-Day Moving Average Price
- Annual Dividend Rate (Trailing 12 Months)
- Dividend Yield (Trailing 12 Months)
- Trading Currency
- Enterprise Value
- Profit Margins
- Float Shares (Shares Available to Public)
- Shares Outstanding
- Shares Sold Short
- Shares Sold Short in the Previous Month
- Short Interest Date of Previous Month
- Most Recent Short Interest Date
- Short Interest as Percentage of Outstanding Shares
- Insider Holdings Percentage
- Institutional Holdings Percentage
- Short Ratio (Days to Cover Short Positions)
- Short Interest as Percentage of Float
- Implied Shares Outstanding
- Book Value per Share
- Price-to-Book Ratio
- Last Fiscal Year End Date
- Next Fiscal Year End Date
- Most Recent Quarter Date
- Earnings Growth (Quarterly)
- Net Income to Common Stockholders
- Earnings per Share (Trailing 12 Months)
- Earnings per Share (Forward 12 Months)
- Price/Earnings to Growth (PEG) Ratio
- Last Stock Split Factor
- Last Stock Split Date
- Enterprise Value to Revenue Ratio
- Enterprise Value to EBITDA Ratio
- 52-Week Price Change Percentage
- S&P 500 52-Week Price Change Percentage
- Last Dividend Value
- Last Dividend Payment Date
- Highest Target Price (Analyst Forecast)
- Lowest Target Price (Analyst Forecast)
- Mean Target Price (Analyst Forecast)
- Median Target Price (Analyst Forecast)
- Recommendation Mean (Analyst Consensus)
- Recommendation Key (Analyst Rating)
- Number of Analyst Opinions
- Total Cash
- Cash per Share
- EBITDA (Earnings Before Interest, Taxes, Depreciation, and Amortization)
- Total Debt
- Quick Ratio (Liquidity Measure)
- Current Ratio (Liquidity Measure)
- Total Revenue
- Debt-to-Equity Ratio
- Revenue per Share
- Return on Assets (ROA)
- Return on Equity (ROE)
- Free Cash Flow
- Operating Cash Flow
- Earnings Growth Rate
- Revenue Growth Rate
- Gross Profit Margins
- EBITDA Margins
- Operating Margins
- Financial Currency
- Price/Earnings to Growth (PEG) Ratio (Trailing)
- Audit Risk Level
- Board Risk Level
- Compensation Risk Level
- Shareholder Rights Risk Level
- Overall Risk Level
Exhibit 2C
For the macro news, we use the past week’s news about general markets from the same sources as in Exhibit 2A. Additionally, we include current events from https://en.wikipedia.org/wiki/2025, https://en.wikipedia.org/wiki/2024_in_the_United_States
https://en.wikipedia.org/wiki/2025, https://en.wikipedia.org/wiki/2025_in_the_United_States
Exhibit 2D
For the macroeconomic events, we additionally use DeeperSearch from grok-3 with the following prompt:
Here are some events and context to update your knowledge information cutoff.
(Insert info here from previous steps)
Provide a complete expected timeline of the most important economic and political events for the next three months in the USA. Not only the scheduled events and known forecasts. Also, provide your best expectations about the realization of these events. Pay special attention to the next month. I also want a table with your forecast for interest rates, inflation, tariffs, and other economic events for the next month and quarter. Not only what analysts and the market expect. Provide your expectations based on your research and compare them with the market’s expectations.
Exhibit 2E
We then use the following prompt for the final allocation
Now, I want a 15-asset portfolio where we will invest for the next month (rebalancing in one month) in a table with weight, thesis, edge, and risk. Weight this portfolio to perform positively given the market conditions and to beat the S&P 500. We have the following reports for the stocks that were scored the highest:
(Insert top scores here)
However, we can also invest in most ETFs (except short, leveraged, or vol because of the monthly horizon), including but not limited to market, sectors, TIPS, and long and short-term bonds. You decide the weights do not have to include any or all of the stocks or instruments mentioned.
Remember, a 15-asset portfolio where we will invest for the next month (rebalancing in one month) in a table with weight, instrument type, thesis, edge, and risk. You can use both the stock info and your macro expectations, as well as reasoning about the future and markets.
Exhibit 4
History of trades can be found on the Autopilot app here.