Price Change (On Demand)
Gets the price change in dollars on-demand (snapshot) from QuoteMedia. This is the difference between the current price and the previous close.
Supported Symbol Formats
| Type | Format | Example |
|---|---|---|
| US Stocks | SYMBOL | AAPL, MSFT |
| ETFs | SYMBOL | SPY, QQQ |
| Indices | ^SYMBOL | ^SPX, ^VIX |
Notes
- Returns a snapshot (does not auto-update)
- Positive = stock is up; Negative = stock is down
- Change = Last - PreviousClose
Syntax
=QM_Change(Symbol)Examples
When to Use
- Static gain/loss reports
- One-time change lookups
- When streaming is not needed
- Snapshot reports
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Need streaming change | QM_Stream_Change() |
| Need percentage change | QM_ChangePercent() |
| Need streaming percent change | QM_Stream_PercentageChange() |
Common Issues & FAQ
Why doesn't the change update automatically?
This is an on-demand function. Use QM_Stream_Change() for auto-updating.
How do I get percentage change instead?
Use QM_ChangePercent() for on-demand or QM_Stream_PercentageChange() for streaming.
Why am I getting #N/A?
Check that symbol format is correct.
Excel Templates Using Price Change (On Demand)
These ready-made MarketXLS templates call QM_Change() in their worksheet formulas. Open one to see the function working inside a complete model.
