kelvinyap2014 / yahoo-finance-managed

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

Thoughts #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Gents,

Let me just say how impressed and excited I am regarding your Yahoo .net code 
project.  I would like to get involved if I could and wondered if you could 
help with the following.  A couple of background things…

What brought me to your site and project:
I have always been looking for code which could build a complete and thorough 
list of ALL tracked financial instruments by Yahoo regardless of type of 
instrument or country.  Your project comes very close to this, and I will try 
to work with it as best I can.

Could you help me.  Although there is a bit of a C# routine, the 
release/showcase is in VB.  Any plans to get an identical parallel project in 
C#?  Or do you have one archived?  The reason I ask is that I’m much better 
at C# than VB.

A bug or issue I noticed which you may or may not be aware of is the following, 
you can re-create the issue…
                Under the finance tab and under keyword search, I set the following…
                                Download settings          Type: Any, Markets: AllMarkets, Rankled by: ID, Rank direction: ascending, count: 10000
                                View Settings                    Enable filter on (Or) off,                Hide empty names:  on (Or) off

                The type the letter “A” in the search field.

What I see happen is that it cycles up to about 1020 results and stops even 
though it lists 184937 in the x value initially.  When the green status bar 
approaches then stops at 1020 and the line underneath  i.e., 10000  / 1849 the 
x value truncates or get corrupt?

So anyway, I’m not sure if there is a limiting factor with Yahoo or in your 
code, if I’m not doing something correct.  Ideally I wish to loop search 
strings and store all instrument lists and archive them by country to csv ASCII.

Let me know and of course how I may help the project.

Cheers – Sean

Original issue reported on code.google.com by ONeillSe...@gmail.com on 8 Apr 2011 at 2:29

GoogleCodeExporter commented 9 years ago
Hi Sean,
I wrote you the answer in codeproject.com forum.

Here the copy text:

Yes, there is a limitation. With ID search you're using the 
NonAPI.IDSearchDownload class and that is parsing the website of Yahoo! 
Finance. Each call of a site provides 50 results, so you can calculate by 
yourself how many website calls you're doing with a count of 10,000. I think 
the Yahoo server don't like automatically calls (like every server without API; 
in this case you don't use the API --> NonAPI-namespace) and blocks your IP 
after a specific number of calls. 
You shouldn't use a count setting of 10,000...  
Try it with API.IDSearch class.

Maas

Original comment by Maas...@gmail.com on 19 Jun 2011 at 5:16