We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The OptionContract OpenInterest is non-zero for all resolutions
OptionContract OpenInterest is zero for daily data.
N/A
# region imports from AlgorithmImports import * # endregion class MyAlgorithm(QCAlgorithm): def Initialize(self): self.SetStartDate(2023, 3, 1) self._symbol = self.AddOption("AAPL", Resolution.DAILY).symbol def OnData(self, slice): chain = slice.option_chains.get(self._symbol) if not chain: return for contract in chain: self.plot('OI', 'OI', contract.open_interest)
master
The text was updated successfully, but these errors were encountered:
jhonabreul
No branches or pull requests
Expected Behavior
The OptionContract OpenInterest is non-zero for all resolutions
Actual Behavior
OptionContract OpenInterest is zero for daily data.
Potential Solution
N/A
Reproducing the Problem
Checklist
master
branchThe text was updated successfully, but these errors were encountered: