How to feed/view real time data to gpt without sending a prompt

Use function calling. Only when it is needed that the function to fetch real-time market data or news articles will be invoked.