My Stock Market Report (iOS27)

Tried using POKE to automate this, but after months of it just screwing up, I turned to shortcuts.

I let it write it’s own explanation :)

This shortcut generates a comprehensive financial market report by fetching real-time data and displaying it in a Quick Look panel.

Here is a breakdown of what it does:

  1. Fetches Market Data: It retrieves current and historical data from Yahoo Finance for major indexes (Dow Jones, S&P 500, Nasdaq), commodities (WTI Crude), currencies (EUR/USD, GBP/ USD), and Apple stock (AAPL).

  2. Calculates Changes: It calculates the price change and percentage change for each asset compared to its previous close.

  3. Determines Market Status: It checks the current day of the week and time to determine if the market is open, closed, or in pre-market/after-hours trading.

  4. Assesses Market Mood: It evaluates the performance of the major indexes to categorize the overall market mood as Bullish, Bearish, Neutral, or Mixed.

  5. Tracks Portfolio: It calculates the current value and total gain or loss for a hypothetical portfolio of 500 Apple shares.

  6. Formats the Report: It compiles all this information into a cleanly formatted text report, complete with color-coded status indicators for each asset.

  7. Displays the Result: Finally, it presents the finished report to you using Quick Look.

    Edit: the emoji colors are by design.. green = market up, red = down and inverted for oil, because up is a bad thing

    https://www.icloud.com/shortcuts/11e3c5e93fd64f3babc99d8ecf29a164