PureBytes Links
Trading Reference Links
|
<FONT face=Arial
color=#0000ff size=2>Try loading your database and see if that cures it.
<FONT face=Arial
color=#0000ff size=2>
<FONT face=Arial
color=#0000ff size=2>You really should have AB running - if you don't a copy
will run but will be invisible and you'll have to use the taks manager to get
rid of it.
<FONT face=Arial
color=#0000ff size=2>
<FONT face=Arial
color=#0000ff size=2>d
From: RR [mailto:stocks@xxxxxxxxxxxxx]
Sent: Sunday, April 18, 2004 11:04 PMTo:
AmibrokerSubject: [amibroker] Automation of
Amibroker
The following VBscript works well when executedfrom the
command line while AMIBROKER IS EXECUTING:' Dimension Variablesdim
rcdim ABdim AA'/* create AB object */set AB =
CreateObject("Broker.Application")'/* retrieve automatic analysis
object */set AA = AB.Analysis'/* load formula from external file
*/rc = AA.LoadFormula("C:\\Program
Files\\Amibroker\\AFL\\trace.afl")WScript.Echo( "Loading the formula "
& rc )' optional: load settings */'
AA.LoadSettings("the_path_to_the_settings_file.abs")' setup
filters */With AA .ClearFilters()
.Filter(0,"market")=1 ' NYSE stocks only
.ApplyTo=2 .RangeMode=2 ' use 0- all available quotes 1- n
last quotes, 2=nlastdays, 3=fromtodate'//AA.RangeN = 1; 'use with
RangeMode=1 and specify number of daysend
withAA.Scan()WScript.Echo( "after scan")set AA = nothingset AB
= nothingThe script does not give the same result when AMIBROKER is
NOT executing.In fact,no members of the NYSE are found. Data
source being used is TC2000.What is missing?The include file
trace.afl:// Dummy trace utility to see what securities are
selected by enablingvarious filters with
ScanDesc =
FullName();_TRACE(Desc);Buy=Sell=Short=Cover=0;Thanks,RRSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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 the Yahoo! Terms of Service.
|