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

[amibroker] Re: TOMASZ... read/write parameters setup from files.



PureBytes Links

Trading Reference Links

Tomasz,

You're right... 'periodicity' or 'currently selected symbol' need to
be in the 'Setup' panel.

Most others however could (and should) be definable with the SETOPTION
command.

Like:

  Positions
  Commission Types and Rates
  Reverse entry sig forces exit
  Buy, Sell, Short, Cover   price types of O, H, L, C or Average
  All of the 'Stops' tab settings

At the very least, any setting that could change backtesting results
should be definable with the SETOPTION command so that the User has
absolute control withing AFL without having to try to 'remember' which
settings need to be set for each AFL file.

Regards,

Phsst

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> There is a group of parameters that can be set during AFL
> execution, but there is also a group that must be set
> *before* AFL execution (such as 'periodicity' or
> 'currently selected symbol'
> - of course you can use Foreign at any time) this is required
> because AFL engine has to setup predefined variables
> (like OHLCVOI for currently selected ticker) before starting
> to execute your code (that assumes that these variables are
> setup properly)
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Phsst" <phsst@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, August 23, 2003 5:54 AM
> Subject: [amibroker] Re: TOMASZ... read/write parameters setup from
files.
> 
> 
> > I posted a similar suggestion about three weeks ago.
> > 
> > PLEASE... Make all of the SETUP parameters available to AFL so that
> > the manual control of SETUP parameters can be TOTALLY ELIMINATED with
> > AFL designations.
> > 
> > Phsst
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
> > <psytek@xxxx> wrote:
> > > Yes, this is a very desirable feature. I also have different systems
> > that
> > > require different Settings, while some parameters can be initialized
> > from
> > > the code it would be convenient to be able to "attach" a setup file
> > to a AA
> > > file or to have a command to "#include" the setup file into the
> > code. The
> > > #include statement could be if()d to accomodate per-symbol setup
files.
> > > 
> > > best regards,
> > > h
> > > 
> > > -----Original Message-----
> > > From: mmqp [mailto:mmqp@x...]
> > > Sent: Friday, August 22, 2003 4:26 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] read/write parameters setup from files.
> > > 
> > > 
> > > Hi,
> > > Has anyone tried to read/write parameters per symbol from a files?
> > > Would you care to share the codes or the procedures of performing
> > > such task?  I have a system which contains different initial
> > > parameters setups for each symbols.  I would like to read this
> > > parameters setup file each time a new symbol is selected.  TIA
> > > 
> > > 
> > > 
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > > 
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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 
> > 
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ 
> > 
> > 
> >


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/