apilayer / marketstack

Free Real-Time, Intraday & Historical Stock Market Data API
https://marketstack.com
67 stars 14 forks source link

Tickers on Oslo Børs have not been updated. #17

Open loldot opened 3 years ago

loldot commented 3 years ago

This weekend Oslo Børs was moved to Euronexts trading platform. As a consequence, some tickers were changed, these changes are not implemented in the market stack API. For instance using the correct ticker BOUV.XOSL for the company Bouvet ASA I do not get a result, and using the old ticker I only receive data from before the change. See examples of batch requests below, where I request one security where the ticker remains unchanged (SVEG.XOSL), and either BOUV.XOSL or BOUVET.XOSL. The list of changed tickers can be found here: https://newsweb.oslobors.no/message/519215

curl "http://api.marketstack.com/v1/eod/latest?access_key=<redacted>&symbols=BOUV.XOSL,SVEG.XOSL" > result.json

{
    "pagination": {
        "limit": 100,
        "offset": 0,
        "count": 1,
        "total": 0
    },
    "data": [
        {
            "open": 68.5,
            "high": 68.8,
            "low": 67.4,
            "close": 68.2,
            "volume": 45251.0,
            "adj_high": null,
            "adj_low": null,
            "adj_close": 68.2,
            "adj_open": null,
            "adj_volume": null,
            "symbol": "SVEG.XOSL",
            "exchange": "XOSL",
            "date": "2020-11-30T00:00:00+0000"
        }
    ]
}

curl "http://api.marketstack.com/v1/eod/latest?access_key=<redacted>&symbols=BOUVET.XOSL,SVEG.XOSL" > result_old.json

{
    "pagination": {
        "limit": 100,
        "offset": 0,
        "count": 2,
        "total": 0
    },
    "data": [
        {
            "open": 620.0,
            "high": 644.0,
            "low": 618.0,
            "close": 640.0,
            "volume": 7595.0,
            "adj_high": null,
            "adj_low": null,
            "adj_close": 640.0,
            "adj_open": null,
            "adj_volume": null,
            "symbol": "BOUVET.XOSL",
            "exchange": "XOSL",
            "date": "2020-11-27T00:00:00+0000"
        },
        {
            "open": 68.5,
            "high": 68.8,
            "low": 67.4,
            "close": 68.2,
            "volume": 45251.0,
            "adj_high": null,
            "adj_low": null,
            "adj_close": 68.2,
            "adj_open": null,
            "adj_volume": null,
            "symbol": "SVEG.XOSL",
            "exchange": "XOSL",
            "date": "2020-11-30T00:00:00+0000"
        }
    ]
}