Portfolio Analysis in SQL: Weights to Drawdown
Portfolio analysis with free SQL: five short queries for position weights, concentration, correlation, dividend income, and the worst drawdown of the blend.
Filtering by topic #sql · clear
Portfolio analysis with free SQL: five short queries for position weights, concentration, correlation, dividend income, and the worst drawdown of the blend.
A stock correlation matrix in one SQL query over daily returns, plus the curl and jq version and the measurement mistakes that quietly inflate the numbers.
Build a stock split calendar with one curl call and one SQL query: upcoming forward and reverse splits, ratios, effective dates, and splits per month.
Build a forward ex-dividend calendar with one curl call to a free SQL API, plus the jq one liner that shapes the next 14 days into a readable table.
A free SQL API for stock market data: write real SQL against 22 years of US equities, dividends, and fundamentals. 100 queries a day, no credit card.