It only takes one incorrect contract id to ruin your whole week. I can't imagine taking that risk.
If it's the difference between being able to implement your strategy and not, I would suggest refreshing the cache each day as close to the start of trading as possible.
toggle quoted message
Show quoted text
On 4/18/2022 1:32 PM, Crow wrote:
I'm thinking I could save some time by caching contract ID lookups for the same tickers and options that I query multiple times per week.? Once a contract ID is assigned, does it ever change provided the ticker does not change?