Overlaying Timestamped News on Candlestick Charts for Manual Trading
Summary
This article describes a market monitoring tool that displays timestamped news alongside candlesticks. It retrieves flash updates and articles through an MCP-connected news source, converts differing response formats into a common structure, sorts and deduplicates items, and refreshes a cache. Keyword filters then select which headlines appear as chart markers, aligned to the bar matching each item’s timestamp. A separate status panel brings together market data, account and position information, and recent news. Manual commands can submit or close orders, so the system combines information display with human-directed execution.
The article illustrates the design with code and an example of oil prices moving amid statements related to US strikes on Iran. It does not test whether the display improves trading decisions or returns. News is matched to bars by time only; keyword hits can miss important stories or flag irrelevant ones, and the system does not assess whether a story is bullish or bearish. The author also notes that human reaction may be too slow when prices respond within seconds or minutes.
Key ideas
- A common data structure lets chart and filtering logic work across news sources with different fields.
- News markers are placed on the candlestick bar corresponding to each item's timestamp.
- Keyword filters reduce chart clutter but do not establish a story's market importance or direction.
- The panel combines news and account information while leaving trade decisions to the user.
- Timestamp alignment and human response speed limit the approach's usefulness for fast events.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.