Continuing the discussion from How to use StaticVarGenerateRanks correctly?:
A very, very helpful post from @Tomasz for me. I have previously calculated my rankings with SetForeign and StaticVarGenerateRanks.
Works quite well in EOD systems.
But now I use the ODBC Data Plugin in RT systems. The plugin works flawlessly for me.
But the plugin apparently forces a completely new backfill for each SetForeign over the period set in the Analysis Window even though the data is already available in the AB database. I have observed something similar with eSignal. I have now switched to the solution posted by Tomasz. Great....
I have learned that the ODBC plugin fetches new data from the server when it is needed.
Would the program line in the Scan from the linked solution
Values = - Close; // NO NEED TO CALL Foreign !
be sufficient to fetch data from the server that is not yet stored in the AB database or in RAM? Or should an alternative
buy = 1;
be added here in the scan?
Thanks for your answers in advance.
Gerd