Skip to content

Instantly share code, notes, and snippets.

View justinjtownsend's full-sized avatar
👋

Justin Townsend justinjtownsend

👋
View GitHub Profile
@justinjtownsend
justinjtownsend / orats-functions
Last active March 21, 2024 13:37
Working with orats data
#' Combine calls and puts dataframes (with multiple expiries) to a single dataframe.
#'
# `opts.side_by_side.orats` returns the common side-by-side format for options chains from orats.
#'
#' This function is specific to orats data, sourced using quantmod::getOptionChain().
#'
#' Example:
#' spx.opts <- getOptionChain("SPX", Exp = NULL, src = "orats", api.key = "<KEY HERE>")
#' spx.opts.single_df <- opts.side_by_side.orats(spx.opts, orats.extras = 0)
@justinjtownsend
justinjtownsend / resume.json
Last active November 12, 2024 09:41
resume.json
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Justin Townsend",
"label": "Business Transformation | Platform Engineering | Technology Delivery",
"image": "https://avatars.githubusercontent.com/u/justinjtownsend",
"email": "justinjtownsend@gmail.com",
"phone": "",