details: http://www.amibroker.com/newsletter/02-2001.html
<http://www.amibroker.com/newsletter/02-2001.html>

2009/11/9 mark.a.brand <[email protected]>

>
>
> 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 <[email protected]>
>
>
>>
>> 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 [email protected] <[email protected]>
>>
>>
>>>
>>> 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?
>>>
>>>
>>
>  
>

Reply via email to