logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3 Pages<123>
Options
Go to last post Go to first unread
longhair4277  
#21 Posted : Wednesday, December 6, 2006 2:46:26 PM(UTC)
longhair4277

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/1/2006(UTC)
Posts: 26

The thing about a utility like this, is that I would assume most people don't know that their stock lists (local data) may be missing stocks etc or have not been updated since who knows when. This utility would gain large suppport if people knew of the short comings of the downloader.

I only became aware because I am running an explorer that is searching through all my local data and I have downloader set to update all 16000+ stocks each night. When I sent the report to a PDF to analyze in Excel, it was 130 pages long.

I guess it is a bit of a catch 22, whereas you don't want to tell the customers the short comings of your software, but the interest will not be there for it unless you do.

Dean

PTJim  
#22 Posted : Thursday, December 7, 2006 12:26:09 PM(UTC)
PTJim

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/10/2006(UTC)
Posts: 252

Thanks: 11 times
Was thanked: 9 time(s) in 6 post(s)
Branden,

I'd very much like to see this utility, if I understand your proposed outline correctly.

On the face of it, this would be far more useful to me than the MS v10 (more like 9.4) "upgrade".
Branden Russell  
#23 Posted : Thursday, January 11, 2007 3:49:23 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

I updated the utility in the files location.

http://forum.equis.com/files/3015/metastock_files/entry22426.aspx

I made it able to recursively delete so you can specify the main folder and it will go through all the sub folders of all the sub folders and delete unwanted securities.

Branden Russell  
#24 Posted : Thursday, January 11, 2007 3:52:12 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

Just so everyone knows, this part of the utility will work with any version of MetaStock/Downloader. It doesn't even care if you have one or both of those installed.

Please rememeber this is a utility with very little testing and is not endorsed or supported by anyone.
Use at own risk.

With how often I say that, I'm worried nobody will want to test it :)

It does seem to work with everything I have tried, but I haven't tried everything.

Branden Russell  
#25 Posted : Thursday, January 11, 2007 4:11:07 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

I forgot, it would probably be good to mention that my first test of the recursive delete was on the data CD with somewhere around 26,000 securities to delete. It took a couple minutes and the program is single threaded, so the program isn't responsive while it's deleting.

So, just keep that in mind if you have a lot of securities to delete, it will take a bit and the program will appear frozen, but it reallly is still working.
Branden Russell  
#26 Posted : Friday, January 12, 2007 9:10:06 AM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

Another update to the utility:
Added the ability to specify a symbol database location.
Added the ability to read types and groups from symbol databases 9.2 and later
Fills in Types and Groups combo boxes.
PTJim  
#27 Posted : Friday, January 12, 2007 1:38:34 PM(UTC)
PTJim

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/10/2006(UTC)
Posts: 252

Thanks: 11 times
Was thanked: 9 time(s) in 6 post(s)
Just tried the Jan 12th file on my 9.1EOD database. Because I'm paranoid, I set it to delete securities not traded for 2000 days. As expected, it reported deleting 0 symbols.

But it didn't crash or report any errors and my database seems intact. So far, so good! I think it'll be a handy utility. As development progresses, of course, it would be nice to see some sort of progress indication to confirm it's working and help us estimate remaining processing time. I have a WD Raptor RAID 0 drive setup, so it's pretty fast, but it would be useful to have that feedback.

I just thought of a useful (to me, anyway) addition to the program - instead of deleting files, how about the option to scan and prepare a report (printable, savable to file) of symbols meeting the input parameters? Sometimes I have a "stuck" datafile that hasn't been updated in a long time due to a symbol change, typo etc. and this function would help spot those so I can attempt a fix.

I use ML Downloader with Yahoo data, and it catches most of these, but if the symbol isn't in MLD for some reason it won't be picked up.

Branden Russell  
#28 Posted : Friday, January 12, 2007 2:10:10 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

A progress bar isn't all that doable. I have no idea how much longer it will be since I don't yet know how many files and folders I have to search. Trying to find out before hand would make the process take twice as long (well, almost).
It should be easy enough to have it show somewhere what folder it is in and even what security it is currently looking at so you can watch the text fly by as it processes. That would probably be a feature I work on last since it is a nice feature and doesn't actually make it more usable.

What would I show in the list? The file location and symbol name?

PTJim  
#29 Posted : Friday, January 12, 2007 2:20:00 PM(UTC)
PTJim

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/10/2006(UTC)
Posts: 252

Thanks: 11 times
Was thanked: 9 time(s) in 6 post(s)
I should have been a little clearer; generating a progress bar would require more overhead than it's worth.

If you could show file location, symbol name and the number of symbols processed so far (assuming updating this wouldn't cost too much processing time) it would be very useful. After running it once or twice, we'll know approximately how many symbols it will process in total and can estimate overall progress.

If updating this display eats up too much time, maybe updating it once a second, or every 5 seconds would suffice. Certainly doesn't have to be realtime or updated for every single symbol unless the overhead cost is trivial.

Thanks for plugging away at it.

Branden Russell  
#30 Posted : Friday, January 12, 2007 2:47:29 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

Haha! Cool. It was a lot less work than I thought to throw in that ability to display the currenty security being processed.
The program still doesn't respond to anything while it is processing, but now you can see at the bottom of the window what security it is working on in real time.

I threw in another feature I was working on in this build. It makes it so that the Browse dialogs will start at the folder that's in the db and security location text boxes so you don't have to dig down to that area.

I'm uploading the new version now.

bex1210  
#31 Posted : Friday, January 12, 2007 11:48:09 PM(UTC)
bex1210

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/22/2006(UTC)
Posts: 18

Brandon: Thanks for writing this. I am going to download it now. Are there instructions on how to use it? Harry
bex1210  
#32 Posted : Friday, January 12, 2007 11:58:24 PM(UTC)
bex1210

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/22/2006(UTC)
Posts: 18

Brandon: After reading the related thread on this subject, it is not clear what versions of Metastock can use this utility. I have version 8.01. Harry
Branden Russell  
#33 Posted : Monday, January 15, 2007 2:47:29 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

Right now, it doesn't really matter what version of MetaStock you have. It will read your Types and Groups from your symbol database if you have version 9.2 or later, but doesn't yet do anything with that information. I only put a copy up that does that much with the database because I need people testing it and making sure it does what it should. Since you have version 8, your Type and Group shouldn't fill in. When all the functions in the utility are done, it probably will only work with 9.2 and above. After I finish, I'll see how much more free time I have to do older versions. The only function that currently really does anything is the delete securites X or more days old. To use that feature, all you have to do is specify the location of the securities you want to clean up (delete old ones from) and check the recursive box if you want it to search all the sub folders too. Then you enter in a number of days that you want to check for as not traded. If the security has that many days that it hasn't traded, it will be deleted when you click delete. It will show you a progress of what folder and security it is currently processing and at the end, it will tell you how many securities it deleted. This utility seems to be working fine with the little testing it has received. Just remember that not all the functions are done (the ones that aren't done are disabled) and that it is compeletly unsupported.
Branden Russell  
#34 Posted : Friday, February 16, 2007 2:31:02 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

I just wanted to say I still remember this project. :)

I'm sorry it is going so slowly.
I got a lot busier and it is a lot more difficult than I was hoping.

I may add a couple other options or make a new utility for various functions to get you guys something while I figure out how to make it read the symbol database the way I need it to.
slipperx  
#35 Posted : Monday, April 23, 2007 9:55:31 PM(UTC)
slipperx

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/17/2005(UTC)
Posts: 14
Location: Thailand

Hi Brandan

Having read your post and checked out your utility out like to add a few more usability comments. I download my end of day data using Reuters which notifies me of symbol changes, symbols that are not updated, and other errors. My data files are spread across several folders with symbols appearing multiple times across those. At present the method of deleting symbols that may be in several folders is cumbersome and very time-consuming, more especially since this needs to be done on a daily basis. Likewise the method of changing symbols have been renamed it is also very time-consuming. Occasionally I need to move a security from one folder to another and again this is very time-consuming.

In my humble opinion the downloader is woefully inadequate carrying out these daily housekeeping tasks since maintaining the data files is such an essential task. Using a symbol list provided by metastock, is useful but only a starting step. I would therefore like to suggest that a facility to simply find and delete sets of symbols, find a move set of symbols, and change of symbol tickers will be a great addition to the utility. It seems to me that development of the downloader into a truly useful facility has been set aside for many years at the expense of improving the charting side of metastock, adding ever more indicators and so on. There is little point in having all these one of all indicators if the data on which it is based is so hard to keep up-to-date.

I hope you'll given more time to expand and improve on your facility and I am definitely champing at the bit to try anything that makes maintaining data easier. slipperx

Branden Russell  
#36 Posted : Tuesday, April 24, 2007 8:19:03 AM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

That's basically what this program is intended to do.

You chose the Type (and optionally choose Group) and specify a folder. I creates any needed securities (anything new since the last time done, if ever).

You can then choose to delete any securities by either not existing in the symbol database or by having not traded for x days.

I haven't had time to get the symbol database functionality of the utility working, but everything that doesn't require the symbol database does work.

Between projects at work, home, and school, I haven't had time to finish this. I apologize and I do plan to get to it. The symbol database is just a lot harder to get in here than I had figured it would be.
I should maybe set aside a couple hours a week to work on this so at least it gets somewhere.

longhair4277  
#37 Posted : Tuesday, August 28, 2007 5:14:25 PM(UTC)
longhair4277

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/1/2006(UTC)
Posts: 26

Hey Branden.....

Are you still working on this project?

A feature, which we may have already discussed, that would be extremely helpful, would be to review the collection report, process the "renames" and go out and rename the stocks.

Thanks

Dean

Branden Russell  
#38 Posted : Wednesday, August 29, 2007 11:59:15 AM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

No, unfortunately, the symbol database reading code is so integrated into the DownLoader, I'd pretty much need to use all of the resources from the DownLoader in order to use it.
I've also been very busy again.
I'll look at it some more again in the future.
The current version that's still available will delete securities based on dates left not traded, but is unable to use the symbol database.

Good news for your question though, I am currently working on a utility to rename securities based on a CSV file.
You specify CurrentSymbol,NewSymbol in a CSV file and the utility will go through the specified data folder(s) and change the symbols.
It should be out about the first week of October.
I'll look into if I'm able to see the file that has the security change notifications from DownLoader and allow that to be a file that can be used.

Moderate  
#39 Posted : Wednesday, August 13, 2008 11:43:19 AM(UTC)
Moderate

Rank: Newbie

Groups: Registered, Registered Users
Joined: 8/7/2008(UTC)
Posts: 3

Hi Branden, nice utility to remove symbols from your local DB that have not been updated in a while. I just downloaded it and really appreciate your hard work! I have a set of custom folders setup nothing fancy (Amex, Nasdaq1, Nasdaq2, Mutual Funds...under my Metastock Data folder..),but it does have a folder named Mutual Funds. I assume it will just ignore these symbols when looking for stocks to delete? Please clarify.

Also I use the Downloader to receive all the stocks/mutual fund data on the exchanges and average about 20 symbol changes daily. I do these manually and I assume others do the same. Are there any plans to create a utility to help with this? I pull about a ten year history of prices from stocks and mutual funds and it helps me to have this quasi custom folder list mentioned before instead of the list Equis offers, which if I understand would allow me to just update new stocks symbols but then I would have to download the 10 year history for all stocks/mutual funds as it purges the old list out. May be too much time involvled in a new download. I guess my question is have you heard of any one trying to solve this by creating an automatic system to keep your data up to date?

If not what's the most efficient way of keeping up to date with symbol changes?
Branden Russell  
#40 Posted : Wednesday, August 13, 2008 11:59:46 AM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

It does nothing with the symbol database. The idea of this utility was to use the symbol database to take care of add, removing, and renaming files, but turned out the code for the symbol database is just far too complex to put into the utility. It doesn't look at the symbol when deleting based on x days not traded. So it wouldn't matter if it was stock or mutual fund. You provide a main folder and check if you want it to look at all the folders in that folder as well.
Users browsing this topic
Guest (Hidden)
3 Pages<123>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.