Asking ChatGPT I am being told that the problem might come by lambdas not supporting the async calls from market_orders_stats… This complicates the spreadsheet a lot.
I feel that anyone who wants to build something a bit more advanced using the extension, specifically with percentiles will have the same struggle.
Perhaps allowing the functions to receive an array would make things much easier and improve the quality of the addin? The pricings provided by the properties limit a lot the information. I work at Jita and the values I am getting have nothing to do with the reality, so I need to get the prices from the sell orders percentiles!!!
to get an array of numbers to serve as an index you can reference with =index() functions to pull the data out of the ESI arrays. This will create a table that will scale with the number of materials in any given item. Wrap your functions with if(isnumber(index_column_value), function, “”) to leave everything else blank and use conditional formatting to keep it neat.
Gives you something like this that changes with whatever ship name you put in cell A1.