def request_url(ticker, API_key):
    """
        This function is used to compile an accessible ALPHA VANTAGE link using he ticker and API key as inputs.
        This allows the program to use the API to get stock data.

        @param: two parameters are passed to this function. The first is the ticker (which has already been validated) 
                and is a string. The second is the API key which is a string.

    """
    link = f"https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=full&symbol={ticker}&apikey={API_key}"
    return link