以下のURLを参照して、解析トークンで構成される株価のベクトルを構築してください。
https://finance.yahoo.com/
def build_stock_vector(tokens): 
    stock_vector = [] 
  
    # Parse the tokens and 
    # get the stock prices 
    for token in tokens: 
        token_url = "https://finance.yahoo.com/quote/"+token 
        page = requests.get(token_url) 
        
        # Parse the html of the requested page 
        soup = BeautifulSoup(page.content, 'html.parser') 
        
        # Get the stock price from the html  
        # of the requested page 
        stock_price = soup.find("span", class_ ="Trsdu(0.3s) Fw(b) Fz(36px) Mb(-4px) D(ib)").text 
  
        # Append the stock prices in the stock vector 
        stock_vector.append(float(stock_price)) 
  
    return stock_vector