This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Import packages | |
| import yfinance as yf | |
| import pandas as pd | |
| # Read and print the stock tickers that make up S&P500 | |
| tickers = pd.read_html( | |
| 'https://en.wikipedia.org/wiki/List_of_S%26P_500_companies')[0] | |
| print(tickers.head()) | |
| # Get the data for this tickers from yahoo finance | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using StackExchange.Redis; | |
| namespace CitySurvival.Redis | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| namespace tim-skauge | |
| { | |
| public static class Password | |
| { | |
| private const int SaltLength = 16; |