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

Osaka newbie crashing AB was Re: [amibroker] Re: Top 200 stocks by volume



PureBytes Links

Trading Reference Links

John
I've just copied the code from message 50457 and ran it 
successfully.  There was a limitation with early Osaka plug-in 1.0.3 
which limited the number of columns (crashed AB if exceeded) but 
1.0.4 doesn't have this limitation.  1.0.3 would run if the number 
of periods analysed was under ~80 (can't remember the exact number).
I'm currently running AB 4.50.6 but this code did run with earlier 
versions (didn't try it with 4.50.4 specifically)
You can downlosd Osaka from two sites (amibroker.com & yahoo 
AmiBroker.dll group files section). They should be the same but I 
did download from the second site (clutching at straws here).
Let us know how your go.  Sorry I can't be of more help.
Andrew
--- In amibroker@xxxxxxxxxxxxxxx, "john gibb" <jgibb1@xxxx> wrote:
> Hi Andrew,
> 
> After successfully running the test-code that comes with the Osaka 
Plug-in
> DLL (1.0.4), I decided to try to run your Osaka-dependent code in 
message
> 50457 as my first 'real world' Osaka example.
> 
> But I keep getting Amibroker 4.50.4 crashes with:
> 
>     a) from/to: 12/11/2003 to 12/18/2003 (for which there is data 
on:)
>     b) current stock; ^NDX (for which Tools | Database Purify 
reports no
> problems for the above dates)
>     c) Scan or Explore
> 
> Could you suggest any quick-and-dirty tests before I proceed to do 
anything
> drastic like rebuild Osaka with DEBUG code?
> 
> thanks,
> 
> -john
> 
> BTW, I sometimes get an 'unhandled exception occured' error but the
> Amibroker bug report for it is blank
> ----- Original Message ----- 
> From: "Andrew" <a.perrin@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, December 19, 2003 3:48 AM
> Subject: [amibroker] Re: Top 200 stocks by volume
> 
> 
> > Dave
> > Take a look at messages 50428 and 50457.  They might be what you 
want
> >
> > Andrew
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "dcrotty2003" 
<dcrotty2003@xxxx>
> > wrote:
> > > Hi Mark, and thanks for the reply.
> > >
> > > Sounds a bit tricky, I have no knowledge of JScript.
> > >
> > > Would anyone have already coded something similar in JScript 
that
> > > Mark suggested and I may be able to modify it.
> > >
> > > Otherwise, any other suggestions on how to do it? Thanks.
> > >
> > > Dave
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Mark H" <amibroker@xxxx> 
wrote:
> > > > I haven't tried that, but based on what I read in the help 
file,
> > > you can do an automatic script to accomplish that.
> > > >
> > > > 1. load the explore formula and settings
> > > > 2. invoke the explore
> > > > 3. save the results to a file
> > > > 4. read the file and choose the top 200 tickers
> > > > 5. clear existing watchlist
> > > > 6. set the 200 tickers to watchlist
> > > >
> > > > You can even add the backtest steps:
> > > >
> > > > 7. load the backtest formula and settings
> > > > 8. invoke the backtest
> > > > 9. save the reports to files.
> > > >
> > > > All these can be done in JScript. After that, the whole 
process
> > is
> > > just one click away.
> > > >
> > > > - Mark H.
> > > >   ----- Original Message ----- 
> > > >   From: dcrotty2003
> > > >   To: amibroker@xxxxxxxxxxxxxxx
> > > >   Sent: Thursday, December 18, 2003 4:51 PM
> > > >   Subject: [amibroker] Top 200 stocks by volume
> > > >
> > > >
> > > >   Hi,
> > > >
> > > >   From a newbie EOD trader. Instead of backtesting using 
todays
> > > index,
> > > >   is it possible to create a daily list of 200 only stocks 
from
> > a
> > > list
> > > >   of 1000 filtered by moving average volume and my system
> > > backtested on
> > > >   this list?
> > > >
> > > >   I know I could do an explore to pick out the top 200 and 
save
> > it
> > > to a
> > > >   watchlist then backtest on the list, but I want the list 
to be
> > > >   changed everyday within the backtest.
> > > >
> > > >   I don't want if using the rank function to only buy top-
down
> > > stocks
> > > >   with the highest volume but to buy any of the 200 selected
> > stocks.
> > > >
> > > >   Thanks for any help.
> > > >
> > > >   Dave
> >
> >
> > 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
> >
> >
> > 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:
> >  http://docs.yahoo.com/info/terms/
> >
> >


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:
 http://docs.yahoo.com/info/terms/