Skip to content

Instantly share code, notes, and snippets.

View tim-skauge's full-sized avatar

Tim Skauge tim-skauge

View GitHub Profile
@tim-skauge
tim-skauge / SP500_tickers_data.py
Created September 12, 2023 14:28 — forked from quantra-go-algo/SP500_tickers_data.py
Python code to get price data for all S&P500 tickers
# 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
@tim-skauge
tim-skauge / RedisJobQueue.cs
Created November 13, 2020 19:29 — forked from tenowg/RedisJobQueue.cs
A Message/Job Queue based on StackExchange.Redis and Redis Server
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
{
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;