You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "yh_historical", "description": "Retrieves the historical data for a given stock ticker within specified date ranges.", "parameters": {"ticker": {"description": "The ticker symbol of the stock.", "type": "str", "default": ""}, "sdate": {"description": "The start date for retrieving historical data in YYYY-MM-DD format.", "type": "str", "default": ""}, "edate": {"description": "The end date for retrieving historical data in YYYY-MM-DD format.", "type": "str", "default": ""}}}]
Retrieve the historical data for Apple Inc. (AAPL) between January 1, 2020 and December 31, 2020.
user
assistant
[{"name": "yh_historical", "arguments": {"ticker": "AAPL", "sdate": "2020-01-01", "edate": "2020-12-31"}}]