¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Is caching contract IDs to save time a good idea?


Nick
 

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.

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?

Join [email protected] to automatically receive all group messages.