So I tried your prompt and using stream=true
.
user: What’s the movel average 9 and 21 for AAPL?
assistant: The simple moving average (SMA) for AAPL with a period of 9 is 92.69, and with a period of 21 is 50.2.
Raw output (screenshots):
It took 3 API calls.