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

[amibroker] Losing Current (Last) Tick data in EXPLORE



PureBytes Links

Trading Reference Links

Using the following simple routine to process a watchlist, I get
results that exclude the current days tick data (ie. the current last
tick is 12/10/2003 but the results from the explore show 12/09/2003 as
the last date available).

Bug or lack of understanding on my part?:

------------------------------------
// Apply To CURRENT STOCK
// RANGE: n last days = 1 or n last quotations = 1 or ALL QUOTES 

WLNbr = 1;  // A WL with only 2 OR 3 Symbols for testing purposes
list = GetCategorySymbols( categoryWatchlist, WLNbr );
for(i=0; ( ticker = StrExtract( List, i ) ) != ""; i++)
{
  SetForeign(ticker);
  Filter = 1 AND Status("Lastbarinrange");
  AddTextColumn(ticker,"Ticker");
  AddTextColumn(Date(),"Date");
}
----------------------------------

I discovered the date discrepency in AddToComposite Explore, so I
adapted the above simple explore to debug the problem.

If it's a bug then I'll report it to TJ. But I wanted to see if I'm
doing something wrong first.

Regards,

Phsst


------------------------ 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/