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

RE: [amibroker] Looping / cache question



PureBytes Links

Trading Reference Links




Along 
those lines TJ:  If I import a ticker via automation should I do a 
Refresh? 
<FONT face=Arial color=#0000ff 
size=2> 
If I 
do a refresh via automation does that flush the cache?
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Tomasz Janeczko 
  [mailto:amibroker@xxxxxx] Sent: Thursday, July 10, 2003 11:26 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  Looping / cache question
  Chuck,
   
  No, data are read from the cache regardless of the fact that 
  you are using Foreign.
  But.. only when:
  (1) they are already in the cache 
  (2) they were not flushed by other symbols data because of 
  two small cache size
  (3) they do not have refresh pending (becuase of real time 
  streaming update)
   
  I hope this answers your question. Have a nice 
  day.
   
  Best regards,Tomasz Janeczkoamibroker.com
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=chuck_rademacher@xxxxxxxxxx 
    href="">Chuck Rademacher 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Thursday, July 10, 2003 12:16 
    PM
    Subject: [amibroker] Looping / cache 
    question
    
    <FONT face=Arial color=#0000ff 
    size=2>I'll take my chances as to whether TJ will answer this question via 
    this board as it may slip past unnoticed.  I feel that the question and 
    answer may be important to others in this 
    group.  
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>When looping through tickers (using Foreign), data seems to always be 
    read from files rather than from cache.   If I have "normal" afl 
    that simply processes all of the tickers in a watchlist, the first pass 
    through the watchlist reads from files and subsequent passes read from 
    cache.   If I loop through those same tickers in a watchlist using 
    a Foreign statement, the data seems to be read from files for every 
    pass.
    <FONT face=Arial color=#0000ff 
    size=2> 
    Is 
    my understanding correct?
    <FONT face=Arial color=#0000ff 
    size=2> 
    Is 
    this an area for possible future improvement?
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>CheersSend BUG REPORTS to 
    bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.