Introduction
This API call is used to retrieve IV30 history for the specified symbol from a database and returns the results as either JSON or CSV. The API call takes in the symbol, format (JSON or CSV), quotedate (optional), and the maxRows (optional) as parameters and returns a list of IV30 history for the symbol. The data can be returned in either JSON or CSV format.
Endpoint
/iv30-history/:symbol/:format?/:maxdate?/:maxRows?
Parameters
- symbol (string, required) – The symbol of the underlying asset for which to retrieve IV30 history.
- format (string, required) – The format to return the data in. Valid options: ‘json’ or ‘csv’.
- maxdate (date, optional) – The maximum date for which to retrieve IV30 history. Format: ‘yyyy-mm-dd’.
- maxRows (integer, optional) – The maximum number of rows to return.
Examples
List of several example calls, URLs, and responses to show users how to interact with the API call. These examples should include a variety of input parameters to demonstrate the different scenarios that the API call can handle.
- https://api.deltaneutral.net/iv30-history/NFLX/json/2023-05-01/100?apikey=DEMOAPIKEY
- https://api.deltaneutral.net/iv30-history/AAPL/json/2023-05-01/100?apikey=DEMOAPIKEY
Related Calls
None
Error Handling
If no data comes back, please check for valid input parameters.
Example Response
[{
"quotedate":"2023-04-04",
"symbol":"AAPL",
"iv30_call":0.2835,
"iv30_put":0.2743,
"iv30_mean":0.2789}
}]