Introduction
To connect using WebSockets API, you will need following information :
– “endpoint” to connect to,
– “port number” to connect to,
– “API Key”
You will get all of the above once you purchase the API from our team
The flow of operations should be as follows :
1. Make a connection to the ws://endpoint:port
2. Send Authentication Request using API Key
3. Once authentication is successful, send all other data requests
4. If connection is lost for any reasons, follow same steps from 1 to 3 as above.
Ready, lets gets started then
Download the sample
– Download JavaScript Sample from Download Code Samples page.
– The sample is zipped. Once downloaded, extract it to some folder using WinZip or WinRar
– Open JavaScriptExample.html file in the editor. You can use Notepad, Notepad++, Microsoft Visual Studio Code or any compatible Editor
Note the code below in file at the top :
//GFDL TODO - please enter below the endpoint received from GFDL team. If you dont have one, please contact us on sales@globaldatafeeds.in var wsUri = "ws://endpoint:port"; //GFDL TODO - please enter below the API Key received from GFDL team. If you dont have one, please contact us on sales@globaldatafeeds.in var password = "Enter API Access Key";
– Enter the Endpoint, Port and API Access Key received from our team in above code.
– Save this file and run it. You can run it directly in the editor (if supported) or you can run it in your browser.
– Make sure you run the sample during market hours.
What happens when sample is run for the first time ?
– When sample is run for the first time, it sends request to server for 2 functions – SubscribeRealtime (1 symbol each from each Exchange) and GetHistory (for latest 1 minute OHLCV bars of NIFTY-I – 10 nos)
– If you run sample during market hours, you will notice updation of realtime data of few instruments at your end. You will also notice that History of some symbols is downloaded at your end.
– Which function to run – is controlled in doTest() function – as shown below.
//GFDL TODO : All the functions supported by API are listed below. You can uncomment any function to see the flow of request and response function doTest() { SubscribeRealtime(); //GFDL : Subscribes to realtime data (server will push new data whenever available) //SubscribeSnapshot(); //GFDL : Subscribes to minute snapshot data (server will push new data whenever available) //GetLastQuote(); //GFDL : Returns LastTradePrice of Single Symbol (detailed) //GetLastQuoteShort(); //GFDL : Returns LastTradePrice of Single Symbol (short) //GetLastQuoteShortWithClose(); //GFDL : Returns LastTradePrice of Single Symbol (short) with Close of Previous Day //GetLastQuoteArray(); //GFDL : Returns LastTradePrice of multiple Symbols – max 25 in single call (detailed) //GetLastQuoteArrayShort(); //GFDL : Returns LastTradePrice of multiple Symbols – max 25 in single call (short) //GetLastQuoteArrayShortWithClose(); //GFDL : Returns LastTradePrice of multiple Symbols – max 25 in single call (short) with Previous Close //GetSnapshot(); //GFDL : Returns latest Snapshot Data of multiple Symbols – max 25 in single call GetHistory(); //GFDL : Returns historical data (Tick / Minute / EOD) //GetExchanges(); //GFDL : Returns array of available exchanges configured for API Key //GetInstrumentsOnSearch(); //GFDL : Returns array of max. 20 instruments by selected exchange and 'search string' //GetInstruments(); //GFDL : Returns array of instruments by selected exchange //GetInstrumentTypes(); //GFDL : Returns list of Instrument Types (e.g. FUTIDX, FUTSTK, etc.) //GetProducts(); //GFDL : Returns list of Products (e.g. NIFTY, BANKNIFTY, GAIL, etc.) //GetExpiryDates(); //GFDL : Returns array of Expiry Dates (e.g. 25JUN2020, 30JUL2020, etc.) //GetOptionTypes(); //GFDL : Returns list of Option Types (e.g. CE, PE, etc.) //GetStrikePrices(); //GFDL : Returns list of Strike Prices (e.g. 10000, 11000, 75.5, etc.) //GetServerInfo(); //GFDL : Returns the server endpoint where user is connected //GetLimitation(); //GFDL : Returns user account information (functions allowed, Exchanges allowed, symbol limit, etc.) //GetMarketMessages(); //GFDL : Returns array of last messages (Market Messages) related to selected exchange //GetExchangeMessages(); //GFDL : Returns array of last messages (Exchange Messages) related to selected exchange //GetOptionChainLastQuotes(); //GFDL : Returns OptionChain data in realtime //GetExchangeSnapshot(); //GFDL : Returns entire Exchange Snapshot in realtime }
Sample Response
GFDL - WebSocket Sample (updated 29th June 2020) CONNECTED Endpoint :ws://ENDPOINT:PORT/ (masked) Authenticate Time : Mon Jun 29 2020 14:51:45 GMT+0530 (India Standard Time) SENT: {"MessageType":"Authenticate","Password":"password_is_masked"} Time : Mon Jun 29 2020 14:51:45 GMT+0530 (India Standard Time) RESPONSE: AUTHENTICATED!!! Time : Mon Jun 29 2020 14:51:45 GMT+0530 (India Standard Time) RESPONSE: {"Complete":true,"Message":"Welcome!","MessageType":"AuthenticateResult"} Time : Mon Jun 29 2020 14:51:45 GMT+0530 (India Standard Time) RESPONSE: {"AllowVMRunning":false,"MessageType":"AllowVMRunningResult"} Time : Mon Jun 29 2020 14:51:45 GMT+0530 (India Standard Time) RESPONSE: {"AllowServerOSRunning":false,"MessageType":"AllowServerOSRunningResult"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"NFO","InstrumentIdentifier":"NIFTY-I"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"NFO","InstrumentIdentifier":"FUTIDX_NIFTY_30JUL2020_XX_0"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"NFO","InstrumentIdentifier":"NIFTY20JULFUT"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"NSE_IDX","InstrumentIdentifier":"NIFTY 50"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"NSE","InstrumentIdentifier":"BAJAJ-AUTO"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"CDS","InstrumentIdentifier":"USDINR-I"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"SubscribeRealtime","Exchange":"MCX","InstrumentIdentifier":"NATURALGAS-I"} Time : Mon Jun 29 2020 14:51:47 GMT+0530 (India Standard Time) SENT: {"MessageType":"GetHistory","Periodicity":"Minute","Period":1,"Exchange":"NFO","InstrumentIdentifier":"NIFTY-I","Max":10} Time : Mon Jun 29 2020 14:51:48 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE","InstrumentIdentifier":"BAJAJ-AUTO","LastTradeTime":1593422507,"ServerTime":1593422507,"AverageTradedPrice":2831.15,"BuyPrice":2832.0,"BuyQty":10,"Close":2867.6,"High":2857.75,"Low":2815.0,"LastTradePrice":2832.6,"LastTradeQty":0,"Open":2825.0,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":2832.6,"SellQty":79,"TotalQtyTraded":517710,"Value":1465714666.5,"PreOpen":false,"PriceChange":-35.0,"PriceChangePercentage":-1.22,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:48 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE_IDX","InstrumentIdentifier":"NIFTY 50","LastTradeTime":1593422508,"ServerTime":1593422508,"AverageTradedPrice":0.0,"BuyPrice":0.0,"BuyQty":0,"Close":10383.0,"High":10325.9,"Low":10223.6,"LastTradePrice":10280.45,"LastTradeQty":0,"Open":10311.95,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":0.0,"SellQty":0,"TotalQtyTraded":0,"Value":0.0,"PreOpen":false,"PriceChange":-102.55,"PriceChangePercentage":-0.99,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:48 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY-I","LastTradeTime":1593422508,"ServerTime":1593422508,"AverageTradedPrice":10208.98,"BuyPrice":10213.6,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10214.5,"LastTradeQty":300,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.65,"SellQty":75,"TotalQtyTraded":13710675,"Value":139972006861.5,"PreOpen":false,"PriceChange":-103.5,"PriceChangePercentage":-1.0,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:48 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"FUTIDX_NIFTY_30JUL2020_XX_0","LastTradeTime":1593422508,"ServerTime":1593422508,"AverageTradedPrice":10208.98,"BuyPrice":10213.6,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10214.5,"LastTradeQty":300,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.65,"SellQty":75,"TotalQtyTraded":13710675,"Value":139972006861.5,"PreOpen":false,"PriceChange":-103.5,"PriceChangePercentage":-1.0,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:48 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY20JULFUT","LastTradeTime":1593422508,"ServerTime":1593422508,"AverageTradedPrice":10208.98,"BuyPrice":10213.6,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10214.5,"LastTradeQty":300,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.65,"SellQty":75,"TotalQtyTraded":13710675,"Value":139972006861.5,"PreOpen":false,"PriceChange":-103.5,"PriceChangePercentage":-1.0,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:49 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE_IDX","InstrumentIdentifier":"NIFTY 50","LastTradeTime":1593422509,"ServerTime":1593422509,"AverageTradedPrice":0.0,"BuyPrice":0.0,"BuyQty":0,"Close":10383.0,"High":10325.9,"Low":10223.6,"LastTradePrice":10280.25,"LastTradeQty":0,"Open":10311.95,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":0.0,"SellQty":0,"TotalQtyTraded":0,"Value":0.0,"PreOpen":false,"PriceChange":-102.75,"PriceChangePercentage":-0.99,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:49 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"FUTIDX_NIFTY_30JUL2020_XX_0","LastTradeTime":1593422509,"ServerTime":1593422509,"AverageTradedPrice":10208.98,"BuyPrice":10213.0,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.25,"LastTradeQty":1050,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13711725,"Value":139982726290.5,"PreOpen":false,"PriceChange":-105.75,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:49 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY20JULFUT","LastTradeTime":1593422509,"ServerTime":1593422509,"AverageTradedPrice":10208.98,"BuyPrice":10213.0,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.25,"LastTradeQty":1050,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13711725,"Value":139982726290.5,"PreOpen":false,"PriceChange":-105.75,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:49 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY-I","LastTradeTime":1593422509,"ServerTime":1593422509,"AverageTradedPrice":10208.98,"BuyPrice":10213.0,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.25,"LastTradeQty":1050,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13711725,"Value":139982726290.5,"PreOpen":false,"PriceChange":-105.75,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE","InstrumentIdentifier":"BAJAJ-AUTO","LastTradeTime":1593422509,"ServerTime":1593422510,"AverageTradedPrice":2831.15,"BuyPrice":2831.6,"BuyQty":29,"Close":2867.6,"High":2857.75,"Low":2815.0,"LastTradePrice":2831.6,"LastTradeQty":14,"Open":2825.0,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":2832.55,"SellQty":4,"TotalQtyTraded":517724,"Value":1465754302.6,"PreOpen":false,"PriceChange":-36.0,"PriceChangePercentage":-1.26,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE_IDX","InstrumentIdentifier":"NIFTY 50","LastTradeTime":1593422510,"ServerTime":1593422510,"AverageTradedPrice":0.0,"BuyPrice":0.0,"BuyQty":0,"Close":10383.0,"High":10325.9,"Low":10223.6,"LastTradePrice":10279.95,"LastTradeQty":0,"Open":10311.95,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":0.0,"SellQty":0,"TotalQtyTraded":0,"Value":0.0,"PreOpen":false,"PriceChange":-103.05,"PriceChangePercentage":-0.99,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY-I","LastTradeTime":1593422510,"ServerTime":1593422510,"AverageTradedPrice":10208.98,"BuyPrice":10212.5,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.5,"LastTradeQty":675,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13712400,"Value":139989617352.0,"PreOpen":false,"PriceChange":-105.5,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"FUTIDX_NIFTY_30JUL2020_XX_0","LastTradeTime":1593422510,"ServerTime":1593422510,"AverageTradedPrice":10208.98,"BuyPrice":10212.5,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.5,"LastTradeQty":675,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13712400,"Value":139989617352.0,"PreOpen":false,"PriceChange":-105.5,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"NIFTY20JULFUT","LastTradeTime":1593422510,"ServerTime":1593422510,"AverageTradedPrice":10208.98,"BuyPrice":10212.5,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10212.5,"LastTradeQty":675,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.5,"SellQty":225,"TotalQtyTraded":13712400,"Value":139989617352.0,"PreOpen":false,"PriceChange":-105.5,"PriceChangePercentage":-1.02,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"CDS","InstrumentIdentifier":"USDINR-I","LastTradeTime":1593422510,"ServerTime":1593422510,"AverageTradedPrice":75.7815557,"BuyPrice":75.715,"BuyQty":458,"Close":75.825,"High":75.885,"Low":75.705,"LastTradePrice":75.715,"LastTradeQty":0,"Open":75.825,"OpenInterest":1731106,"QuotationLot":0.0,"SellPrice":75.72,"SellQty":409,"TotalQtyTraded":882210,"Value":66855246254.0,"PreOpen":false,"PriceChange":-0.11,"PriceChangePercentage":-0.15,"OpenInterestChange":63438,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:50 GMT+0530 (India Standard Time) RESPONSE: {"Request":{"Exchange":"NFO","InstrumentIdentifier":"NIFTY-I","IsShortIdentifier":false,"From":0,"To":0,"Max":10,"Periodicity":"MINUTE","Period":1,"MessageType":"GetHistory"},"Result":[{"LastTradeTime":1593422460,"QuotationLot":75,"TradedQty":45600,"OpenInterest":12995025,"Open":10224.85,"High":10226.55,"Low":10211.7,"Close":10212.25},{"LastTradeTime":1593422400,"QuotationLot":75,"TradedQty":22425,"OpenInterest":13018350,"Open":10222.8,"High":10228.0,"Low":10221.3,"Close":10222.9},{"LastTradeTime":1593422340,"QuotationLot":75,"TradedQty":36900,"OpenInterest":13018350,"Open":10220.3,"High":10224.15,"Low":10215.0,"Close":10222.8},{"LastTradeTime":1593422280,"QuotationLot":75,"TradedQty":65550,"OpenInterest":13018350,"Open":10233.0,"High":10234.8,"Low":10220.0,"Close":10220.0},{"LastTradeTime":1593422220,"QuotationLot":75,"TradedQty":16875,"OpenInterest":13024575,"Open":10238.55,"High":10239.4,"Low":10233.0,"Close":10234.45},{"LastTradeTime":1593422160,"QuotationLot":75,"TradedQty":56025,"OpenInterest":13024575,"Open":10234.8,"High":10243.35,"Low":10234.5,"Close":10239.6},{"LastTradeTime":1593422100,"QuotationLot":75,"TradedQty":60675,"OpenInterest":13024575,"Open":10227.65,"High":10240.0,"Low":10227.65,"Close":10234.8},{"LastTradeTime":1593422040,"QuotationLot":75,"TradedQty":26250,"OpenInterest":13026300,"Open":10230.0,"High":10236.55,"Low":10228.0,"Close":10228.0},{"LastTradeTime":1593421980,"QuotationLot":75,"TradedQty":17550,"OpenInterest":13026300,"Open":10228.5,"High":10232.0,"Low":10223.8,"Close":10228.75},{"LastTradeTime":1593421920,"QuotationLot":75,"TradedQty":25725,"OpenInterest":13026300,"Open":10230.0,"High":10233.0,"Low":10228.25,"Close":10229.3}],"MessageType":"HistoryOHLCResult"} Time : Mon Jun 29 2020 14:51:51 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE_IDX","InstrumentIdentifier":"NIFTY 50","LastTradeTime":1593422511,"ServerTime":1593422511,"AverageTradedPrice":0.0,"BuyPrice":0.0,"BuyQty":0,"Close":10383.0,"High":10325.9,"Low":10223.6,"LastTradePrice":10279.55,"LastTradeQty":0,"Open":10311.95,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":0.0,"SellQty":0,"TotalQtyTraded":0,"Value":0.0,"PreOpen":false,"PriceChange":-103.45,"PriceChangePercentage":-1.0,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:51 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NSE","InstrumentIdentifier":"BAJAJ-AUTO","LastTradeTime":1593422510,"ServerTime":1593422511,"AverageTradedPrice":2831.15,"BuyPrice":2831.6,"BuyQty":29,"Close":2867.6,"High":2857.75,"Low":2815.0,"LastTradePrice":2832.6,"LastTradeQty":200,"Open":2825.0,"OpenInterest":0,"QuotationLot":0.0,"SellPrice":2832.6,"SellQty":29,"TotalQtyTraded":517924,"Value":1466320532.6,"PreOpen":false,"PriceChange":-35.0,"PriceChangePercentage":-1.22,"OpenInterestChange":0,"MessageType":"RealtimeResult"} Time : Mon Jun 29 2020 14:51:51 GMT+0530 (India Standard Time) RESPONSE: {"Exchange":"NFO","InstrumentIdentifier":"FUTIDX_NIFTY_30JUL2020_XX_0","LastTradeTime":1593422511,"ServerTime":1593422511,"AverageTradedPrice":10208.98,"BuyPrice":10213.15,"BuyQty":75,"Close":10318.0,"High":10265.35,"Low":10156.3,"LastTradePrice":10214.45,"LastTradeQty":75,"Open":10241.9,"OpenInterest":12995025,"QuotationLot":0.0,"SellPrice":10214.9,"SellQty":150,"TotalQtyTraded":13712475,"Value":139990383025.5,"PreOpen":false,"PriceChange":-103.55,"PriceChangePercentage":-1.0,"OpenInterestChange":1360200,"MessageType":"RealtimeResult"}
– To know how each function works, you can uncomment required function, save the sample and run it.
– For easy identification, all outgoing requests are printed in black color while all incoming server responses are printed in blue color.
Trouble-shooting
The code outputs nothing
– Please make sure you have entered the Endpoint, Port & API Key in the sample code, saved the changes before running it.
– To see realtime data in action, you should run the sample during market hours
– If you are behind firewall, please speak to your network administrator and get the endpoint URL and port whitelisted in your firewall
I can see some output but I dont see all symbols requested / I get “Exchange Not Enabled.” message
– SubscribeRealtime function runs at least 1 symbol from each Exchange Segment. You will need to make sure you have paid for the subscription of the Exchange you are using in your request.
– Some examples use Contractwise symbols which might have expired. Please check code and change the symbols. Please check Symbol Naming Conventions page for more information about various ways to name symbols (especially Futures and Options).
I have requested data but it takes lot of time to receive the response
– If you have requested entire GetHistory, GetInstruments (for NSE / NFO), GetExchangeSnapshot or GetLastQuoteOptionChain, these functions return thousands of rows. So it is possible that it takes more time than other requests to return the data
– Please make sure you are on fast internet connection.
I have other issues not listed here
– Please drop an email to developer@globaldatafeeds.in with following :
1. Details of the request sent (exact syntax), expected response & received response
2. Screenshot of the request & response
3. API Key used
Once received, we will check and revert at the earliest (typically within few hours for normal queries).