Skip to main content
Version: 1.0.0

Get History For Source Id

GET 

/history/source/data

This service is used to get the historical data for the source id specified by the request parameter exchange specified by parameter source-id.

Request

Query Parameters

    source-id stringrequired

    Default value: NSDQ

    The sourceId of the exchange you want to request history data of. It will also be used for authorization.

    ticker-id string

    The tickerId of the exchange you want to request history data of.

    start-date string

    Possible values: Value must match regular expression yyyyMMddHHmmss

    The start date of the range for filtering records on TRANSACTION_DATE.

    end-date string

    Possible values: Value must match regular expression yyyyMMddHHmmss

    The end date of the range for filtering records on TRANSACTION_DATE.

    last-update-time string

    Possible values: Value must match regular expression yyyyMMddHHmmss

    The optional parameter which supports retrieval of data in delta mode.

    required-fields string[]

    The optional parameter which specifies the fields required in the response.

    response-type string

    Possible values: [json, csv, xml]

    Default value: json

    The response format for example json, csv or xml. The default is json.

    rows int32

    Possible values: <= 1000

    Default value: 10

    Number of records per page in the response.

    page int32

    Default value: 0

    The index of the page requested.

    sort-field string

    Default value: TRANSACTION_DATE

    sort-asc boolean

    Default value: false

Responses

OK

Schema
    response object
    numFound integer
    start integer
    docs object[]
  • Array [
  • KEY string
    TICKER_SERIAL string
    TICKER_ID string
    SOURCE_ID string
    INSTRUMENT_TYPE_ID string
    TRANSACTION_DATE string
    OPEN number
    HIGH number
    LOW number
    CLOSE number
    VOLUME integer
    TURNOVER number
    AVG_PRICE number
    LAST_UPDATED_ON string
    ADJUSTED_DATE string
    INCREMENT_ID integer
    NUMBER_OF_TRADES integer
    CHANGE number
    PCT_CHANGE number
    PREV_CLOSED number
    CF_IN_COUNT integer
    CF_IN_VOLUME integer
    CF_IN_TURNOVER number
    CF_OUT_COUNT integer
    CF_OUT_VOLUME integer
    CF_OUT_TURNOVER number
    MARKET_CAP string
    LASTTRADEPRICE number
    BESTBIDPRICE number
    BESTASKPRICE number
    TOTAL_BID_QTY integer
    TOTAL_ASK_QTY integer
    BEST_BID_QTY integer
    BEST_ASK_QTY integer
    CONTRIBUTOR string
  • ]
Loading...
Is this page helpful for you?