PureBytes Links
Trading Reference Links
|
If these are in txt files, can you just use the ascii importer to get
eh data into the database?
On Wed, 26 Jan 2005 10:18:19 -0000, zoli_j <novizoli@xxxxxxxxxxx> wrote:
>
>
> -once I write myFile.txt from myArray
> -second AMIBROKER reads myFile.txt
> -third AmiBroker reads/writes AmiBroker DB files.
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "zoli_j" <novizoli@xxxx> wrote:
> >
> > Hi support and group,
> >
> > I have lot of EOD-Arrays and I would like to import these into
> > AmiBroker.
> > At the moment I know two possibilities to do this:
> >
> > 1.) OLE Calling from File
> > "Import(Type : number, FileName : string, [optional] DefFileName :
> > string ) : long "
> > But in this case I must write myArray onto winchester and these
> > Quotations will be imported from winchester. And I think in this
> case
> > Winchester are overloaded. Cause
> > -once I write myFile.txt from myArray
> > -second I read myFile.txt
> > -third AmiBroker reads/writes AmiBroker DB files.
> > It works but I believe writting to myFile.txt is really
> unneccessary.
> >
> > 2.) Through Object OLE Calling
> > " stock = AmiBroker.Stocks.Add( fields[ 0 ] );
> >
> > /* notify the user */
> > WScript.Echo( "Importing " + fields[ 0 ] );
> >
> > /* parse the date from the text file */
> > date = new Date( fields[ 2 ] );
> >
> > /* add a new quotation */
> > quote = stock.Quotations.Add( date.getVarDate() );
> >
> > /* put data into it */
> > quote.High = parseFloat( fields[ 3 ] );
> > quote.Low = parseFloat( fields[ 4 ] );
> > quote.Close = quote.Open = parseFloat( fields[
> > 5 ] );
> > quote.Volume = parseInt( fields[ 6 ] );
> > "
> > It's really slow cause I can import one times ONLY ONE PIECE OF
> Open,
> > High, Low or Close prices.
> >
> > My question:
> > There is any other way to importing a whole Array or whole List or
> a
> > MemoryStream(which is myFile.txt) into AmiBroker?
> >
> > BR Zoli.
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> In low income neighborhoods, 84% do not own computers.
> At Network for Good, help bridge the Digital Divide!
> http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
> --------------------------------------------------------------------~->
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|