PureBytes Links
Trading Reference Links
|
Thanks,
It worked !
Regards,
Purshotam K
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Hello,
>
> In JScript Single backslash has to be written as \\
>
> Correct code would look like this:
>
> WScript.Echo("Import Start" );
>
> AmiBroker = new ActiveXObject( "Broker.Application" );
> if( ! AmiBroker.Import(
0, "c:\\Qtrade\\Mtisco.txt", "ascii.format" )
> {
> WScript.Echo("Import FAILED");
> }
>
> AmiBroker.RefreshAll();
>
> WScript.Echo("Import finished");
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "goodmanz25" <goodmanz25@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, February 15, 2004 5:12 AM
> Subject: [amibroker] Re: By passing Amiquote
>
>
> > Hi Tomasz,
> >
> > Iam I going wrong somewhere ?, No error is reported when I run
this
> > script, and nothing is imported into amibroker. A dump of the
quotes
> > too is shown below.
> >
> > Thanks,
> >
> > Purshotam K
> >
> >
> >
> >
> >
> > ----- Script Import.js
> >
> > WScript.Echo("Import Start" );
> >
> > AmiBroker = new ActiveXObject( "Broker.Application" );
> > AmiBroker.Import( 0, "c:\Qtrade\Mtisco.txt", "ascii.format" );
> > AmiBroker.RefreshAll();
> >
> > WScript.Echo("Import finished");
> >
> >
> >
> > ----- Data File
> >
> >
> > Data STored in Mtisco.txt
> >
> > $SEPARATOR ,,,,,,
> > $FORMAT Ticker,Date_MDY,Open,High,Low,Close,Volume
> > Tisco, 08/26/1998, 427.80, 427.80, 427.80, 427.80,00005900
> > Tisco, 08/27/1998, 427.45, 427.45, 427.45, 427.45,00003645
> > Tisco, 08/28/1998, 427.50, 427.50, 427.50, 427.50,00005945
> > Tisco, 08/29/1998, 428.25, 428.25, 428.25, 428.25,00002447
> > Tisco, 08/30/1998, 428.90, 428.90, 428.90, 428.90,00006023
> > Tisco, 08/31/1998, 427.70, 427.70, 427.70, 427.70,00004755
> > Tisco, 09/01/1998, 426.90, 426.90, 426.90, 426.90,00003838
> > Tisco, 09/02/1998, 426.85, 426.85, 426.85, 426.85,00005018
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko"
<amibroker@xxxx>
> > wrote:
> > > Hello,
> > >
> > > Importing using automation in explained in the newsletter:
> > > http://www.amibroker.com/newsletter/02-2001.html
> > >
> > > See also other issues of the newsletter
> > http://www.amibroker.com/newsletter/
> > > for other examples of import automation.
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "goodmanz25" <goodmanz25@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Saturday, February 14, 2004 7:55 PM
> > > Subject: [amibroker] By passing Amiquote
> > >
> > >
> > > > Hi all,
> > > >
> > > > I would like to know if I can update Amibrokers quotes
(without
> > > > using amiquote) into Amibrokers workspace at a fixed
interval of
> > say
> > > > 5 Secs, I am using a realtime feed that updates data in CSV
> > format,
> > > > everytime I have to import this manually and this is
irritating
> > and
> > > > time consuming . Somebody please help me automize this!
either
> > in VB
> > > > or VBscript/Jscript.
> > > >
> > > >
> > > > Thanks in advance,
> > > >
> > > > Purshotam K
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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
> >
> >
> >
> >
> >
> >
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/
|