Is there a way to make excel ask from page 1 to X in 1 routine like in excel + VBA or so … i would be interested in learning that way like creating a function ( where i’m at level 0 atm )
Steve thank you for your reply but i did tried that option but those 5% volatility on each item make just bad results, i want to find another way to get the instant results when i ask them without that 5% insecurity on each item.
the information is stored in the headers so you need to use a library that allows to look at header.
you also should use cache to avoid requesting the same information several times. The cache should be managed by YOUR code (to avoid fetching the same data several times) and also you should handle the headers for cache managed by the server (to fetch the data once they are expired).
finally you need to iterate over the pages, and for each, translate the data in meaningful structure, then to merge all the structures retrieved, to finally sort the orders by your convenience (typically SO are sorted by price increasing, and BO are sorted by price decreasing).
When you are at this level of management, you may as well use a dedicated language to create the data (eg python), then import that data in excel. eg our python can create a csv format of itemname - BO - SO
Also I guess people already created libs to have this behaviour, typically to fetch all the orders for a list of item and aggregate them.
BTW note that in case you want several items, it’s better to just fetch all the market orders and then sort the orders by itemid, order type, price ; rather than to fetch each item individually.
Now, what may well work better is writing something in an alternate language to download the price data, and store it in a database, or output a CSV which you can load into your sheet.
My personal preference is python, but most modern languages will work well enough.
What he wants to do can all be done in IPH. If he wants to build his own thing he can. Just offering another option if he doesn’t want to spend weeks building something.