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

Re: [amibroker] Re: Workspaces



PureBytes Links

Trading Reference Links

Tomasz:

I understand that the AQH files and the Amibroker database are two separate 
things completely. The only reason I suggest to put the AQH and AQD files 
into the subdirectory with the new workspace is to keep things in one 
place. The only thing I have to copy is a the file for the listing of 
stocks once. Everything else is automated by Amibroker.

If I use your technique and I add say 25 stocks and those 25 stocks are 
some which I want to segregate from all the others (almost 300); once I 
import them I have to go through each of the now 325 stocks selecting each 
new stock I just imported so that I can move it to another new group. This 
can be tedious to me. I have to make sure that I have my listing printed 
out and go through the 325 stock listing selecting each one 
individually. I have done this and after about the 12 or 15 stocks I 
select I usually miss something and all the others get unselected so I have 
to start over. Or I have to do the selecting process completely 25 times 
to move those 25 stocks to a separate location.

The only way that I can see that your process as easier would be if any 
subsequent imports from the initial workspace building import were to go 
into a separate group such as "group 254" as a default keeping them 
separate from all the others. This would allow the new 25 to be kept 
separate until final categorization so that they could be selected and 
moved as desired. Maybe this happens and I just have not observed this 
before. Does this happen? Or do they all get dumped into the "All" 
grouping where they get lost in the jungle so to speck and have to be 
selected individually as describe above, which is my present understanding 
of how things work. If a subsequent import does get placed into its own 
temporary grouping where I can then move them into a particular grouping 
then YES you are right my method is not needed. Forgive me if I have 
overlooked this particular feature of Amibroker if this is the case.

My way, all I have to do is to build the workspace and import my listing of 
stocks into that space using Amibroker's import ASCI function. No 
selecting, no moving, all I have to do is to point Amibroker to the 
appropriate subdirectory (I suggested making that the new workspace 
subdirectory, it does not have to be that directory) where I downloaded the 
AQH files using AmiQuote. This method is just easier to me. Others may 
find selecting and moving each stock from the "ALL" group where I may have 
thousands of stocks already more straight forward. Selecting 25 out of a 
much larger group is not always easy. As I said I know you can select all 
25 once before moving any but just the selecting process can be tedious.

Again thanks for a great program with its flexibility. Javascript, great 
ideal, I am glad you are not limiting us to only VB script.

Steve

At 08:36 AM 5/13/01 +0200, you wrote:
Hi Steve and the others,

The process you have described is not the best way to do this.
Please remember that AmiBroker database and the set of AQH
files are two COMPLETELY DIFFERENT things.

.AQH files are just plain text files with historical data.

The workspace (or database) is a set of binary files stored
in one folder with 0-9, a-z subfolders that hold quotes, stock information,
your studies (trend lines, Fibonacci stuff).

To copy some of the stocks to another database it is enough
to
1. Create a new directory somewhere on your disk
2. Copy the tickers of your choice from the original workspace
to the new directory

Note: when the new directory is blank you don't need to create subfolder
structure (0-9,a-z) - only copy the files into one (new) directory.
When you then use AmiBroker to Open this workspace the set of folders
will be created automatically and the files will be moved to appropriate ones
according to the first letter of the ticker.

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
<http://www.amibroker.com>http://www.amibroker.com




----- Original Message -----
From: "Steve Wiser" <slwiserr@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 13, 2001 4:46 AM
Subject: Re: [amibroker] Re: Workspaces


> Brett:
>
> What I did was:
>
> 1. Create a new subdirectory to load the new workspace into using
> explorer. This subdirectory is under the Amibroker directory. Name this
> subdirectory the name you expect to name the workspace.
> 2. Copied the Text file with the new listing of stocks into that
> directory. I made this file using export from another tool. Or you could
> get a particular listing from some web site. You just need a text file
> with a column of securities listed.
> 3. With Amiquote, open the new text file that has the listing of stocks
> that is located in the new subdirectory (workspace name)and get the
> historic prices from yahoo. These are now in the new subdirectory as *.aqh
> files.
> 4. Open Amibroker and go to the menu item File and select Open Workspace
> and point to the subdirectory that you had created earlier.
> 4.a I remember that I had a problem with this step once. I had to do the
> menu item File, Save Workspace As instead and named it the name of the
> subdirectory. This worked as well.
> 5. Once this workspace is created I now import the historic AmiQuote 
*.aqh
> files that are now in that subdirectory into this workspace.
>
> Now you have create a new workspace completely separate from your
> original. Hope this works for you.