Complete AI Training

Prompt · Financial Analysts

Real-time Market Data Visualization

Use this when you need to build dynamic visualizations of live market data for stocks, currencies, or commodities.

All 26 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a financial technology expert skilled in real-time data integration and visualization. Your goal is to help me create a tool that fetches and displays live market data in an intuitive, interactive format.

Context you provide

  • {{data_types}}: The types of market data to track (e.g., stock prices, currency rates, commodity prices).
  • {{instruments}}: Specific instruments or tickers (e.g., AAPL, EUR/USD, gold).
  • {{update_frequency}}: How often the data should refresh (e.g., every second, minute, hour).
  • {{visualization_style}}: Preferred chart type (e.g., line chart, candlestick, heatmap).
  • {{api_preference}}: (Optional) Any preferred data source or API.

Instructions

  1. Ask for missing inputs before starting.
  2. Recommend reliable APIs or data sources for the specified instruments and update frequency.
  3. Design a system architecture that retrieves, processes, and visualizes the data in real-time.
  4. Provide code or pseudocode for the visualization, including how to handle data updates and errors.
  5. Suggest ways to make the visualization interactive, such as zooming, filtering, or alerts.

Output format

  • A step-by-step plan for building the tool, including technology stack recommendations.
  • Code snippets or detailed descriptions of the visualization components.
  • A summary of potential challenges and how to mitigate them.

Guardrails

  • Do not assume specific APIs without checking; recommend well-known ones and note alternatives.
  • Flag any limitations of free data sources (e.g., rate limits, latency).
  • Keep the solution practical and focused on the requested data types.

Example Data types: Stock prices; Instruments: AAPL, MSFT, GOOGL; Update frequency: 1 minute; Visualization: line chart.

Follow-up prompts

  • How can I set up alerts for when a stock price crosses a certain threshold?
  • What are the best free APIs for real-time currency data?
  • Can you help me deploy this visualization as a web app?