bretbouchard / yahoo-finance-managed

Automatically exported from code.google.com/p/yahoo-finance-managed
0 stars 0 forks source link

Add Stock Screener Support #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Maas,
I've already implemented such a function some years ago (2007), and today I've 
tested and it works ... Maybe it can be re engineered and integrated into your 
library.

So basically you can search the top gainers, losers, ... to write this, I've 
used an http sniffer and watched how the java version of the Yahoo Screen 
composed the request (http://screen.finance.yahoo.com/newscreener.html).

Attached you'll find the still working function I wrote.

Let me know

Regards,
Angel

Original issue reported on code.google.com by i...@advancedcomputing.ch on 13 Jul 2011 at 1:38

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the hint! 
I will have a look at it, but not for next version (0.8.1). 0.8.1 is nearly 
completed and I will release it today or the next day.

Is there any documentation now about reports.finance.yahoo.com? 
(maybe they created one since 2007; I'm not very confident, but asking a 
question costs nothing ^^)

Maas

Original comment by Maas...@gmail.com on 13 Jul 2011 at 4:43

GoogleCodeExporter commented 8 years ago
we can try ...
but, in any case, take a look at the online screener, it's a good starting 
point (and there is a bond screener, a fund screener, ... too)

Regards,
Angelo

Original comment by i...@advancedcomputing.ch on 14 Jul 2011 at 7:36

GoogleCodeExporter commented 8 years ago
Hi Angelo,
I implemented the Stock Screener now. Please check out new version 0.8.3.
Maybe you can test it that it's OK.

greetz

Maas

Original comment by Maas...@gmail.com on 25 Jul 2011 at 10:17

GoogleCodeExporter commented 8 years ago
I'll check today, and I let you now...
Regards, Angel

Original comment by i...@advancedcomputing.ch on 25 Jul 2011 at 10:34

GoogleCodeExporter commented 8 years ago
First Bug I've found: If you use a criteria which uses a stock property that is 
not default (ID, Name, Price, Date, etc. -> StockScreenerResult) the response 
has more than the default properties. E.g. P/S criteria -> additional P/S 
property.
I think I will use QuoteData as result instead of StockScreenerResult.

Maas

Original comment by Maas...@gmail.com on 25 Jul 2011 at 10:55

GoogleCodeExporter commented 8 years ago
Hi,
Now it should be OK.
Please try new 0.8.4 version.

Maas

Original comment by Maas...@gmail.com on 26 Jul 2011 at 5:21

GoogleCodeExporter commented 8 years ago
Example for Stock Screener:
http://code.google.com/p/yahoo-finance-managed/wiki/sampleYahooManagedScreenerSt
ockScreenerDownload

Maas

Original comment by Maas...@gmail.com on 26 Jul 2011 at 6:15

GoogleCodeExporter commented 8 years ago
Done

Original comment by Maas...@gmail.com on 27 Jul 2011 at 9:40