Stock Return Thirty Days
Returns the percentage price return for a stock over the past 30 days. This is calculated from 31 days ago to yesterday's close.
What is Calculated
The function calculates:
- Start: Close price from 31 days ago
- End: Close price from yesterday
- Return: (End - Start) / Start
Parameters
| Parameter | Required | Description |
|---|---|---|
| Symbol | Yes | Stock ticker symbol |
Notes
- Returns are expressed as decimals (0.05 = 5% gain)
- Negative values indicate a decline
- Commonly used for monthly performance tracking
Examples
=StockReturnThirtyDays("AAPL")=StockReturnThirtyDays("MSFT")=StockReturnThirtyDays("SPY")Symbol from cell
=StockReturnThirtyDays("AAPL") * 100When to Use
- Monthly performance tracking
- Short-term trend analysis
- Comparing monthly price movements
- Monthly momentum screening
- Performance benchmarking
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Need 7-day return | StockReturnSevenDays() |
| Need 15-day return | StockReturnFifteenDays() |
| Need 3-month return | StockReturnThreeMonths() |
| Need 1-year return | StockReturnOneYear() |
| Need custom dates | StockReturn() |
Common Issues & FAQ
Q: Why am I getting "NA"? A: Check that:
- The symbol is valid
- The stock has been trading for at least 31 days
- Market data is available for the period
Q: How do I convert to percentage?
A: Multiply by 100:
=StockReturnThirtyDays("AAPL") * 100
Q: What time period exactly is used? A: The return is calculated from Today-31 days to Today-1 day (yesterday's close).
