Skip to content
New issue

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

Options example is not working #255

Closed
sanalpanakkat opened this issue Jul 11, 2023 · 3 comments
Closed

Options example is not working #255

sanalpanakkat opened this issue Jul 11, 2023 · 3 comments

Comments

@sanalpanakkat
Copy link

The example given for options with AAPL is not working properly. Please help with that and can i use Nifty (indian market data) in this code.

@grzesir
Copy link
Contributor

grzesir commented Jul 11, 2023 via email

@sanalpanakkat
Copy link
Author

image

I am new to this.

image

image

@sanalpanakkat
Copy link
Author

The error is happening in this step.

self.option = self.create_asset(
symbol="AAPL",
asset_type="option",
expiration=datetime.date(2021, 10, 15),
strike=140,
right="call",
multiplier=100,
)

@grzesir grzesir closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants