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

Re: [amibroker] Script to call an exploration and return file/output?



PureBytes Links

Trading Reference Links

Geoff - Yes, as far as producing a report from the Explore function, I've used jScript. I've not worked the email port of your question.

I think you'll find what you need in the Users Guide/AB Object Model

I've used the Analysis object with these methods.  AA.Explore();  and AA.Report(); to produce and store the report.    

JOE

 This is from the COM OBJECT section in the Users Guide.
AB = new ActiveXObject("Broker.Application");

/* retrieve automatic analysis object */
AA = AB.Analysis;

/* load formula from external file */
AA.LoadFormula(
"afl\\macd_c.afl");

/* optional: load settings */
// AA.LoadSettings("the_path_to_the_settings_file.abs");

/* setup filters */
/* backtest over symbols present in market 0 only (zero-based number) */
AA.ClearFilters();
AA.Filter(
0, "market" ) = 0;

// uncomment line below to
// AA.Filter( 1, "market" ) = 2; // exclude 2nd market

/* set apply to and range */
AA.ApplyTo =
2; // use filters
AA.RangeMode =
0; // use all available quotes

/* run backtest and display report */
AA.Explore();
AA.Report(
""); // empty file name means display report

----- Original Message -----
From: Geoff Lamb
Sent: Thursday, August 16, 2007 10:44 AM
Subject: [amibroker] Script to call an exploration and return file/output?

Hi,

Is it possible to run an external script (or do it from withing AB) that
returns the output of an exploration?

What I would like to get an email (or post to a web page) with the output
from an exploration that checks my portfolio for sells and maybe a list of
buys from a watchlist.

Does the output from an exploration go to a temp file or table?

Thanks

Geoff Lamb

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

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

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___