title: Real-time data from yfinance
body: <p>I am trying to get real rime data from yfinance with following code.
  But I just get the same close/high/low/open results.
  I am starting to think that it is impossible with yfinance. Is there any <strong>free</strong> and <strong>european</strong> alternatives?</p>
  <p><strong>Thanks a lot in advance!!</strong></p>
  <pre><code>#import libraries
  import schedule
  import time
  import alpaca_trade_api as tradeapi
  import yfinance as yf
  import pandas as pd
  
  # Ask what stocks you want to check
  pd = pd.DataFrame()
  n = int(input(&quot;Enter the size of the list &quot;))
  print(&quot;\n&quot;)
  numList = list(num for num in input(&quot;Enter the list numbers separated by space &quot;).strip().split())[:n]
  print(&quot;User List: &quot;, numList)
  
  # Get info for every stock chosen. 
  def get_data():
      for ticker in numList:
          ticker_yahoo = yf.Ticker(ticker)
          data = ticker_yahoo.history(period = &quot;1d&quot;, interval=&quot;1m&quot;)
          data = (data.tail(1).iloc[0])
          pd[ticker] = data 
      
      print(pd)
      
  get_data()
  </code></pre>