Stock Monitor: A-share Stock Alerts with US Market and ETF Support

📅 November 9, 2026

Introduction

Stock Monitor is a C++ service I built that can be deployed as an online web service to monitor technical indicators — such as MACD golden crosses — on A-share stocks and ETFs, firing off an email alert when a threshold is triggered.

Written in C++, it has a tiny memory footprint and sips server resources, keeping hosting costs down.

  1. Beyond individual stocks, it also monitors on-exchange ETFs. As most traders know, ETFs have lower trading costs and let you avoid single-name risk.
  2. Indicator monitoring is parameterized — MACD periods, for example, are fully customizable.

Key technical components:

  • Multi-source data fallback;
  • A-share and US market support; stocks and ETFs;
  • HTTP networking;
  • K-line parsing and technical indicator computation with configurable parameters;
  • Trading-day and trading-hours detection;
  • Email delivery;
  • Production web deployment: authentication, firewall, hardening.

I’m running it for my own use. Due to certain constraints I can’t offer it as a public service — you’ll need to deploy the software yourself.

Disclaimer

This software and the content of this page are provided for technical learning and personal research only, and do not constitute investment advice, stock recommendations, or trading guidance. Indicator signals and alerts produced by the software are merely objective renderings of technical calculations and imply no judgment or guarantee regarding the future performance of any security. Markets carry risk; invest with caution. Any investment decision made on the basis of this software, and any profit or loss arising therefrom, is solely the responsibility of the user. The author assumes no liability.

💬 Comments