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.
12Next page
 

Importing EVE market cache data to excel

First post First post
Author
Casshern Price
Ministry of War
Amarr Empire
#1 - 2015-01-23 14:52:58 UTC  |  Edited by: Casshern Price
Hello forums o/

I was wondering if anyone out there has the know-how on importing the EVE market cache data you get every time you fetch item data to an Excel 2013 file. I know that some programs like EVE-Mentat can do it, but the program doesn't have the layout I desire. I've seen a lot of tutorials on how to do this with Google Sheets, but the data isn't as accurate as I'd like it to be. I'll say again please do not link a tutorial on how to do this in Google Sheets, I've already made 2 and they don't have the performance that I'm seeking.

Basically what I'm looking to do is make a spreadsheet that will hold buy/sell/quantity/etc. data for multiple stations. For instance, if I had a station trader in Jita and another character in any other system, I'd like to be able to fetch certain item data in-game on both characters and then import the data to the Excel file.

Thanks in advance for any help,
Price
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2015-01-23 15:09:29 UTC
https://www.fuzzwork.co.uk/2013/06/22/importing-price-data-into-spreadsheets/

doesn't load from the cache though. It's pulling from eve-central.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Hel O'Ween
Men On A Mission
#3 - 2015-01-24 16:14:37 UTC  |  Edited by: Hel O'Ween
I haven't done it yet, as that's a task which requires either some from-scratch programming (either creating a native Win32 or COM DLL consumable by Windows applications, which either scraps the cache itself or might act as an EMDR endpoint) or cobble together a tool chain by using i.e. Entity's reference Phyton stuff to scrap the cache, produce some kind of "readable" files from it and import those into Excel.

Either way - it's most likely something you won't put together within a couple of lazy sunday afternoon hours.

EVEWalletAware - an offline wallet manager.

Casshern Price
Ministry of War
Amarr Empire
#4 - 2015-01-24 23:37:10 UTC
Steve Ronuken wrote:
https://www.fuzzwork.co.uk/2013/06/22/importing-price-data-into-spreadsheets/

doesn't load from the cache though. It's pulling from eve-central.


Yeah, that's exactly what I don't want it to do. Instead of importing from an online source, I would prefer to import the data from my own cache, that way I know it's completely reliable. Thanks though.



Hel O'Ween wrote:
I haven't done it yet, as that's a task which requires either some from-scratch programming (either creating a native Win32 or COM DLL consumable by Windows applications, which either scraps the cache itself or might act as an EMDR endpoint) or cobble together a tool chain by using i.e. Entity's reference Phyton stuff to scrap the cache, produce some kind of "readable" files from it and import those into Excel.

Either way - it's most likely something you won't put together within a couple of lazy sunday afternoon hours.


Darn, that's definitely discouraging to read. I took a highschool class on programming and we covered some Python, but definitely not enough for me to create a program from scratch :P
Hel O'Ween
Men On A Mission
#5 - 2015-01-25 10:54:43 UTC  |  Edited by: Hel O'Ween
Forgot to mention the new CREST APIs. Not sure though if someone has put something easy to use together yet.

It's also worth mentioning that for the time being, the nowadays practiced cache scraping - although technically a vaiolation of the EULA - is tolerated (but discouraged) by CCP. But CCP FoxFour (I think it was him) has mentioned that with the release of the CREST market API, the EULA on cache scraping will be enforced rather sooner than later.

EVEWalletAware - an offline wallet manager.

Casshern Price
Ministry of War
Amarr Empire
#6 - 2015-01-28 06:24:19 UTC
Ooo, Intriguing. FoxFour mentions in the blog post that this information is real-time, does this mean that soon all those spreadsheets that import data from places like EVE-Central will now be obsolete, or do I just have no idea how to read the code?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#7 - 2015-01-28 11:36:27 UTC
Casshern Price wrote:
Ooo, Intriguing. FoxFour mentions in the blog post that this information is real-time, does this mean that soon all those spreadsheets that import data from places like EVE-Central will now be obsolete, or do I just have no idea how to read the code?



tbh, most people will continue to use eve-central. The feed is useful, but it's substantially more work than asking eve-central for the data. And when you only need approximate pricing, it's more work than you need.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Casshern Price
Ministry of War
Amarr Empire
#8 - 2015-01-28 23:35:43 UTC
Steve Ronuken wrote:
Casshern Price wrote:
Ooo, Intriguing. FoxFour mentions in the blog post that this information is real-time, does this mean that soon all those spreadsheets that import data from places like EVE-Central will now be obsolete, or do I just have no idea how to read the code?



tbh, most people will continue to use eve-central. The feed is useful, but it's substantially more work than asking eve-central for the data. And when you only need approximate pricing, it's more work than you need.

Ah, I see. I'm trying to stay away from those approximate prices though, haha. When you're trading, you kind of need prices and volume data to be as fresh as possible; I'm sure you know that though :P

Do you know if it's at all possible to import that kind of data with this CREST API or am I just out of luck in general in this department?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#9 - 2015-01-29 02:10:04 UTC
I'd say trying to do it in Excel is going to be painful.

Visual basic script has really poor json handling.

However, what might be possible, is an application which exists purely to pull market data and store a file locally, which Excel could then interact with. Probably putting it into a database would be the best option, with an odbc connection for Excel.

It's not the fastest thing to update, when I was doing it in php, it was taking around half a second per request.


Does that sound like the kind of thing you'd want? What kind of information would you be looking for?

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Casshern Price
Ministry of War
Amarr Empire
#10 - 2015-01-29 07:10:35 UTC
Well, just accurate buy/sell order prices, volume, etc. I thought previously that I could do this by taking the data from my cache, but you said that method isn't exactly condoned by CCP.

You mentioned that FoxFour post though and I saw real-time and I got all excited, haha. Would using those APIs in Google Sheets be easier than Excel? I don't have a problem with the sheets themselves, just the source of the data, which isn't all that reliable. Can the APIs even relay the data I'm looking for, or is it something else entirely?

Basically what I'm looking to do is manually scan (for now) through items in two systems (for now) and upload the data into some kind of Excel/Google Sheets program so that I can work the math and find some ever delightful profits.

Sorry if I'm coming off a bit confusing, I'm new to all this API and such stuff.
CCP FoxFour
C C P
C C P Alliance
#11 - 2015-01-29 09:48:30 UTC
Casshern Price wrote:
Well, just accurate buy/sell order prices, volume, etc. I thought previously that I could do this by taking the data from my cache, but you said that method isn't exactly condoned by CCP.

You mentioned that FoxFour post though and I saw real-time and I got all excited, haha. Would using those APIs in Google Sheets be easier than Excel? I don't have a problem with the sheets themselves, just the source of the data, which isn't all that reliable. Can the APIs even relay the data I'm looking for, or is it something else entirely?

Basically what I'm looking to do is manually scan (for now) through items in two systems (for now) and upload the data into some kind of Excel/Google Sheets program so that I can work the math and find some ever delightful profits.

Sorry if I'm coming off a bit confusing, I'm new to all this API and such stuff.


I would recommend using the EVE Central API. It is a lot easier to work with, especially for spreadsheets, and they are pulling their data from CREST so should pretty much be real time. Their API if I remember should also have all the information you are after.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Hel O'Ween
Men On A Mission
#12 - 2015-01-29 17:35:52 UTC
Steve Ronuken wrote:

Visual basic script has really poor json handling.


Poor? Non-existent is closer to the truth. Big smile

I once went "shopping" for some VBA JSON library/code and the only decent one I was able to find was this one: http://www.codeproject.com/Articles/720368/VB-JSON-Parser-Improved-Performance.

Did a few simple test, which went OK, but haven't really used it in production.

EVEWalletAware - an offline wallet manager.

Casshern Price
Ministry of War
Amarr Empire
#13 - 2015-01-30 00:32:16 UTC
CCP FoxFour wrote:
Casshern Price wrote:
Well, just accurate buy/sell order prices, volume, etc. I thought previously that I could do this by taking the data from my cache, but you said that method isn't exactly condoned by CCP.

You mentioned that FoxFour post though and I saw real-time and I got all excited, haha. Would using those APIs in Google Sheets be easier than Excel? I don't have a problem with the sheets themselves, just the source of the data, which isn't all that reliable. Can the APIs even relay the data I'm looking for, or is it something else entirely?

Basically what I'm looking to do is manually scan (for now) through items in two systems (for now) and upload the data into some kind of Excel/Google Sheets program so that I can work the math and find some ever delightful profits.

Sorry if I'm coming off a bit confusing, I'm new to all this API and such stuff.


I would recommend using the EVE Central API. It is a lot easier to work with, especially for spreadsheets, and they are pulling their data from CREST so should pretty much be real time. Their API if I remember should also have all the information you are after.

Ah, does their API cover that? I had no idea :P I've noticed though that their order prices will sometimes differ drastically from the actual orders, leading me to believe that the data was pretty old. Is this just the current limitations of the 'real-time' APIs?
Hel O'Ween
Men On A Mission
#14 - 2015-01-30 18:43:41 UTC  |  Edited by: Hel O'Ween
Casshern Price wrote:

Ah, does their API cover that? I had no idea :P I've noticed though that their order prices will sometimes differ drastically from the actual orders, leading me to believe that the data was pretty old. Is this just the current limitations of the 'real-time' APIs?


The EVE Central devs stated elsewhere i this forum that they are about to implement the CREST market data API, so be a bit patient with them. Blink

Currently there's no marketdata API, so they depend on players uploading data to them. So, if you feel their data is outdated, you haven't used their uploader (or EVEMon) to update the outdated data. Cool

EVEWalletAware - an offline wallet manager.

Casshern Price
Ministry of War
Amarr Empire
#15 - 2015-02-01 01:02:05 UTC
Hel O'Ween wrote:
Casshern Price wrote:

Ah, does their API cover that? I had no idea :P I've noticed though that their order prices will sometimes differ drastically from the actual orders, leading me to believe that the data was pretty old. Is this just the current limitations of the 'real-time' APIs?


The EVE Central devs stated elsewhere i this forum that they are about to implement the CREST market data API, so be a bit patient with them. Blink

Currently there's no marketdata API, so they depend on players uploading data to them. So, if you feel their data is outdated, you haven't used their uploader (or EVEMon) to update the outdated data. Cool

Great news Big smile I'm glad to hear that that fact that the data is inaccurate is because they're not actually pulling from the API yet.

Yeah, I thought that the players were using some kind of uploader for the data, I saw that they do that on 'eve-marketdata.com' as well. I would never use the uploader myself haha, while it would give me up-to-date data, it would also send the data to every other person that has a spreadsheet, effectively turning it into a double-edged sword. If I find a deal, I'd like as few people to know about it as manageable, that way I can squeeze every lost drop of ISK I can out of it. Blink
SJ Astralana
Syncore
#16 - 2015-02-01 03:35:57 UTC
Casshern Price wrote:
Hel O'Ween wrote:

Currently there's no marketdata API

Great news Big smile I'm glad to hear that that fact that the data is inaccurate is because they're not actually pulling from the API yet.


I'm not sure what the previous comment is trying to say, but market history and current orders certainly are available via CREST and I'm using it to mine profits from current data. The accuracy of information compared to existing 3rd party services is refreshing to say the least. It's also a certainty that the aggregators will transition away from uploaded data, which means hidden profits will be a thing of the past.

Hyperdrive your production business: Eve Production Manager

Casshern Price
Ministry of War
Amarr Empire
#17 - 2015-02-01 03:54:26 UTC
SJ Astralana wrote:
Casshern Price wrote:
Hel O'Ween wrote:

Currently there's no marketdata API

Great news Big smile I'm glad to hear that that fact that the data is inaccurate is because they're not actually pulling from the API yet.


I'm not sure what the previous comment is trying to say, but market history and current orders certainly are available via CREST and I'm using it to mine profits from current data. The accuracy of information compared to existing 3rd party services is refreshing to say the least. It's also a certainty that the aggregators will transition away from uploaded data, which means hidden profits will be a thing of the past.

Would you be willing to share with me how you're pulling the data? I can't for the life of me find anything helpful. What?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#18 - 2015-02-01 05:09:10 UTC
Hel O'Ween wrote:
Casshern Price wrote:

Ah, does their API cover that? I had no idea :P I've noticed though that their order prices will sometimes differ drastically from the actual orders, leading me to believe that the data was pretty old. Is this just the current limitations of the 'real-time' APIs?


The EVE Central devs stated elsewhere i this forum that they are about to implement the CREST market data API, so be a bit patient with them. Blink

Currently there's no marketdata API, so they depend on players uploading data to them. So, if you feel their data is outdated, you haven't used their uploader (or EVEMon) to update the outdated data. Cool



Umm, there is an API, which is up and running. It's just not the easiest of things to use, in anything but a full blown language.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

SJ Astralana
Syncore
#19 - 2015-02-01 05:55:02 UTC  |  Edited by: SJ Astralana
Casshern Price wrote:

Would you be willing to share with me how you're pulling the data? I can't for the life of me find anything helpful. What?


The endpoints are https://crest-tq.eveonline.com/market/{regionId}/orders/{buy | sell}/?type=https://api.eveonline.com/types/{typeId}/ and https://crest-tq.eveonline.com/market/{regionId}/types/{typeId}/history/, but as pointed out this is hard stuff if you're not up to commercial web development skills. There are APIs available to abstract some of this away, but consuming an API or rolling your own is a tiny fraction of the effort of wrapping your head around OAuth.

A short list of your hurdles are redirecting to EVE and receiving the response on your web service; constructing web requests for both auth and data with the necessary headers; managing access and refresh tokens; etc. CCP certainly didn't make this easy for the casual consumer, who will be far better off waiting for a 3rd party to do the legwork.

Hyperdrive your production business: Eve Production Manager

Casshern Price
Ministry of War
Amarr Empire
#20 - 2015-02-01 06:34:09 UTC
SJ Astralana wrote:
The endpoints are https://crest-tq.eveonline.com/market/{regionId}/orders/{buy | sell}/?type=https://api.eveonline.com/types/{typeId}/ and https://crest-tq.eveonline.com/market/{regionId}/types/{typeId}/history/, but as pointed out this is hard stuff if you're not up to commercial web development skills. There are APIs available to abstract some of this away, but consuming an API or rolling your own is a tiny fraction of the effort of wrapping your head around OAuth.

A short list of your hurdles are redirecting to EVE and receiving the response on your web service; constructing web requests for both auth and data with the necessary headers; managing access and refresh tokens; etc. CCP certainly didn't make this easy for the casual consumer, who will be far better off waiting for a 3rd party to do the legwork.

Yeah, I'll have to wait if that's what it takes, because most of what you said went right over my head. Big smile
12Next page