This is a function to retrieve stock prices from the FinnHub API, created to replace GOOGLEFINANCE() on Google Spreadsheets.
Why do you think that https://github.com/SyncfusionExamples/how-to-apply-formatting-to-a-cell-range-in-the-react-spreadsheet is a good alternative to StockAppScript