I have a number of methods that I use within my base strategy (i.e., GoLong, GoShort, ATM, Reporting, etc) that I heretofore have just cut and paste into a new strategy (and then bracketed with Regions). However, I got to thinking about creating external indicators that I could pass parameters to in exchange for processed outcomes or results. However, that got me thinking about computational efficiency, which led me to these questions:
1. Is it more computationally efficient to call and access "method" language within a strategy or to call and access "indicator" language from an external call?
2. What is the most computationally efficient way to structure my strategy tasks (i.e., internal methods or external indicators)?
3. What are the memory impacts of each approach?
4. What question(s) am I not asking that I should be concerning computational efficiency?
I'm just looking to understand the foundational reasons for having my code be as efficient as possible.
Thanks for your help,
Aventeren
Comment