On 5/10/2014 3:49 PM, PeCoNe wrote:
I need to get the quote data from the next site:

https://indices.nyx.com/en/products/indices/NL0000000107-XAMS/quotes

after wget there are no quotes in the output file.
Why?


You mean the 'view data' tab? When I click that a request is made to:

https://indices.nyx.com/sites/indices.nyx.com/modules/common/common_listings/custom/nyx_eu_listings/nyx_eu_listings_price_chart/pricechart/pricechart.php?q=intraday_data&from=1399593600000&isin=NL0000000107&mic=XAMS&dateFormat=d/m/Y&locale=null

You'll have to adjust the timestamp in 'from'. JSON is returned with an array of objects for day n. You could parse it.
        {
            "ISIN": "NL0000000107",
            "MIC": "NYSE Euronext Amsterdam",
            "tradeId": 0,
            "isCanceled": "0.00",
            "dateAndTime": "09\/05\/2014 09:00:03",
            "price": "402.31",
            "numberOfShares": "0.00",
            "TRADE_QUALIFIER": "Automatic indicative index",
            "timeZone": "CEST",
            "currency": "EUR"
        },


Reply via email to