返回列表 发帖

Java tool to download stock info from IB/Yahoo/Google

I've decided to write an application that will help me monitor my (relatively simple) portfolio. However, I don't have a tool that will load the data from internet sources. Normally, I use Interactive Broker's data service, but I also sometimes use Yahoo and MSN and Google.

Mostly what I need is "last Price," and "last Close." Ideally I'd also want to get "close on a particular date," but I can live without that for now, if need be.

I am not a professional programmer, but I can write Java code.

Anyone know of a Java tool that would let me do something this. I'm sure I'm not the very first person with this particular need, and I'd rather not have to figure out how to write my own if I don't have to.



Edited 1 time(s). Last edit at Thursday, September 22, 2011 at 11:43AM by bchadwick.

These are helpful posts, but I was really looking for a Java class I could use. I have ways of getting stuff into Excel, but I wanted to have something that could monitor a real or paper portfolio in real time.

I currently do it in Excel, but want to make it more flexible.. easier to add and take out things, so I figured I'd finally go and write it up in Java. I can do the programming and the analysis and even the GUI fine, but querying sources for data is a PITA.

TOP

In general, I like the IB data, because I trade on IB, and I've noticed quite a discrepancy between even delayed Yahoo and IB prices. However, Yahoo has dividend and split adjusted historical prices, which are useful in other contexts.

I've kinda decided to write my own tool after all. The only built-to-go source I've seen is documented in German, which I can't read well. I just figured that there would be something already made that has more bells and whistles than I would write myself.

IB does hav an API, so I'll probably write a wrapper that samples Yahoo or IB depending on what parameter I send it.

But I'm still open to other suggestions for those who have them.

TOP

Wouldn't it be better to outsource the IT part to an IT guy and focus on your core strengths (e.g. Finance / Analysis / Trading)? You run the risk of being a man for all seasons if you do everything - particularly if something doesn't work as it should. There must be cheap labour out there (thinking India).

TOP

Good point, and if this were a commercial undertaking or even a major project or deliverable, I'd agree with you.

But I'm just trying do develop a small (ok, probably medium) tool that suits the way I've evolved into monitoring things, and since I'm not a professional programmer, it's good for me to give myself occasional programming projects to keep my skills fresh.

TOP

bchadwick Wrote:
-------------------------------------------------------
> But I'm still open to other suggestions for those who have them.

Sie sollten nur Deutsch zu lernen, duh.

TOP

返回列表