Links for the Week of 2021-10-03

Here are some links I covered in the past week.

Table of Contents

  • General
  • R Interaction with Socket Server
  • R Jobs and Simultaneous or Parallel Computations in R and Python
  • Algorithmic Trading in R - Statistical Methods
  • Risk Management with R

General

CBOE - Options Reference Data

Link - DB

Source of option reference data in csv format for individual options and underlying stocks including:

  • Underlying strike price intervals for short term expiration options
  • Underlying list
  • All constituent data

Tax consequences of nonfungible tokens (NFTs)

Link - DB

Tiger becomes latest star athlete to release NFTs

Link - DB

Celebrities are known for their investment prowess. Can I get in on this?

Plans for $400-billion new city in the American desert unveiled

Link - DB

The best note taking apps for Mac – markdown, open format, cross platform

Link - DB

MkDocs

Link - DB

Markdown-based project documentation generator.

An Expert’s Take on the Best Philosophy Books

Link - DB

tags: books

Water Fasting Results: Why I LOVED Not Eating for 5 Days - Nat Eliason

Link - DB

tags: fasting

One man’s description of his journey to fast for 5 days, sprinkled with the science behind the health benefits of fasting: “Central to the benefits of fasting is a process called “autophagy.” Autophagy is the body’s natural process of killing off, eating up, or cleaning out bad cell matter that’s built up in your body. It’s an important system for staving off many diseases, including preventing cancer development.”

X1 PRO Gen 2 5000W Ebike Conversion Kit - CYCMOTOR LTD

Link - DB

Because everyone needs a 5000 watt e-bike conversion to dream about. Oh that’s just me?

GitHub - aahnik/tgcf: The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, … Call it whatever you like! tgcf can fulfill your custom needs.

Link - DB

Writer/Comedian Joe Mande’s Awesome DIY Cap Embroidery

Link - DB

The KC “Kurt Cobain” one is legit.

R Interaction with Socket Server

Communicating with a TCP socket (server) - Stack Overflow

Link - DB

tags: package

Useful when downloading data from DTN IQfeed. Their model is to download from the TCP/IP feed that runs locally on your machine.

See also:

  • the svSocket package.
  • How do multiple clients connect simultaneously to one port, say 80, on a server? - Stack Overflow. Link - DB

R Jobs and Simultaneous or Parallel Computations in R and Python

Call R from R

Link - DB

tags: package

The callR Package - useful for running a separate R process when you don’t want to leave your current session.

RStudio 1.2 Preview: Jobs - RStudio Blog

Link - DB

Running local R jobs in R studio.

Run multiple R-scripts simultaneously - Stack Overflow

Link - DB

Run multiple python scripts concurrently - Stack Overflow

Link - DB

Running Python Processes In Parallel - Data Science Beginners

Link - DB

Algorithmic Trading in R - Statistical Methods

The power of R for trading (part 1) - Systemic Risk and Systematic Value

Link - DB

The power of R for trading (part 2) - Systemic Risk and Systematic Value

Link - DB

Good information on broad topics as they relate to trading analysis in R.

On logistic regression using the lm() function: “Most trading strategies, whether quantitative or not, rely on the relation between a predictor variable and a predicted variable. Trades are often based on the belief that if x happens then y will follow…. Under many circumstances linear regression is simply the easiest way [1] to verify if this belief is significantly supported by the data and [2] to estimate what the magnitude of the response will be.”

On Logit (Logistic) Regression using the glm() function: “Logistic Regression is a classification algorithm used to predict a binary outcome (0 or 1) based on probability that is related to a set of independent variables. It operates like a special case of linear regression with a log of odds (i.e. relative probabilities) as dependent variable. Logistic regression is part of a larger class of algorithms known as Generalized Linear Model (GLM).

Logit regression is the standard method to assess whether a specific market event is likely to happen, based on available data.”

What markets can learn from statistical learning - Systemic Risk and Systematic Value

Link - DB

A broad overview of statistical learning methods, taken from “An Introduction to Statistical Learning with Applications in R”. From the opening paragraph: “Understanding statistical learning is critical in modern markets, even for non-quants. Statistical learning works with complex datasets to forecast returns or to estimate the impact of specific events. The choice of methods is key: they range from simple regression to complex machine learning. Simplicity can deliver superior returns if it avoids “overfitting” (gearing models excessively to specific past experiences). Success must be measured in “out-of-sample” predictive power, after a model has been selected and estimated.”

Risk Management with R

Financial Risk Management with R

Link - DB

Free course offered by Duke University

The basics of Value at Risk and Expected Shortfall

Link - DB

Value at Risk (VaR) for Algorithmic Trading Risk Management - Part I - QuantStart

Link - DB