SciPy signal tools for finance after work: detrend and Savitzky–Golay on toy prices you can audit. Educational only. Not investment advice.
You searched for scipy signal processing finance. After a full day of work, you do not need a 400-page manual—you need a why-first path that fits one evening: understand the angle (detrend / Savitzky–Golay / simple filters on toy prices), run a tiny example, and know what not to claim.
This hub article is educational only. Not investment advice. It will not pick stocks, size positions, or promise edge.
Tool focus: scipy.
import numpy as np
from scipy import signal
rng = np.random.default_rng(0)
t = np.arange(120)
x = np.cumsum(rng.normal(0, 1, size=t.shape)) + 0.05 * t
# Savitzky–Golay smooth (educational toy)
smooth = signal.savgol_filter(x, window_length=11, polyorder=2)
det = signal.detrend(x)
print(x[-1], smooth[-1], det.std())
Run it in a throwaway venv. If an import is missing, install only what you need for tonight—do not boil the ocean.
You can explain detrend / Savitzky–Golay / simple filters on toy prices in two sentences, show one chart or printout, and list one risk. That is enough progress for an after-work session.
Tomorrow, connect this tool to the adjacent skill (data hygiene, validation, or a simple dashboard)—still educational, still not investment advice.
Educational only. Not investment advice.
pip show) so you can reproduce tomorrow.scratch/ folder; do not mix experiments with production paths.