Muse could change who shapes the shopping shortlist. A source-based look at Amazon's defenses, information asymmetry, and the earnings required for a five-year META doubling scenario. Read article
Category: Finance & Trading
Finance & Trading is where orthogonal.info explores the intersection of software engineering and quantitative finance. This category covers algorithmic trading systems, market data analysis, SEC filing automation, and the Python-based tooling that makes it all possible. If you have ever wanted to build your own trading signals, backtest a strategy with real data, or automate the retrieval of financial filings, the guides here walk you through the engineering — not just the theory.
With 20 posts and counting, this is a growing collection of practical, code-first content for engineers who want to apply their skills to financial markets.
Key Topics Covered
Algorithmic trading systems — Designing, building, and deploying multi-agent trading systems using Python, LangGraph, and event-driven architectures with proper risk management layers.
Market data and APIs — Integrating with Yahoo Finance, Alpha Vantage, Polygon.io, FRED, and broker APIs to build reliable, real-time and historical data pipelines.
SEC EDGAR and financial filings — Automating 10-K, 10-Q, and 13-F retrieval and analysis using the SEC EDGAR full-text search API, CIK/ticker mapping, and structured data extraction.
Backtesting and strategy evaluation — Building backtesting frameworks with pandas, NumPy, and Backtrader, including walk-forward analysis, Monte Carlo simulation, and avoiding common pitfalls like look-ahead bias.
Options and derivatives analysis — Greeks calculation, volatility surface modeling, and options strategy evaluation using QuantLib and custom Python tooling.
Portfolio construction and risk — Mean-variance optimization, factor models, value-at-risk (VaR), and position sizing strategies for systematic portfolios.
Data engineering for finance — Storing tick data in PostgreSQL and TimescaleDB, building ETL pipelines, and managing the unique challenges of financial time-series data.
Who This Content Is For
This category is tailored for software engineers exploring quantitative finance, data scientists building trading models, self-directed investors who want to automate their research, and fintech developers building market-facing applications. You do not need a finance degree — the content assumes strong programming skills and teaches the domain concepts as they arise. A working knowledge of Python and basic statistics is helpful.
What You Will Learn
By working through the Finance & Trading articles, you will learn how to build end-to-end trading pipelines — from ingesting raw market data and SEC filings, through signal generation and backtesting, to execution and monitoring. You will understand how to structure a multi-agent analysis system, avoid the most common quantitative pitfalls, and leverage open-source Python libraries to do work that once required expensive proprietary platforms. Each post includes working code, real data sources, and honest discussion of limitations.
Dive into the posts below to start building your own quantitative edge.
-
Parsing Trading Data with Regex: How I Use RegexLab to Debug Financial Patterns Fast
Last quarter I was normalizing a feed of options trade confirmations from a brokerage API. The format looked clean at first — 2026-07-14 09:31:02 | AAPL | C | 190.00 | 2… Read article
-
The Treasury FiscalData API: Pull the U.S. National Debt as JSON (No Key)
The U.S. Treasury FiscalData API serves the national debt, interest rates, and FX rates as clean JSON — no API key. How to use it, with tested Python. Read article
-
The SEC EDGAR XBRL API: Pull Any Company’s Financials as JSON (No Key)
How to pull any US public company's financials as free JSON from the SEC EDGAR XBRL API, plus the revenue-tag gotcha that breaks naive screeners. Read article
-
The SpaceX 424B Prospectus Is Free on SEC EDGAR — Here’s What It Says and How to Pull It
SpaceX's 424B4 final prospectus (filed June 12, 2026) priced the IPO at $135/share. The real terms off the cover page, plus Python to pull it from SEC EDGAR. Read article
-
HouseStockWatcher Is Dead — Here’s How to Pull the Latest House Trades Yourself
The old HouseStockWatcher S3 bucket now 403s. Here's how to pull the latest US House stock trades from the Clerk's office in ~40 lines of Python. Read article
-
Reverse-Engineering SEC EDGAR’s Full-Text Search API (efts.sec.gov)
The SEC EDGAR full-text search runs on an undocumented efts.sec.gov JSON endpoint with no API key. Here is how to query it from Python, paginate results, and avoid rate-limit blocks. Read article
-
Build a Portfolio Rebalancing Bot with Python and Alpaca API
Build an automated portfolio rebalancing bot with Python and Alpaca API. Full code, backtesting results, and tax-loss harvesting add-on. Read article
-

Decoding ‘house-stock-watcher-data’ on GitHub
TL;DR: The ‘house-stock-watcher-data’ GitHub repository provides a rich dataset of congressional stock trades, offering a unique opportunity for quantitative analysis. This article walks through setting up a data pipeline, applying statistical methods,… Read article
-

Python Libraries for Stock Technical Analysis
TL;DR: Python offers powerful libraries like TA-Lib, pandas_ta, and pyti for implementing stock technical analysis. These tools enable engineers to calculate indicators like RSI, MACD, and Bollinger Bands programmatically. This article dives… Read article