Sorting Order of getquote function

vishwarupa
vishwarupa edited May 2020 in PHP client
Im using getQuote(["NSE:BANDHANBNK","NSE:AXISBANK"] function to get values of mentioned 2 trades but in for loop results im getting results sorted by alphabet, axis bank resuts coming first, next bandhan bank results. I dont want sorting results by alphabet order, Results will come like in array sequnce. How to do?
  • sujith
    The Quote API response is a map and a map data structure will not have a sequence. You will have to check the key and do further operations.
Sign In or Register to comment.