PureBytes Links
Trading Reference Links
|
details: http://www.amibroker.com/newsletter/02-2001.html2009/11/9 mark.a.brand <mark.a.brand@xxxxxxxxx>
The code below is from the Amibroker site somewhere.
So I imagine you could run a JS script using the scheduler every minute or so.
function Import(filename)
{
AmiBroker.Import( 0,"C:\\path\\to\\total.aqd", "aqd.format" );
AmiBroker.RefreshAll();
}
Thanks Mark
2009/11/9 Robert Chevallier <robert.chevallier@xxxxxxxxx>
The easiest way is to use COM automation and have an external program/script (ex: jscript, _vbscript_) do the import analog to the File / Import menu. The amibroker COM automation api allows that very easily
Best regards,
Robert 2009/11/7 nshanki@xxxxxxxxx <nbala75@xxxxxxxxxxx>
Right now i save the data from my broker tool in CSV format and then go to Ami to import that data into ami using defined Format file.
I use "Import Ascii" from the file menu to import data.
I give the File name and also select the Format File.
My query is how to get this automated using DDE or something??
Like making the Ami to import every 1 min or so?
I referred the relevant pages of DDE in ami site. Since iam zero in programming, i cud not make out head or tail of it.
The format file has these commands
# Format definition file generated automatically
# by AmiBroker's ASCII Import Wizard
$DATE_YMD 2009-10-30
$FORMAT Time, Open, High, Low, Close, Volume
$SKIPLINES 0
$SEPARATOR ", "
$CONT 1
$GROUP 100
$AUTOADD 1
$DEBUG 1
$BREAKONERR 1
Can some one plz help?
__._,_.___
**** 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/
__,_._,___
|