You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the API I'm unable to pass in the expiration date of the option chain to query. By default it currently loads the option chain of the nearest expiration.
Querying options chains for a specific expiration would allow me to implement my trade management for the expirations I have chosen. Only having access to the nearest option chain does not help.
Without the argument, the API doesn't seem to make sense for me.
@MiErnst, this will be in the next release. There'll be an automatic message here once it's available via npm.
That might only be in another week or two so you're invited to run the development version of the library until then if you like and feel comfortable with it, as described in CONTRIBUTING.md. Please report back if you do.
Feature Request
When using the API I'm unable to pass in the expiration date of the option chain to query. By default it currently loads the option chain of the nearest expiration.
Wanted Feature
Add support for the query parameter "date" which accepts a timestamp like in this example: https://query1.finance.yahoo.com/v7/finance/options/X?date=1622160000
The available timestamps are available in the result of the default statement when using the API as is:
Use Cases
Potential Example Usage
This feature could be used in the following way:
The text was updated successfully, but these errors were encountered: