Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Alex Foxtrod89

🏠
Working from home
View GitHub Profile
@Foxtrod89
Foxtrod89 / ivFullCode.R
Created Aug 6, 2021 — forked from addiversitas/ivFullCode.R
full code example for implied volatility surface
View ivFullCode.R
#load packages
library(quantmod)
library(rvest)
library(reshape2)
library(plotly)
library(akima)
#get underlying stock info and last trade date
symbol <- "AAPL"
priceInfo <- getQuote(symbol)
@Foxtrod89
Foxtrod89 / ivCalculation.R
Created Aug 6, 2021 — forked from addiversitas/ivCalculation.R
iv calculation for APPL calls and puts
View ivCalculation.R
#generalized black scholes merton model
gBSM <- function(S, X, sigma, r, q, ttm, type){
#S = stock price
#X = strike price
#sigma = volatility
#r = risk free interest rate
#q = dividend yield
#ttm = time to maturity in days
#type = option type
View Breach Compilation (1.4 billion credentials) in Postgres.md

What would you need:

Hardware requirements

@Foxtrod89
Foxtrod89 / README.md
Created Mar 4, 2019 — forked from magnetikonline/README.md
Nginx embedded variables.
View README.md
View raspberry-pi-vpn-router.md

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to: