# PaperColor Stock Ticker

用 M5Stack 彩色电子墨水屏显示美股盘前盘后行情的电池行情牌。

Battery-powered colour e-ink US stock ticker for the M5Stack PaperColor (ESP32-S3 + Spectra 6 e-paper). Pre-market and after-hours quotes, QR-code Wi-Fi setup, no API key. 墨水屏美股行情屏：扫码配网、盘前盘后、免 API Key。

用 M5Stack 彩色电子墨水屏显示美股盘前盘后行情的电池行情牌。

- id: lhfer-m5stack-papercolor-stock-ticker
- author: lhfer
- repository: https://github.com/lhfer/m5stack-papercolor-stock-ticker
- license: MIT
- shape: epaper
- scenes: art
- boards: ESP32-S3, M5Stack
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/lhfer-m5stack-papercolor-stock-ticker/
- html_zh: https://esp32gallery.com/zh/projects/lhfer-m5stack-papercolor-stock-ticker/
- json: https://esp32gallery.com/data/catalog/projects/lhfer-m5stack-papercolor-stock-ticker.json

## Hardware

ESP32-S3 / M5Stack. Verify the exact board revision, wiring and power requirements in the upstream build guide.

ESP32-S3 / M5Stack；请在上游构建文档中核对具体板型、供电与接线。

## English

```
On an M5Stack PaperColor — a 4-inch Spectra 6 colour e-paper panel with an ESP32-S3 behind it — this firmware wakes on a timer, pulls US quotes, paints the frame once and goes back to deep sleep, leaving the image on screen like a printed page. Pre-market, regular, after-hours and overnight sessions each get their own refresh interval, 30 minutes for pre-market and 15 for regular hours. It deliberately waits for a full repaint of 15–30 seconds rather than pretending to be a live ticker. Quotes come from Sina Finance's free public endpoint, so there is no API key and no account; up to 10 tickers are spread over pages of five. First boot paints a Wi-Fi QR code and a captive portal handles setup from a phone. Labels and the settings page are Chinese, and every printed clock time is Beijing time.
```

## 中文

```
M5Stack PaperColor 是 4 寸 Spectra 6 彩色墨水屏加一颗 ESP32-S3，这份固件让它定时醒来拉美股行情、整屏画一次再睡回去，画面留在屏上，像桌上摊开的一页报纸。盘前、盘中、盘后、隔夜各用各的刷新间隔，盘前 30 分钟一次，盘中 15 分钟一次。它不充当实时行情牌，因为彩色墨水屏整屏刷新要 15 到 30 秒，且没有局部刷新。行情取自新浪财经的免费公开接口，不用 API key 也不用注册账号；最多存 10 只股票，一页五只按按钮翻页。首次开机屏幕直接画出 WiFi 二维码，手机扫码进设置页填网络和代码，全程不用在设备上打字。界面文字和设置页是中文，打印出来的时间一律北京时间。
```
