These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

API for Current Station Buy Prices?

Author
Zarek Kree
Lunatic Legion Holdings
#1 - 2017-05-21 19:05:20 UTC
I've been trying to refine some spreadsheets to pull more accurate prices from the major trade hubs for use in manufacturing calculations. I currently get accurate station sell prices from one of Nuadi"s Google Crest Scripts, but getting accurate station buy prices has been more problematic. I'm defining accurate as a price that takes into account the buying ranges from other orders in the region. i.e. Buy orders placed at a station 2 jumps away but are willing to travel to the trade hub for pickup. In-game these are highlighted in green, but I haven't found an API that reflects these in their station buy prices. I'm looking for a number that reflects the lowest buy price that will actually get orders from that trade hub.

After some comparisons, I currently use the 5% system buy price from EVE Central (pulled using the excellent script from Fuzzworks), but it's not always accurate for some items. I'm just wondering if there's something better without having to manipulate the data on my own with databases.
salacious necrosis
Garoun Investment Bank
Gallente Federation
#2 - 2017-05-22 02:46:56 UTC
I'm not aware of any price sources which provide this info. I compute this myself when needed using map info in the SDE. That, alone, isn't too bad, but these days you need to take into account the locations of citadels and that information can't be obtained in all cases. It's an annoying inconsistency in what is visible in the client versus what is available in the ESI API. Fortunately, some third party sites collect much of the location information we need.

If you want to have a go at implementing this yourself, you might want to take a look at the example (with code) I wrote up in my book on EVE trading strategies (in which getting this kind of price information is rather important). Here's a link to the example in question:

https://orbitalenterprises.github.io/eve-market-strategies/index.html#example-3---trading-rules-build-a-buy-matching-algorithm

Source code is in the GitHub project here.

Use EveKit ! - Tools for EVE Online 3rd party development

Zarek Kree
Lunatic Legion Holdings
#3 - 2017-05-22 03:38:57 UTC
Thanks for the input. Even a confirmed negative is useful so that I know to stop looking.

I went to bookmark your site and then realized I already had it bookmarked after running across it previously. I'll definitely take a shot at playing with SDEs someday - I'm just not quite ready yet. That's going to be a whole new skillset to learn. Though your book does make it look fairly straight forward.