title: python - the execution looks like synchronous with asyncio
body: <p>Api calls could be speeded up with asynchronous calls.
  So I thought I can speed up my program by using asyncio. By displaying the results, the execution looks like synchronous. So I'm completely confused. What did I do wrong?</p>
  
  <pre><code>import asyncio
  # pip install git+https://github.com/sammchardy/python-binance.git@00dc9a978590e79d4aa02e6c75106a3632990e8d
  from binance import AsyncClient
  import time
  
  
  async def catch_up_aggtrades(client, symbols):
      start = time.time()   
      for symbol in symbols:
          await get_historical_aggtrades(client, symbol)
      end = time.time()
      print(end-start)
  
  
  async def get_historical_aggtrades(client, symbol):
      async for trade in client.aggregate_trade_iter(symbol, '5 minutes ago UTC'):
          print("symbol {} -&gt; {}".format(symbol, trade))
  
  
  async def main():
      client = await AsyncClient.create()
      symbols = ['BTCUSDT', 'ETHUSDT', 'BNBUSDT']
      await catch_up_aggtrades(client, symbols)
      while True:
         await asyncio.sleep(20, loop=loop)
  
  
  if __name__ == "__main__":
      loop = asyncio.get_event_loop()
      loop.run_until_complete(main())
  </code></pre>