Skip to content

17910

  • 17910
  • b9f616b
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • 17910
  • b9f616b
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Martin-Molinero Martin-Molinero tagged this 09 Jul 20:15
* Set security cache open interest from chain universe data

- The option and future security caches now update the open interest
  cache property from stored chain universe data points (OptionUniverse,
  FutureUniverse), which the algorithm manager pushes into the security
  caches
- Add index option and future option specific security caches, mapped in
  the SecurityCacheProvider, which previously fell through to the base
  SecurityCache
- Add regression algorithms asserting the behavior for equity options,
  index options and futures

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Guard against empty data lists when updating open interest

StoreData is public API, add an UpdateOpenInterest overload taking the
data list which checks the count before accessing the last data point

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Assets 2
Loading