title: more efficient way of looping over name list in python
body: <p>I"m playing around with <a href="https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API#general" rel="nofollow noreferrer">Bittrex's API</a> to get the current price of a coin. (E.g: btc-ltc). So in this case, the API will read:</p>
  
  <pre><code>r = requests.get('https://bittrex.com/api/v1.1/public/getticker?market=BTC-LTC').json()
  pd = pandas.Dataframe(r)
  print(pd)
  </code></pre>
  
  <p>If I want to get the current price of maybe... 50 or 200 different coins, i wrote a loop to replace <code>BTC-LTC</code> with that particular market coin name. (part of another API on Bittrex)</p>
  
  <pre><code>for i in marketnames:
      r = requests.get('https://bittrex.com/api/v1.1/public/getticker?market={names}'.format(names=i)).json()
      pd = pandas.Dataframe(r)
      print(pd)
  </code></pre>
  
  <p>The problem with this loop is that it goes through 1 by 1, iterating over the list of coin names, 200 times to get the price. </p>
  
  <p>Is there a more efficient way of doing this? </p>