when using Excel Online as private user, you can call the STOCKHISTORY function in a sheet, but then you get an error, that a license is required to be able to use the function. It looks like the following screenshot.
The online help text however shows the English error codes and not the German ones. Additionally, #BUSY! is mentionned, what is not in the English article. The German article is here and the English one here.