Skip to content

Instantly share code, notes, and snippets.

View msmith01's full-sized avatar

Matthew Smith msmith01

View GitHub Profile
{
"public_identifier": "msmithsm14",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=95836bf3b6d2f4ce52b13bcc1b85b9214504cf9810a65684b45c860be80e1386",
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=726857ed39e7e32ab221ff47e82454e81678a6c0349592febb45e58c41019eb1",
"first_name": "Matthew",
"last_name": "Smith",
"full_name": "Matthew Smith",
"follower_count": null,
"occupation": "Research Engineer at Barcelona Supercomputing Center",
"headline": "Economist: Research Engineer at Barcelona S
{
"public_identifier": "msmithsm14",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=95836bf3b6d2f4ce52b13bcc1b85b9214504cf9810a65684b45c860be80e1386",
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=726857ed39e7e32ab221ff47e82454e81678a6c0349592febb45e58c41019eb1",
"first_name": "Matthew",
"last_name": "Smith",
"full_name": "Matthew Smith",
"follower_count": null,
"occupation": "Research Engineer at Barcelona Supercomputing Center",
"headline": "Economist: Research Engineer at Barcelona S
{
"public_identifier": "msmithsm14",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=95836bf3b6d2f4ce52b13bcc1b85b9214504cf9810a65684b45c860be80e1386",
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T202309Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=726857ed39e7e32ab221ff47e82454e81678a6c0349592febb45e58c41019eb1",
"first_name": "Matthew",
"last_name": "Smith",
"full_name": "Matthew Smith",
"follower_count": null,
"occupation": "Research Engineer at Barcelona Supercomputing Center",
"headline": "Economist: Research Engineer at Barcelona S
{
'public_identifier': 'msmithsm14',
'profile_pic_url': 'https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T164435Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=101b784f8bcf99be29e47217eeb9cd43bee85bcfda548bf10c303c2d151b9fed',
'background_cover_image_url': 'https://s3.us-west-000.backblazeb2.com/proxycurl/person/msmithsm14/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230720%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230720T164435Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=69a8ab717cf54023de7db345c26384b56e953a57062a759d4c72bf8d3c5ca42a',
'first_name': 'Matthew',
'last_name': 'Smith',
'full_name': 'Matthew Smith',
'follower_count': None,
'occupation': 'Research Engineer at Barcelona Supercomputing Center',
'headline': 'Economist: Research Engineer at Barcelona S
@msmith01
msmith01 / intraday-sp500.R
Created November 14, 2020 20:37 — forked from joshuaulrich/intraday-sp500.R
Track the S&P 500 throughout the trading day
require(quantmod)
do_chart <- function(symbol) {
quote <- getQuote(symbol)
quote$Close <- quote$Last
xts(OHLCV(quote), quote[,"Trade Time"],
pct_change = quote[,"% Change"])
}
x <- readRDS("intraday-sp500.rds")