Hello,
Can I prevent a Watchlist which uses an EFS from reloading and sending all the bar data to the EFS whenever a symbol on the Watchlist is reloaded?
Here's the scenario:
- Let's say I have a Watchlist with a large number of symbols and a column with an associated EFS.
- Let's say this EFS requires 1000 bars of data and uses a non-trivial computation to derive it's result which is displayed in the column associated with the symbol.
- The EFS computation is relatively intensive in both time and resources.
- Each time I scroll a symbol on and off the Watchlist the associated EFS is reloaded/recalculated.
- What I'd like to do is the first time the EFS is executed to calculate the result for the symbol and store it using SetGlobalValue(theSymbol, theValue)
- Then each subsequent time the EFS is executed I'd GetGlobalValue(theSymbol) and display it in the designated column.
- The part I've described above I can do, and am doing, but it would be nice if I could signal the platform to not load and resend the data for a refresh thereby eliminating the associated overhead.
This won't work with intraday data but I'm not concerned with that.
So, is there a mechanism to tell the platform to not reload/resend bars upon a Watchlist refresh? I think probably not.
Can I prevent a Watchlist which uses an EFS from reloading and sending all the bar data to the EFS whenever a symbol on the Watchlist is reloaded?
Here's the scenario:
- Let's say I have a Watchlist with a large number of symbols and a column with an associated EFS.
- Let's say this EFS requires 1000 bars of data and uses a non-trivial computation to derive it's result which is displayed in the column associated with the symbol.
- The EFS computation is relatively intensive in both time and resources.
- Each time I scroll a symbol on and off the Watchlist the associated EFS is reloaded/recalculated.
- What I'd like to do is the first time the EFS is executed to calculate the result for the symbol and store it using SetGlobalValue(theSymbol, theValue)
- Then each subsequent time the EFS is executed I'd GetGlobalValue(theSymbol) and display it in the designated column.
- The part I've described above I can do, and am doing, but it would be nice if I could signal the platform to not load and resend the data for a refresh thereby eliminating the associated overhead.
This won't work with intraday data but I'm not concerned with that.
So, is there a mechanism to tell the platform to not reload/resend bars upon a Watchlist refresh? I think probably not.
Comment