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

[amibroker] Re: Importing MetaStock thru OLE



PureBytes Links

Trading Reference Links

William,

I had thought of these linnes and was not too keen on using this 
approach.  As wrote before (>>I don't want to first covert 'MASTER' 
into individual ASCII files and then import, but rather want to 
import the two files straight into AmiBroker using OLE 
Automation<<) ... So in fact I wanted to avoid the step# 3 you've 
suggested below.

>>> 2) Exports quote data from the two tickers to ascii.<<

Actually it's not only two ticker, but two 'MASTER' data files each 
having 255 tickers included in MetaStock format.

Thanks for the suggestion anyways. I'll explore it.

Regards,
- Salil V Gangal



--- In amibroker@xxxxxxxxxxxxxxx, William Peters <williampeters@xxxx> 
wrote:
> Salil,
> 
> Actually I think you could automate the import from the Metastock
> files as follows.
> 
> Create a 'new' database using the MS Plugin.
> 
> Write OLE automation script which performs the following:
> 1) Opens the the new AmiBroker Metastock database.
> 2) Exports quote data from the two tickers to ascii.
> 3) Switch back to your main database.
> 4) Import the quote data into your main database.
> 
> Its not that many lines of code and could be run from the Tools menu
> or from a scheduling tool daily.
> 
> Regards,
> William Peters
> www.amitools.com
> 
> 
> Friday, May 21, 2004, 10:31:53 AM, you wrote:
> 
> SVG> Tomasz,
> 
> SVG> My impression is that the 'database setting' permits setting 
only one
> SVG> plugin as 'data source'.  What if I have that one already used 
up
> SVG> (as 'FastTrack' or 'QP2' or 'TC2000') ? Then is there a way to 
use
> SVG> two *more* data sources as MetaStock format, pointing 
to 'Master'
> SVG> data file in MetaStock format residing in C:\FOLDER1 and 
C:\FOLDER2 ?
> 
> SVG> Regards,
> SVG> - Salil V Gangal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/