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

[amibroker] Re: Import Data in Java Script


  • Date: Fri, 05 Feb 2010 18:20:03 -0000
  • From: "dfgfdgdfg.fgdfgdfg" <dfgfdgdfg.fgdfgdfg@xxxxxxxx>
  • Subject: [amibroker] Re: Import Data in Java Script

PureBytes Links

Trading Reference Links



Hello Tomasz

I've read carefully the
2 Tip of the week: How to download and update quotes automatically

The tips on the site are Xcellent pedagogie and I enjoy 2 learn them

I've never seen such quality with any other software

So I'm now at this point = no errors but no import

Grrrrrrr

I am not used to make the others working for me

But Would you mind 2 correct my entire correct script 2 make it working ?

Regards

Kata


*****************************************

AmiBroker = new ActiveXObject( "Broker.Application" );

Import( "4356.txt" );
function Import( filename )
{
AmiBroker.Import( 0, filename, "EOD.format" );
AmiBroker.RefreshAll();
}

********************************************************

IntraDay.format

# Format definition file generated automatically
# by AmiBroker's ASCII Import Wizard
$FORMAT Date_DMY, Time, Open, High, Low, Close, Volume
$SKIPLINES 2
$SEPARATOR "\t"
$CONT 1
$DEBUG 0

***************************************************

4356.txt

DATE  TIME OPEN HIGH LOW CLOSE VOLUME

15/01/2010 13:45 37.25 37.25 37.25 37.25 430175
15/01/2010 13:55 37.22 37.25 37.175 37.215 6862
15/01/2010 14:00 37.25 37.29 37.25 37.25 9819
15/01/2010 14:05 37.29 37.315 37.29 37.315 1227
15/01/2010 14:10 37.345 37.365 37.27 37.27 2423
15/01/2010 14:15 37.3 37.3 37.3 37.3 246
15/01/2010 14:20 37.31 37.33 37.3 37.33 1671
15/01/2010 14:25 37.385 37.41 37.37 37.375 3109
15/01/2010 14:30 37.405 37.405 37.3 37.3 2059

******************************************************


--- In amibroker@xxxxxxxxxxxxxxx, Tomasz Janeczko <groups@xxx> wrote:
>
> Hello,
>
> It should be
> AmiBroker.Import( 0, "filetoimport", "format defitiniton");
>
> By the way, this is NOT Java. This is _javascript_.
> Read this for more info:
> http://www.amibroker.com/newsletter/02-2001.html
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
>



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___