TimeSeries API

Important! Please note, that downloading and installing any of the DarkMindFx indicator packages and/or libraries you are accepting the terms of use described on this page - Terms Of Use. Please read them carefully before downloading.
All information and data provided as well as trademarks, service marks, trade names or any other marks are the property of the corresponding agencies. We don't own them and provide it for informational purposes only.

TimeSeries API Specification


Getting Started


Before using the API first you need to obtain the API Key. You can find it in your account details either by logging in or (if you don't have an account yet) by Registering

Here you can find the details about common strcuture of requests and responses as well as error handling approach.

Once you've got the API Key the first call you should perform is InitSession and speciffy the key as a parameter of the command. In response in case if the key is valid the Session Token will be returned. This Session Token then should be provided to all the other commands.

Use the menu of the left to get the detailed specification on each API command

When you're done with you work - close the session with CloseSession call.

List Of Tickers - Prices and Indicators


Command:

GetTickerList


With this command you can obtain the list of all tickers for the time series which service can return. This include the tickers for the stocks ETFs, and indicators.

URI
                    /api/timeseries/GetTickerList
POST Request:
                    {
                        "RequestID"    : "Unique-Identifier",
                        "CountryCode"  : "Country-Code (currently only 'US' is supported)",
                        "Type"         : "Type-of-timeseries [Price, Indicator]",
                        "SessionToken" : "Session-Token"
                    }
Response:
                    {
                        "Tickers"   : [
                            {"Ticker":"COT.FinFutOpt.090741",
                             "Name":"CANADIAN DOLLAR - CHICAGO MERCANTILE EXCHANGE",
                             "CountryCode":"US",
                             "Unit":"Value",
                             "Type":"Indicator"},
                            {"Ticker":"COT.FinFutOpt.092741",
                             "Name":"SWISS FRANC - CHICAGO MERCANTILE EXCHANGE",
                             "CountryCode":"US",
                             "Unit":"Value",
                             "Type":"Indicator"},
                                ......
                        ],
                        "RequestID"    : "Unique-Identifier", 
                        "Success"      : true,
                        "Errors"       : [],
                        "SessionToken" : "Session-Token"
                    }

GET request:
                    /api/timeseries/GetTickerList/{CountryCode}/{Type}/{SessionToken}