PureBytes Links
Trading Reference Links
|
Hello,
This situation can be checked in the code using this kind of statement:
for(...)
{
SetForeign(...);
HasNoQuotes = LastValue( Cum( C ) ) == 0;
if( HasNoQuotes )
{
// skip it
}
else
{
// perform calculations
}
}
Hope this helps.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Phsst" <phsst@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, December 15, 2003 6:10 PM
Subject: [amibroker] WatchList issues with CategoryGetSymbols
> My data supplier (QP2) makes occasional on-the-fly adjustments to
> their database, including removing certain symbols due to mergers,
> bankruptcies, etc.
>
> I had a ticker in one or more of my WatchLists that QP2 unexpectdly
> deleted from their database.
>
> The result of this was that multiple Explore & IB programs that used
> the CategoryGetSymbols() function against those WatchLists stopped
> producing output.
>
> So just beware that if you start experiencing unpredicted results with
> CategoryGetSymbols() function in your code, then you might want to
> take the time to review all charts in that WL to see if any issue(s)
> might not be present.
>
> Perhaps Tomasz can add some logic in CategoryGetSymbols() logic to
> just bypass any tickers that have no entries in the database.
>
> Anyway... FWIW
>
> Phsst
>
>
>
> 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/
>
>
>
------------------------ 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/mOAaAA/3exGAA/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/
|