Author: Chen
-
Quantitative Trading by EP Chan (Notes Part 1)
—
in NotesRead more: Quantitative Trading by EP Chan (Notes Part 1)Note that this post does not summarize everything that’s covered in the book. I am only summarizing what is relevant/new for me. Chapter 1: The Whats, Whos, and Whys of Quantitative Trading Daily work (for a semi-automated operation) Daily work (for a fully-automated operation) Monitor and intervene when software and connectivity broke down Chapter 2:…
-
How to work with financial timeseries in Python
—
in PythonRead more: How to work with financial timeseries in PythonHow to download stock and option prices from Yahoo Finance How to export data to separate Excel sheets How to read from Excel files How to export data to separate CSV files How to read tables from HTML pages How to plot single series stock charts (line graphs, bar charts, candlestick charts) using the cufflinks…
-
The Lagrange Method for Optimization
—
in MathematicsRead more: The Lagrange Method for OptimizationThe Lagrange method can be used to help us perform optimization by determining the relative weightage of each asset in order to minimize portfolio variance or maximize returns. First, we need to form a Lagrangian function L(x, λ) augmented by the addition of the constraint functions. Each constraint function is multiplied by a variable, called…
-
Different Forms of Itô’s Lemma
—
in MathematicsRead more: Different Forms of Itô’s LemmaCase 1: Function is in terms of X (Brownian Motion) Case 1a: F = F(X) Case 1b: F = F(t, X) Case 2: Function is in terms of Z Case 2a: F = F(Z) Case 2b: F = F(t, Z)
-
Solving 2nd Order ODE
—
in MathematicsRead more: Solving 2nd Order ODECase 1: Homogeneous Case 1a Case 1b Case 1c Case 2: Non Homogeneous To find yp, we make an educated guess using the method of undetermined coefficients. This works if d(x) is: Polynomial Exponential (i.e. Aekx, provided k is not a root of ay” + by’ + c = 0) Trigonometry (i.e. Asinkx + Bcoskx,…
-
Solving 1st Order ODE
—
in MathematicsRead more: Solving 1st Order ODECase 1: x missing Example: Case 2: y missing Case 3: Variable Separable Example: Case 4: Linear Equations Verification:
