Customized Stock Monitoring Configuration Guide
Base Configuration Path::
1. Modify theconfig.py
file
2. PositioningUS_MARKET_SYMBOLS
parameter term
3. Add the stock code in the sample format:["AAPL", "TSLA", "MSFT"]
(Note the retention of English quotation marks and square brackets)
Advanced Configuration Tips::
– Industry group monitoring: multiple symbol groups can be created to correspond to different profiles
– Priority processing settings: inNEWS_PRIORITY_RULES
Set up keyword matching rules (e.g. "earning" is prioritized for analysis).
– Push Differentiation: by modifying thePUSHPLUS_TOPIC
Realize different stock push to different wechat topics
Configuration process::
1. A restart of the service is required after saving the configuration file:python -m MarketPulse.daemon_manager restart
2. The system will scan the news every 30 minutes (by default), when the target stock code appears:
- In the log mark [Priority] identification
- Elevate the priority of the AI analytics queue
- Push title highlighted with ★ symbol
Validation Methods::
- check outlogs/market_pulse.log
Search Target Stock Code
- Verify code validity on Finnhub test page (e.g. TSLA corresponds to Tesla)
This answer comes from the articleMarketPulse: a service that pushes AI analytics on financial news in real timeThe