How can I import stock prices?

I have a spreadsheet in which I keep track of a stock portfolio, and I want to import stock prices from an external source into one of the cells. Excel allows this, as does Google sheets. Can I do this in LibreOffice?

Kind regards,
Gary