Stock Quote
Waiting...
TEST CURL COMMAND HERE
Logger


    
    
    

    
curl http://services.mcx-sx.com/srvlnk.xml
    <root>
        <url key="currencyurl">
            <value>http://services.mcx-sx.com/chartservice.svc/cd/{charttype}/{symbol}/{series}/{expiry}/{instrumenttype}/{optiontype}/{strikeprice}</value>
        </url>
        <url key="equityurl">
            <value>http://services.mcx-sx.com/chartservice.svc/eq/line/{symbol}/{series}/{expiry}/2/xx/0</value>
        </url>
        <url key="equitypreopenurl">
            <value>http://services.mcx-sx.com/chartservice.svc/eq/preo/{symbol}/{series}/{expiry}/2</value>
        </url>
        <url key="equityindexurl">
            <value>http://services.mcx-sx.com/chartservice.svc/eq/idx/{symbol}/nm</value>
        </url>
        <url key="equitypreopenindexurl">
            <value>http://services.mcx-sx.com/chartservice.svc/eq/idx/{symbol}/po</value>
        </url>
        <url key="equityderivativesurl">
            <value>http://services.mcx-sx.com/chartservice.svc/eds/{charttype}/{symbol}/{series}/{expiry}/{instrumenttype}/{optiontype}/{strikeprice}</value>
        </url>
        <url key="currencyhistoricalurl">
            <value>http://services.mcx-sx.com/chartservice.svc/cd/{charttype}/{symbol}/{series}/{expiry}/{instrumentname}/{optiontype}/{strikeprice}/{startdate}/{enddate}</value>
        </url>
    </root>
    
curl http://services.mcx-sx.com/chartservice.svc/eq/line/TCS/EQ/1577836800/2/xx/0
    {
        "Expiry": null,
        "InstrumentName": null,
        "OptionType": null,
        "StrikePrice": 0,
        "cmonth": "JAN2020",
        "comparison": null,
        "date": 1364860800,
        "hline": null,
        "line": [
            {
                "c": "1551.80",
                "t": 34008,
                "v": 250
            },
            {
                "c": "1551.90",
                "t": 34064,
                "v": 500
            },
            {
                "c": "1547.85",
                "t": 34160,
                "v": 250
            },
            {
                "c": "1546.00",
                "t": 35858,
                "v": 250
            }
            ],
        "ohlcv": null,
        "oi": null,
        "pcp": 1553.4,
        "rbi": 0,
        "secdesc": "TATA CONSULTANCY SERV LTD",
        "series": "EQ ",
        "symbol": "TCS",
        "vol": null
    }
    
Example Escaped (URL Encoded) CURL Command
    curl "http://pubsub.pubnub.com/publish/demo/demo/0/TCS/0/%7B%22Expiry%22%3Anull
    %2C%22InstrumentName%22%3Anull%2C%22OptionType%22%3Anull%2C%22StrikePrice%22%3A
    0%2C%22cmonth%22%3A%22JAN2020%22%2C%22comparison%22%3Anull%2C%22date%22%3A13648
    60800%2C%22hline%22%3Anull%2C%22line%22%3A%5B%7B%22c%22%3A%221551.80%22%2C%22t%
    22%3A34008%2C%22v%22%3A250%7D%2C%7B%22c%22%3A%221551.90%22%2C%22t%22%3A34064%2C
    %22v%22%3A500%7D%2C%7B%22c%22%3A%221547.85%22%2C%22t%22%3A34160%2C%22v%22%3A250
    %7D%2C%7B%22c%22%3A%221551.00%22%2C%22t%22%3A34255%2C%22v%22%3A250%7D%2C%7B%22c
    %22%3A%221550.65%22%2C%22t%22%3A34550%2C%22v%22%3A250%7D%2C%7B%22c%22%3A%221549
    .30%22%2C%22t%22%3A34684%2C%22v%22%3A250%7D%2C%7B%22c%22%3A%221544.20%22%2C%22t
    %22%3A35272%2C%22v%22%3A250%7D%2C%7B%22c%22%3A%221544.60%22%2C%22t%22%3A35328%2
    C%22v%22%3A253%7D%2C%7B%22c%22%3A%221546.00%22%2C%22t%22%3A35858%2C%22v%22%3A25
    0%7D%5D%2C%22ohlcv%22%3Anull%2C%22oi%22%3Anull%2C%22pcp%22%3A1553.4%2C%22rbi%22
    %3A0%2C%22secdesc%22%3A%22TATA%20CONSULTANCY%20SERV%20LTD%22%2C%22series%22%3A%
    22EQ%20%22%2C%22symbol%22%3A%22TCS%22%2C%22vol%22%3Anull%7D"
    
Example UnEscaped JSON
    {"Expiry":null,"InstrumentName":null,"OptionType":null,"StrikePrice":0,"cmonth":"JAN2020","comparison":null,"date":1364860800,"hline":null,"line":[{"c":"1551.80","t":34008,"v":250},{"c":"1551.90","t":34064,"v":500},{"c":"1547.85","t":34160,"v":250},{"c":"1551.00","t":34255,"v":250},{"c":"1550.65","t":34550,"v":250},{"c":"1549.30","t":34684,"v":250},{"c":"1544.20","t":35272,"v":250},{"c":"1544.60","t":35328,"v":253},{"c":"1546.00","t":35858,"v":250}],"ohlcv":null,"oi":null,"pcp":1553.4,"rbi":0,"secdesc":"TATA CONSULTANCY SERV LTD","series":"EQ ","symbol":"TCS","vol":null}
    
http://www.pubnub.com/tutorial/http-rest-push-api