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. This API is in BETA and unrestricted apikeys available to current customers.
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/:maxDate/: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').
:maxDate (required) - The maximum date for the options data to be included (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/2023-04-15/json/100?apikey=DEMOAPIKEY
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
Technical Analysis API
Endpoint: /simple-moving-average/:symbol/:maxDate/:interval
Description: Retrieves the moving average for the specified symbol and interval from a
database and returns the result as a JSON object.
Parameters:
:symbol (required) - The symbol of the stock.
:maxDate (required) - The last date in the series.
:interval (required) - The time interval for the moving average in days. Valid options are
between 1 and 200'.
:apikey (required) - Your API key.
Example call: https://api.deltaneutral.net/simple-moving-average/2023-03-01/20?apikey=DEMOAPIKEY
Other Tech APIs
|