DeltaNeutral API Documentation
Welcome to the documentation for the APIs provided by this application. Below you will find information on how to use them. The demo key is restricted.
Send an email to support@deltaneutral.com if you would like your own APIKEY.
Setup
Endpoint: /hello
Description: Test if the API is up and running.
Example call: https://api.deltaneutral.net/hello
Other Setup related item
Options API
Endpoint: /eod-options-details/:underlying/:quotedate/:expiration/:format?/:maxRows?
Description: Retrieves end-of-day options details for the specified underlying, quote date, and expiration from a database and returns the results as either JSON or CSV.
Parameters:
:underlying (required) – The symbol of the underlying asset.
:quotedate (required) – The quote date for the options (in the format ‘yyyy-mm-dd’).
:expiration (required) – The expiration date for the options (in the format ‘yyyy-mm-dd’).
:format (optional) – The format to return the data in. Valid options are ‘json’ and ‘csv’.
:maxRows (optional) – The maximum number of rows to return in the response.
Example call: https://api.deltaneutral.net/eod-options-details/BABA/2023-03-06/2023-11-17/json/100?maxDate=2023-04-15&apikey=DEMOAPIKEY
Other Options APIs
Stocks API
Endpoint: /daily-stock-history/:symbol/:format?/:maxRows?/:maxDate
Description: Retrieves the daily historical stock data for the specified symbol from a database and returns the results as either JSON or CSV.
Parameters:
symbol – The stock symbol (e.g., AAPL).
format – (Optional) The response format, either “json” or “csv”. Defaults to “json”.
maxRows – (Optional) The maximum number of rows to return. Defaults to no limit.
maxDate – (Optional) The maximum date for the data. Defaults to the latest available date.
Example call: https://api.deltaneutral.net/daily-stock-history/AAPL/json/100/2023-03-03?apikey=DEMOAPIKEY
Other Stock APIs
|