[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Database Cleanup Script - need three testers



PureBytes Links

Trading Reference Links

Steve,

 

Hi.  Regarding the Earnings Release dates…   I looked into it, but decided that the hassle of writing a custom scraper wasn’t worth it.  I went back to using InternetMacros to do the scraping into a file and then I parse the data (using a Jscript) into a standard format useful for AB.

 

It’s a bit complex because it’s built to be generalizable, but I’d be willing to share.

 

Regards,

 

Dan.

 

 

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Thursday, January 05, 2006 6:16 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Database Cleanup Script - need three testers

 

Hi Dan,

 

Don't think I can help much with this one - I have gone back to TC2K and Wordens are very good about keeping their DB current with regards to tickers.  BTW, Nirvana Systems( OmniTrader ) has just come out with their new OmniData/OmniScan combo in OT2006, which also uses Media General sectors/industries like TC2K - maybe TJ should seriously consider offering "AmiData"   8 - )     I'm sure he would be just as capable as anyone of buying wholesale data and repackaging for it for retail. It might be a nice steady monthly income, could be stored right in AB's native DB for optimal speed, would include fundamentals for those that like them, etc.

 

Also, your message reminded me that a while ago, you thought you might write a replacement for the DLL that scraped earnings release dates from the web. Just curious if you have followed through on that one yet? If you need any help, I would be happy to help test that one if and when the time comes !

 

Steve

----- Original Message -----

Sent: Thursday, January 05, 2006 7:09 PM

Subject: [amibroker] Database Cleanup Script - need three testers

 

Hi,

 

One of the issues that we deal with is bad data from vendors.  I use QP3.   I like it and think that they provide a good product for the price.  However, some of their data is not as clean as I'd like.

 

To resolve this, I took Tomasz's "Cleanup.js" Jscript and expanded it.   It does a fair amount (see below) and improves the quality of my data.   Although I use QP3 for data, the script is NOT specific to a particular data source.  Since it operates only on the AB database, it should work with any data source or vendor.

 

This script is NOT and will NOT be for sale, but I'm willing to share it with this group IF three people will step forward and be willing to test it.   (Since it deletes symbols, it has to be clean.)  Note that I do NOT want you to test it on a live AB database, only a test AB database.

 

Any takers?

 

Regards,

 

Dan.

 

----

What it does:

 

- Deletes Groups of symbols for GroupIDs that you specify (e.g., Preferred Stocks", Mutual Funds, etc.)

- Deletes symbols with no quotes or stale (never changing) quotes.

- Deletes specific symbols (from an "AlwaysDelete" text file list) that you know are bad or do not want.   This is an override list.

- Never deletes specific symbols (from a "AlwaysKeep" text file list)  that you always want to keep - EVEN IF they have no quotes or are in a "Delete" group.  I.e., this is an override list.

- Keeps logs of the overall runs, deleted symbols, deleted no-quotes symbols, etc.

 

In my case, I don't want a lot of unused or bad symbols clutering up my database.   I am not interested in the thousands of Mutual Funds, Preferred Stocks, Unit, and some other non-stock symbols.  But, I am interested in a handful of Mutual fund symbols (about 30-40), stocks, ETFs and some Indexes.

 

My script deletes all symbols which meet certain criteria, including certain groups.  So all Mutual Fund (a Group) symbols are deleted UNLESS they are in the "Always Keep" list.  OTOH, QP contains some old, unused symbols like the "LE**" symbols which are NOT in a "Delete" Group but I still want to delete them. These are listed in the "Always Delete" list.  

 

Before testing it this morning, I downloaded 29,000 symbols from QP into an AB test database.  This included Stocks, Indexes, Sector/Industry assignments and Mutual Funds.   After running the script, 21,000 were deleted.

 



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS