# Aligrithm > An independent research publication on market structure, dynamics, quantitative and systematic trading | By Ali H. Askar Public Ghost content for AI and LLM tooling. Use `/llms-full.txt` for consolidated page and post context. Append `.md` to any post or page URL to get the content in Markdown (for example, `/example-post.md`). ## Pages - [About aligrithm](https://aligrithm.com/about.md) - Aligrithm is an independent research publication on systematic trading, quantitative research, market microstructure, and adaptive systems. Long-form essays, code notebooks, and architecture breakdowns across eight pillars, built for traders who care more about how markets behave than about hype. - [Contact Us](https://aligrithm.com/contact.md) - Whatever that you have in your mind, please feel free to reach out: Linkedin - [My Portfolio](https://aligrithm.com/my-portfolio.md) - Portfolio of quantitative trading systems and market infrastructure: graph-based alpha research, event-driven backtesting, low-latency FX arbitrage, financial visualization, trade geometry analytics, and multi-account trade replication. Built for signals that survive real markets. ## Posts - [6.54 Volatility Clustering in Bitcoin: Regime Persistence as a Forecast](https://aligrithm.com/volatility-clustering-in-bitcoin-regime-persistence-as-a-forecast.md) - Bitcoin vol clustering: a 3-state Markov chain shows persistence above 0.9 -- High state delivers ~9% moves in 48h, but thresholds are look-ahead by construction. - [4.75 Stock-Bond Correlation: The Sign Flips and So Do Its Drivers](https://aligrithm.com/stock-bond-correlation-the-sign-flips-and-so-do-its-drivers.md) - Stock-bond correlation flipped from +0.22 to -0.24 around 2000 across G7 markets. Real rates most stable driver. US portfolios need 80% stocks post-2000 to match 50/50 pre-2000 performance. - [5.50 Market Making With Competitors You Can't See](https://aligrithm.com/market-making-with-competitors-you-cant-see.md) - Add a competitor's inventory as a second state variable in Avellaneda-Stoikov: a matrix ODE closed form beats PPO (500M epochs, 99% paired-t). The fill you miss shifts their next quote and degrades yours. - [5.49 The Worst-Kept Secret: Imbalance Is the MM's Optimal Response, Not Alpha](https://aligrithm.com/the-worst-kept-secret-imbalance-is-the-mms-optimal-response-not-alpha.md) - Order book imbalance predicts price moves because a market maker who knows the true price posts it that way to manage her own inventory risk, not because it leaks information. - [5.51 Crypto Isn't Structurally Alien: Roll/VPIN/Amihud Predict Distribution Shifts](https://aligrithm.com/crypto-isnt-structurally-alien-roll-vpin-amihud-predict-distribution-shifts.md) - Crypto VPIN of 0.47 sounds toxic until you derive the estimator's null value: 0.500. And the Roll measure that drives every prediction is mostly a volatility proxy. One label of five survives. - [4.74 FX Edge Lives in Other Markets (cross-asset series)](https://aligrithm.com/fx-edge-lives-in-other-markets-cross-asset-series.md) - FX edge sits in the graph: EM stocks lead by a month, G10 loops pay daily, and FX futures Sharpe jumps from 0.16 to 0.66 once other asset classes are wired in. - [9.43 There Is No Black-Scholes for Prediction Markets (Yet)](https://aligrithm.com/there-is-no-black-scholes-for-prediction-markets-yet.md) - A belief-vol kernel needs prices that sum to $1 and carry no predictable drift. Polymarket prices sum to $0.60, $39.6M walked out, and a $2 shove still moves a market 60 days later. - [3.39 Does Complexity Actually Help? The Virtue-of-Complexity Autopsy](https://aligrithm.com/does-complexity-actually-help-the-virtue-of-complexity-autopsy.md) - KMZ's virtue of complexity survives only under a zero-intercept restriction and a per-draw scoring rule. Fix either and it reverses: 15 predictors beat 12,000, and buy-and-hold beats both. - [3.41 Metaheuristics for Rule Optimization — With Diversity as the Guardrail](https://aligrithm.com/metaheuristics-for-rule-optimization-with-diversity-as-the-guardrail.md) - Four optimizers, 31 seeds, one BTC rule set. The useful output is not which one won, it is that Differential Evolution's population stayed 82% scattered after 1000 generations. - [1.28 Model-Based or Data-Mined: Lotter's Framing of the Whole Problem](https://aligrithm.com/model-based-or-data-mined-lotters-framing-of-the-whole-problem.md) - Lotter splits strategy building into model-based and data-mined, then shows a random walk you cannot tell from EUR/USD. His own reality-check slide has a p-value near 0.085. - [10.14 Price-Path Convexity: A New Cross-Sectional Anomaly (−45bp per σ)](https://aligrithm.com/price-path-convexity-a-new-cross-sectional-anomaly-45bp-per-s-2.md) - Two stocks end the month flat, one by recovering, one by fading. The shape between the endpoints predicts next month: low-convexity stocks beat high-convexity by 0.84%/mo, and no factor explains it. - [10.12 Factor Timing Mostly Fails — the Honest Version](https://aligrithm.com/factor-timing-mostly-fails-the-honest-version-2.md) - Value, momentum, volatility, and sentiment timing all lost to a plain equal-weight factor basket in China. Theory says timing is huge; estimation error eats it. Trust the plateau, not the peak. - [6.56 Dual Momentum Between Gold and Bitcoin (Two Stores of Value)](https://aligrithm.com/dual-momentum-between-gold-and-bitcoin-two-stores-of-value.md) - Dual momentum on GLD vs IBIT posts 79.91%/yr at 8 weeks, Sharpe 1.64, DD still -44%. That lookback won a 10-spec in-sample grid. A 20% vol cap leaves 12% at Sharpe 1.37. - [3.40 Stat-Arb Without Cointegration: Moving-Band Portfolios via Convex-Concave Optimization](https://aligrithm.com/stat-arb-without-cointegration-moving-band-portfolios-via-convex-concave-optimization.md) - Cointegration tests stationarity, not profit. This method optimizes a basket's price swing inside a band directly, finds ten-asset stat-arbs, and a moving band keeps them alive longer out of sample. - [1.27 How to Spot a Fake ML Trading Paper](https://aligrithm.com/how-to-spot-a-fake-ml-trading-paper.md) - Three ML trading papers report 92% and 98.7%. All three fail on their own printed numbers. Six forensic tests, one honest counter-example, and why a do-nothing model beats the headline. - [8.10 Stop Using Pairwise Granger: PCMCI for Financial Causality](https://aligrithm.com/stop-using-pairwise-granger-pcmci-for-financial-causality.md) - Pairwise Granger reports fake links; full-conditioning Granger goes blind. PCMCI's parent selection plus a double-conditioned test keeps power high and false positives controlled across many series. - [4.72 Graph Learning for FX: Interest-Rate-Parity Statarb Done Right](https://aligrithm.com/graph-learning-for-fx-interest-rate-parity-statarb-done-right.md) - A dollar looped through euros and yen should come back a dollar. Sometimes it comes back bigger. A graph neural net hunts that sliver across ten currencies, winning on risk, not return. - [4.73 HFT Supplies Liquidity Until It Doesn't: FX Flash-Crash Cascades](https://aligrithm.com/hft-supplies-liquidity-until-it-doesnt-fx-flash-crash-cascades.md) - FX liquidity is mostly cancellable: Ultra-HFT posts 61.6% of orders, fills 6.8%. It supplies depth until a cascade hits, then vanishes. The March 2011 yen crash, and a queue fix that might help. - [5.46 Bid-Ask Spread From OHLC: The GMM Estimator That Beats Roll/CS](https://aligrithm.com/bid-ask-spread-from-ohlc-the-gmm-estimator-that-beats-roll-cs.md) - Your backtest's "spread" is probably a continuous-time estimate that reads 0.04% on a real 1.00% cost when trading is thin. EDGE fixes the discreteness bias from OHLC alone and beats Roll and CS. - [7.5 The Mathematics of Machine Learning, for Traders](https://aligrithm.com/the-mathematics-of-machine-learning-for-traders.md) - The theory under the ML arc: why fitting the past predicts the future, what each parameter costs in variance, and why complexity's tax shrinks only as one over the square root of your sample. - [5.47 DRL Market Making With a Periodic Signal and Real Latency](https://aligrithm.com/drl-market-making-with-a-periodic-signal-and-real-latency.md) - A tick-level DRL market maker with real submit and cancel latency: PPO beats DQN and Avellaneda-Stoikov, an alpha signal nearly doubles it, and slower cancels raising profit is a risk trap. - [3.38 The Signal Ceiling: Why No Single-Bar OHLCV Edge Beats Costs in MNQ](https://aligrithm.com/the-signal-ceiling-why-no-single-bar-ohlcv-edge-beats-costs-in-mnq.md) - Fourteen popular intraday MNQ setups, 947 days, one honest test. Zero cleared costs. The gross edge tops out near 1.5 points and two points of friction eats it. The signal ceiling is real. - [6.55 Fair Value as an Adaptive Low-Pass Filter: LAFO for Mean Reversion](https://aligrithm.com/fair-value-as-an-adaptive-low-pass-filter-lafo-for-mean-reversion.md) - Fair value is a low-pass filter with a dial, not a moving average. LAFO makes the cutoff explicit and neural filters turn corners faster than an EMA, but the headline Sharpe of 11 is pure in-sample. - [6.53 Bitcoin's Overnight Returns Forecast the VIX](https://aligrithm.com/bitcoins-overnight-returns-forecast-the-vix.md) - Cut Bitcoin's day at US market hours and only the overnight leg predicts anything. It forecasts the next VIX move (beta minus 0.262) while trading-hour Bitcoin is noise. - [6.52 Chicken and Egg: Use the SPX to Time the VIX, Not Vice Versa](https://aligrithm.com/chicken-and-egg-use-the-spx-to-time-the-vix-not-vice-versa.md) - Everyone reads the VIX to time the S&P. Rob Hanna ran it both ways: SPX oversold readings predict VIX futures far better than the reverse, and the real trade is a filtered short-VX book. - [4.77 Cross-Venue Arb: Deribit Inverse Options × Polymarket Binaries](https://aligrithm.com/cross-venue-arb-deribit-inverse-options-x-polymarket-binaries.md) - Pair a Deribit inverse call with Polymarket binaries and you build a payoff that never loses: 24 trades, zero losses, 20.7% each. The catch: it is a directional bet with a floor, and it barely ever fires. - [11.5 Prop Firm Math: Edge, Barriers, and Cash After the Fee](https://aligrithm.com/prop-firm-math-edge-barriers-and-cash-after-the-fee.md) - A prop account is a discretionary payout contract on a simulated book, not capital. Read the framing here; download the full book as PDF. - [6.51 Momentum Is a Ranking Problem: Learning-to-Rank vs Regress-then-Rank](https://aligrithm.com/momentum-is-a-ranking-problem-learning-to-rank-vs-regress-then-rank.md) - Cross-sectional momentum only uses the order, so train on the order: learn-to-rank beats regress-then-rank in equities. But the 3.40 Sharpe is frictionless daily demo; weekly it is 0.54. - [6.50 Crypto TSMOM Lives in Volume-Weighted Returns](https://aligrithm.com/crypto-tsmom-lives-in-volume-weighted-returns.md) - Crypto time series momentum only pays when the market return is weighted by trading volume, not manipulable market cap: 0.94%/day, Sharpe 2.17. Equal-weight the same signal and it loses 1.19%/day. - [10.17 Can Machines Learn Weak Signals? Ridge > Zero > Lasso](https://aligrithm.com/can-machines-learn-weak-signals-ridge-zero-lasso.md) - In low-signal economics and finance, the do-nothing zero forecast is Bayes-optimal. Ridge can beat it, Lasso cannot for any penalty, and signal weakness, not sparsity, is why. - [10.16 Getting the Target Right: The Transform That Beats 147 Features](https://aligrithm.com/getting-the-target-right-the-transform-that-beats-147-features.md) - The return you predict matters more than the 147 features you feed the model. Demeaning, standardizing, or ranking the target moves monthly alpha ~0.9pp; feature transforms move it ~0.4pp. - [6.49 Percentile-Rank Momentum With Hysteresis: Low-Churn Signals](https://aligrithm.com/percentile-rank-momentum-with-hysteresis-low-churn-signals.md) - Landolfi's percentile-rank momentum: rank moves against their own sign-consistent past, gate them with a hysteresis band to kill churn, validate with a walk-forward bundle. Steal the plumbing, doubt the crypto curve. - [9.40 Do Polymarket Prices Converge? Bias and Volatility Evidence](https://aligrithm.com/do-polymarket-prices-converge-bias-and-volatility-evidence.md) - Polymarket prices do converge to the truth over 90 days. But they are far more volatile than stocks or crypto, overprice longshots (slope 1.13 > 1), and lean "yes." The edge: bet favorites, early. - [9.39 The DePM Design Space: An 8-Stage Microstructure Map](https://aligrithm.com/the-depm-design-space-an-8-stage-microstructure-map.md) - Decentralized prediction markets, cut into eight swappable stages. Seven are engineering trade-offs. The eighth, resolution, is where a handful of token wallets can settle a market against the truth. - [7.4 State-Space Models for Price: CryptoMamba vs Transformers (Skeptical)](https://aligrithm.com/state-space-models-for-price-cryptomamba-vs-transformers-skeptical.md) - CryptoMamba, a compact Mamba SSM, forecasts Bitcoin's next close and trades $100 into $262. But it never runs the naive or buy-and-hold baselines, on one bull year of daily bars. - [9.38 Training an LLM to Forecast: Outcome-Based RL and the Calibration Win](https://aligrithm.com/training-an-llm-to-forecast-outcome-based-rl-and-the-calibration-win.md) - A 14B model trained with outcome-only RL matched o1 and beat it on calibration. The lesson: drop GRPO's variance scaling, block leakage, and the win is honest probabilities, not beating the market. - [9.37 Bold vs Timid: The Math of Betting When You Must](https://aligrithm.com/bold-vs-timid-the-math-of-betting-when-you-must.md) - When the game is against you, betting small is slow suicide. Bold play, swinging your whole stack at the target, maximizes your chance of hitting it. Optimal bet size flips with the sign of your edge. - [5.48 An Open L4 Order Book: What Hyperliquid Data Unlocks](https://aligrithm.com/an-open-l4-order-book-what-hyperliquid-data-unlocks.md) - Hyperliquid runs fully on-chain, so a node captures every order event: wallet IDs, counterparty inventory, and the ~89% of orders that are rejected and invisible in LOBSTER-style data. - [9.36 How Manipulatable Are Prediction Markets? The Field Experiment](https://aligrithm.com/how-manipulatable-are-prediction-markets-the-field-experiment.md) - Two economists shocked 817 prediction markets by 5 points each. Sixty days later the shove was still there. Prices revert, but slowly, partly, and cheaply beaten in thin markets. - [9.35 Kelly When Price ≠ Probability: Why the Gap Persists](https://aligrithm.com/kelly-when-price-probability-why-the-gap-persists.md) - A prediction-market price is not a probability. It is where capital-weighted Kelly bets cancel. You bet the gap, not the belief, and getting the probability wrong costs more than mis-sizing. - [9.34 A Black-Scholes for Beliefs: Logit Jump-Diffusion and Tradable Belief-Vol](https://aligrithm.com/a-black-scholes-for-beliefs-logit-jump-diffusion-and-tradable-belief-vol.md) - Prediction markets have no Black-Scholes. A recent paper builds one: model log-odds as a jump-diffusion, force the price to be a martingale, trade what's left. Clean theory, thin evidence. - [8.9 Regime-Switching That Works, Factors That Don't (MS-GARCH)](https://aligrithm.com/regime-switching-that-works-factors-that-dont-ms-garch.md) - A two-regime MS-GARCH turned 7% buy-and-hold lumber into 158%. The edge was all in the asymmetric variance model. Adding market and behavioral factors made the good versions worse. - [4.71 Stocks and Bonds Predict FX — But Only in Emerging Markets](https://aligrithm.com/stocks-and-bonds-predict-fx-but-only-in-emerging-markets.md) - The random walk still wins for developed FX. But a stock-return signal beats it for emerging currencies, netting about 7% a year, when it works. The edge is real, and it comes and goes. - [6.48 Trend-Following P&L Is a Function of Autocorrelation (Closed Form)](https://aligrithm.com/trend-following-p-l-is-a-function-of-autocorrelation-closed-form.md) - The exact P&L of a European trend-follower is a weighted sum of return autocorrelations plus drift squared. Positive long-horizon autocorrelation pays; the story is optional, the sign is not. - [9.33 The $40M, Verified: Reading the Probabilistic-Forest Arbitrage Paper](https://aligrithm.com/the-40m-verified-reading-the-probabilistic-forest-arbitrage-paper.md) - A year of Polymarket data, $40M in arbitrage. But almost all of it is plain single-market rebalancing harvested by a few bots during volatility, not the exotic cross-market kind. - [10.15 Network Momentum as a Cross-Asset Factor](https://aligrithm.com/network-momentum-as-a-cross-asset-factor.md) - Trade an asset off the momentum of everything it's linked to, not its own. A learned cross-asset graph delivers a 1.51 Sharpe, and the alpha lives in the links between asset classes. - [10.14 Price-Path Convexity: A New Cross-Sectional Anomaly](https://aligrithm.com/price-path-convexity-a-new-cross-sectional-anomaly-45bp-per-s.md) - Two stocks end the month flat, one by recovering, one by fading. The shape between the endpoints predicts next month: low-convexity stocks beat high-convexity by 0.84%/mo, and no factor explains it. - [10.10 Behavioral Factors: Prospect-Theory Value and Capital-Gains Overhang](https://aligrithm.com/behavioral-factors-prospect-theory-value-and-capital-gains-overhang.md) - Prospect theory turns broken psychology into two factors: a TK score of how attractive a stock looks and capital-gains overhang. The prettiest stocks pay least, and the spread runs 1.24% a month. - [10.13 Alternative Data and the Short-Horizon Decay Tax](https://aligrithm.com/alternative-data-and-the-short-horizon-decay-tax.md) - Alternative data buys a short-dated edge, and Dessaint shows the tax: short-horizon accuracy rises while long-horizon accuracy falls. It is a lease, not a purchase, and the crowd rents it too. - [10.12 Factor Timing Mostly Fails](https://aligrithm.com/factor-timing-mostly-fails-the-honest-version.md) - Value, momentum, volatility, and sentiment timing all lost to a plain equal-weight factor basket in China. Theory says timing is huge; estimation error eats it. Trust the plateau, not the peak. - [10.11 Is Value Dead? The Revaluation Decomposition](https://aligrithm.com/is-value-dead-the-revaluation-decomposition.md) - Value's 55% drawdown looked like death. But the structural premium stayed positive; the loss was the value-growth spread hitting the 100th percentile. That is a repricing, and repricings revert. - [10.9 The SDF View: One Equation Behind Every Factor Model](https://aligrithm.com/the-sdf-view-one-equation-behind-every-factor-model.md) - Every factor model, from Fama-French to a neural net, is one equation: the SDF. Same skeleton, but the choice of characteristics and weighting function swings out-of-sample Sharpe from 0.45 to 3.4. - [10.8 Selection vs Diversification: Why |t|>3 Throws Away Alpha](https://aligrithm.com/selection-vs-diversification-why-t-3-throws-away-alpha.md) - The |t|>3 rule is right for testing one factor, wrong for building a portfolio. A book of 18,000 signals, 80% noise, beats the strict filter because diversification pays where selection does not. - [10.7 Global vs Regional: When Complexity Wants More Data](https://aligrithm.com/global-vs-regional-when-complexity-wants-more-data.md) - Regional models beat global, said 20 years of linear studies. Redone with neural nets across 24 markets, it flips: complex models want global data. The global NN hits 0.74%/mo, t=5.73. - [10.5 The Factor Zoo and the Multiple-Testing Reckoning](https://aligrithm.com/the-factor-zoo-and-the-multiple-testing-reckoning.md) - Test 316 factors at a t of 2 and about 16 are pure luck. The factor zoo is a multiple-testing failure: raise the bar to t above 3, expect a 36% out-of-sample haircut, but don't prune to five. - [10.6 Does ML Actually Help Asset Pricing? Kelly's 20%, Not 2–3×](https://aligrithm.com/does-ml-actually-help-asset-pricing-kellys-20-not-2-3x.md) - ML promises to triple your Sharpe. Bryan Kelly, who builds the models, says expect 20%. Headline numbers die under fair tests, 166% turnover, and alpha trapped in tiny illiquid stocks. - [10.3 The GRS Test: Your Alpha Is Probably a Missing Factor](https://aligrithm.com/the-grs-test-your-alpha-is-probably-a-missing-factor.md) - Alpha is the gap between what a portfolio earned and what your model predicts. The GRS test grades all those gaps at once, and the usual verdict is blunt: you are missing a factor. - [10.4 Fama-MacBeth Two-Pass and the Shanken Correction Nobody Applies](https://aligrithm.com/fama-macbeth-two-pass-and-the-shanken-correction-nobody-applies.md) - Fama-MacBeth gets you the factor premium in two passes, even for untradable factors. But the second pass uses estimated betas, so skipping the Shanken correction inflates every t-stat. - [10.2 Portfolio Sorts From Scratch: Deciles, Monotonicity, and the Long-Short Spread](https://aligrithm.com/portfolio-sorts-from-scratch-deciles-monotonicity-and-the-long-short-spread.md) - You never see factor exposure. So you rank stocks on a proxy, go long the top decile and short the bottom, and test the spread. Deciles, a t-stat, and a monotonicity check, from scratch. - [10.1 What a Factor Actually Is: α + βλ, and Why the Market Is Factor #1](https://aligrithm.com/what-a-factor-actually-is-a-bl-and-why-the-market-is-factor-1.md) - Factor investing runs on one equation: expected return equals alpha plus beta times lambda. Beta is exposure, lambda is the premium, alpha is the leftover. The market is factor #1, and CAPM fails on its own. - [3.37 Collinearity in Parameter Sweeps: Plateaus, Not Peaks](https://aligrithm.com/collinearity-in-parameter-sweeps-plateaus-not-peaks.md) - Sweeping 50/200, 60/210, 70/220 holds the ratio fixed: you test one concept along a line, not the space. That flat sweep is a thin ridge, not a plateau. Fix one parameter, vary the other, then reverse. - [9.32 25:1: How Five "Diversified" Election Bets Blow Up on One Shock](https://aligrithm.com/25-1-how-five-diversified-election-bets-blow-up-on-one-shock.md) - Five "diversified" state-election arb positions share one national driver. Correlation 0.75 hides tail dependence 0.90, so a single shock turns a ±$0.10 book into a -$2.50 loss: a 25:1 ratio, not 5:1. - [9.31 Prediction Markets Live on Boundaries](https://aligrithm.com/prediction-markets-live-on-boundaries.md) - Prediction-market prices cluster near 0 and 1, and that is exactly where the log-scoring arbitrage math breaks. Worse, it can fail silently: no crash, just a wrong trade with a confident profit number. - [9.30 The Term Structure of Strategy: Momentum Far Out, Reversion Near Resolution](https://aligrithm.com/the-term-structure-of-strategy-momentum-far-out-reversion-near-resolution.md) - A prediction market resolves to 0 or 1 on a fixed date, and that wall flips the strategy. More than 30 days out prices trend, so momentum pays. Inside 7 days prices overreact to noise, so reversion pays. - [9.29 Fast Fills Are Bad Fills: The Numbers](https://aligrithm.com/fast-fills-are-bad-fills-the-numbers.md) - Fill quality is the midpoint minus your execution price over the spread, measured after the fill. Market orders average -0.72, fast limits -0.31, slow limits +0.43. Speed and fill quality move opposite. - [9.28 Adverse Selection Is Adverse Selection: Porting Fast-Fills-Are-Bad-Fills to FX and Futures](https://aligrithm.com/adverse-selection-is-adverse-selection-porting-fast-fills-are-bad-fills-to-fx-and-futures.md) - Fill quality, the maker's profit equation, and the markout test move from a Polymarket CLOB to an FX or futures book unchanged. The payoff structure differs; adverse selection is adverse selection. - [9.27 CVaR Sizing: One Tool, Two Markets](https://aligrithm.com/cvar-sizing-one-tool-two-markets.md) - The CVaR-constrained portfolio QP that sizes Polymarket election arbs is the same machine that sizes a futures book. Different loss shapes, one tail metric, one fix for the correlation that spikes in a crisis. - [9.26 Kelly in Prediction Markets vs a Prop Challenge: Same Formula, Opposite Geometry](https://aligrithm.com/kelly-in-prediction-markets-vs-a-prop-challenge-same-formula-opposite-geometry.md) - Kelly's formula is identical in a prediction market and a prop challenge, but one optimizes long-run growth and the other a first-passage race to a target before an absorbing trapdoor. Opposite geometry, opposite sizes. - [9.25 The Market Maker's Impossibility: Speed Versus Accuracy, and Why Arbitrage Is Tolerated](https://aligrithm.com/the-market-makers-impossibility-speed-versus-accuracy-and-why-arbitrage-is-tolerated.md) - Polymarket could kill structural arbitrage but won't: coherent pricing means an NP-hard solve per trade. It chose speed, pays arbitrageurs roughly 20 percent of fees, and the edge regenerates on every trade forever. - [9.24 If You've Used a Softmax Layer, You Already Know the Price Formula](https://aligrithm.com/if-youve-used-a-softmax-layer-you-already-know-the-price-formula.md) - Softmax is the Polymarket price formula. Work one trade to the cent, see why the maker's loss is capped, why the liquidity parameter b sets price impact, and why arbitrage distance is measured in KL, not Euclidean. - [9.23 Was It Skill, Structure, or Luck? Execution Efficiency and Regret in Four Buckets](https://aligrithm.com/was-it-skill-structure-or-luck-execution-efficiency-and-regret-in-four-buckets.md) - A single P&L number hides four systems and a lot of luck. Grade execution with eta, attribute profit by edge source, split regret into detection, computation, execution, and sizing, and you finally know whether it was skill, structure, or luck. - [9.22 The Central Allocator and Non-Negotiable Risk Governors: Proposals, Not Orders](https://aligrithm.com/the-central-allocator-and-non-negotiable-risk-governors-proposals-not-orders.md) - Let five agents touch the wallet and they overspend, stack correlated risk, and breach the tail budget. A single allocator funds proposals by one optimization, and hard risk governors override it to keep you solvent. - [9.21 Separate Detection from Execution: A Three-Layer, Typed-Agent Architecture](https://aligrithm.com/separate-detection-from-execution-a-three-layer-typed-agent-architecture.md) - Wire your solver to your order router and one crash takes down both. Separate detection from execution behind a trade-proposal interface, stack three layers on three clocks, and let a fast scanner trigger the slow solver only where it pays. - [9.20 Correlation Lies, Tail Dependence Tells the Truth: Student-t Copulas for Election Portfolios](https://aligrithm.com/correlation-lies-tail-dependence-tells-the-truth-student-t-copulas-for-election-portfolios.md) - Five state-election arbs feel diversified until a national shock sinks all five at once. Linear correlation hides that; tail dependence exposes it. Use a Student-t copula and size for the 25-to-1 day. - [9.19 The Term Structure of Prediction-Market Strategy and Crowding: Why the Fastest Three Bots Take 80 Percent](https://aligrithm.com/the-term-structure-of-prediction-market-strategy-and-crowding-why-the-fastest-three-bots-take-80-percent.md) - A structural arb that printed in October can be worthless by February with no change to the math. Regimes, the term structure of strategy, and crowding decide who actually gets paid, and usually it is not you. - [5.39 Big Moves in Lead-Lag: Liquidations, Impact, and News](https://aligrithm.com/big-moves-in-lead-lag-liquidations-impact-and-news.md) - Lead-lag edge lives in the big moves, so quantile-regress on the tail, not the mean. Then label the cause from trade size and the liquidation feed: impact follows clean, liquidations snap back, and scheduled news is a cue to widen quotes, not to trade. - [5.38 Lead-Lag Done Right: Predict and Manage, Don't Naively Wait](https://aligrithm.com/lead-lag-done-right-predict-and-manage-dont-naively-wait.md) - The naive lead-lag trade enters B after A moves and exits on a timer. That wastes the edge. Use the slope as a forecast of B's move, exit the instant B hits it, and hold to the horizon only as a backstop. - [5.36 Reconstructing the Order Book from Incremental Deltas](https://aligrithm.com/reconstructing-the-order-book-from-incremental-deltas.md) - The exchange never hands you the order book, just a snapshot plus a firehose of deltas. Fold them in order using a hashmap for O(1) edits and a sorted tree for best bid/ask. Miss one sequence number and every feature silently lies. - [5.35 Market Impact and the Square-Root Law: Walking the Book to Price Your Slippage](https://aligrithm.com/market-impact-and-the-square-root-law-walking-the-book-to-price-your-slippage.md) - Market impact is the cost you simulate, not look up: walk the book level by level, slippage = (avg - mid)/mid x 1e4, then fit a·x^b. The exponent near 0.5 is the square-root law, and it lets you price sizes past the visible book. - [5.33 Positional Market Making and the Thousands-of-Alphas Ensemble](https://aligrithm.com/positional-market-making-and-the-thousands-of-alphas-ensemble.md) - A big maker's PnL isn't the spread, it's positional: skewing thousands of weak alphas into passive quotes. Zero cost makes half-bp signals tradeable, and ensembling them cancels noise into the bulk of the profit. - [5.32 Volatility-Regime Quoting: Discrete Steps vs Continuous Widths](https://aligrithm.com/volatility-regime-quoting-discrete-steps-vs-continuous-widths.md) - Your spread must track volatility, but how? Bucket volatility into three quantile regimes with fixed widths, or interpolate between them (linear, spline, sigmoid) so the spread glides instead of jumping at the boundary. - [5.31 Limit Order Book Behavior: Negative Spreads, Wipeouts, and Why Size Tightens the Market](https://aligrithm.com/limit-order-book-behavior-negative-spreads-wipeouts-and-why-size-tightens-the-market.md) - Crypto books break the textbook: negative spreads are data artifacts, blowouts are wipeouts from large orders clearing levels, and more resting size means a tighter spread because deep books are competitive books. - [5.30 Order-Flow Autocorrelation: Why Buys Follow Buys](https://aligrithm.com/order-flow-autocorrelation-why-buys-follow-buys.md) - Market orders are autocorrelated, roughly AR(1): buys follow buys in clustered spikes. Don't post offers into a buy run. And beware, OLS underestimates phi, so your model clears you to requote half a run too early. - [5.29 Microstructural Volatility: Three Ways to Measure It](https://aligrithm.com/microstructural-volatility-three-ways-to-measure-it.md) - A maker repricing every few hundred milliseconds needs tick-scale volatility, not one-minute bars. Measure it three ways: std of traded prices, the book's churn rate, or the volatility of your own fair price. - [5.28 The Market-Maker Feature Catalog: Arrival, Cancellation, and Update Rates](https://aligrithm.com/the-market-maker-feature-catalog-arrival-cancellation-and-update-rates.md) - Imbalance tells you how much size rests in the book. Arrival, cancellation, and update rates tell you how fast it churns, and the cancellation rate, measured right with the trade feed, is your spoofing alarm. - [5.27 NYSE-Open Volume Momentum](https://aligrithm.com/nyse-open-volume-momentum.md) - When New York opens, a volume surge hits crypto. From 13:30 to 15:00 UTC, if volume keeps rising, ride the sign of the first half hour to the close of the window. Track the real open, not a frozen timestamp. - [5.26 The Dance of Volume and Price](https://aligrithm.com/the-dance-of-volume-and-price.md) - Volume does not tell you direction, it tells you whether the move sticks. High volume means continuation, low volume means reversion. Use it as the regime switch on a directional signal, not as the signal. - [5.25 The 24-Hour Rolling-Return Artifact](https://aligrithm.com/the-24-hour-rolling-return-artifact.md) - The exchange 24h change rolls, so the headline jumps when an old crash drops out of the window, not when price moves. Uninformed traders chase the mirage; front-run them by reading the hour about to exit. - [5.24 Harvesting the Volatility Risk Premium by Hour](https://aligrithm.com/harvesting-the-volatility-risk-premium-by-hour.md) - Slice average return and risk by UTC hour and a time-of-day premium appears: long BTC at midnight, short into the early hours. Then four fills of fees eat the 14 bps gross, which is why you treat it as a tilt, not a strategy. - [5.23 SAR: Seasonal Autoregressive Volatility Forecasting](https://aligrithm.com/sar-seasonal-autoregressive-volatility-forecasting.md) - SAR fixes vol seasonality by adding lags at 24 and 168 hours to an AR model, fit by OLS. The daily lag injects the midnight and 14:00 bumps a plain AR(1) misses, so you stop quoting tight into them. - [5.22 Crypto Volatility Seasonality](https://aligrithm.com/crypto-volatility-seasonality.md) - Crypto vol runs on a 24-hour clock, spiking at 14:00 and 00:00 UTC from session opens and midnight rebalancing. GARCH and HAR have no clock term, so they quote too tight into the predictable bursts. - [1.24 Alpha Decay Is Just Competition (and Papers Lie)](https://aligrithm.com/alpha-decay-is-just-competition-and-papers-lie.md) - Alpha decay isn't physics, it's a crowd. There are more funds than strategies, your edge gets divided until it dies, and published papers are crowded corpses. Verify everything yourself. - [1.23 The Theory of Edge: Why the Market Pays You](https://aligrithm.com/the-theory-of-edge-why-the-market-pays-you.md) - Edge is not knowing what others don't, it's doing what others won't. You get paid for constraints: operational pain, capacity-vs-skill, risk premia, thin margins. Name your check or assume you have none. - [6.47 Building a Trend Follower, Component by Component](https://aligrithm.com/building-a-trend-follower-component-by-component.md) - A trend follower is 0.2 Sharpe on one market; the build is the strategy. Walk all seven stages: universe breadth, vol-normalized crossover, capped sizing, sector balance, inverse-vol risk, and buffered execution. - [9.9 Arbitrage Is Just Projection: One Calculation Gives Trade, Profit, and Target Prices](https://aligrithm.com/arbitrage-is-just-projection-one-calculation-gives-trade-profit-and-target-prices.md) - The best arbitrage trade is the closest fair price to the unfair one. One projection returns the trade, the profit, and the target prices at once, measured with KL divergence, not a straight ruler. - [9.8 The Marginal Polytope: One Shape That Contains Every Fair Price](https://aligrithm.com/the-marginal-polytope-one-shape-that-contains-every-fair-price.md) - Every arbitrage question reduces to one: is the price inside the marginal polytope or outside it. Inside means no trade; outside, the wall separating you from the shape is your portfolio. - [9.7 The Dutch Book Theorem, Plainly, and Why Polymarket Will Always Have Arbitrage](https://aligrithm.com/the-dutch-book-theorem-plainly-and-why-polymarket-will-always-have-arbitrage.md) - Prices that don't sum to a dollar are a guaranteed trade, not a rounding error. De Finetti proved it in 1937, and Polymarket's speed-first design guarantees the mispricings keep coming. - [9.6 Outcome Geometry: Why Two Fair Markets Can Be Jointly Unfair](https://aligrithm.com/outcome-geometry-why-two-fair-markets-can-be-jointly-unfair.md) - Two prediction markets can each sum to a fair dollar and still be jointly riggable. The reason is geometry: logic deletes impossible outcomes, and the prices can land outside what's left. - [9.5 Match Your Edge to Your Resources](https://aligrithm.com/match-your-edge-to-your-resources.md) - The cleanest edge is not always yours. Match the source to your resources: small accounts trade informational and regime, large accounts with infrastructure run structural and execution, and specialists play to their skill. - [9.4 The Nine Sources of Edge, Ranked Cleanest to Dirtiest](https://aligrithm.com/the-nine-sources-of-edge-ranked-cleanest-to-dirtiest.md) - Nine sources of edge in prediction markets, ranked cleanest to dirtiest: structural, execution, microstructure, temporal, informational, regime, portfolio, adversarial, operational. Forecasting is fifth and the most dangerous to size. - [9.3 The Six Ways to Lose Money on Polymarket](https://aligrithm.com/the-six-ways-to-lose-money-on-polymarket.md) - Prediction-market losses cluster into six anti-patterns: belief without calibration, arbitrage without execution, Kelly without error bounds, correlation blindness, backtest-equals-live, and no named edge. Each is a skipped step you can catch before you lose. - [9.2 A Good Trade Is Not a Correct Prediction — The Five Invariants](https://aligrithm.com/a-good-trade-is-not-a-correct-prediction-the-five-invariants-2.md) - Winning a prediction-market bet does not make it a good trade. Grade the decision before resolution against five invariants: named edge, bounded downside, real-liquidity execution, error-aware sizing, and robustness to competition. - [9.18 Fast Fills Are Bad Fills: Make vs Take, Adverse Selection, and Why the Spread Is Posterior Variance](https://aligrithm.com/fast-fills-are-bad-fills-make-vs-take-adverse-selection-and-why-the-spread-is-posterior-variance.md) - A limit order that fills in seconds is bad news: fast fills are adversely selected. Take liquidity only for arbs and large edges, provide it for small ones, and set your spread equal to your uncertainty about the true probability. - [9.17 Execution Is Part of Expected Value: VWAP Slippage, the Five-Cent Threshold, and Why Copytrading an Arb Loses](https://aligrithm.com/execution-is-part-of-expected-value-vwap-slippage-the-five-cent-threshold-and-why-copytrading-an-arb-loses.md) - A guaranteed arbitrage is fiction until both legs fill. Sequential fills move the book against you, you pay the VWAP not the quote, and below five cents slippage and gas eat the edge. Copying an arb just makes you exit liquidity. - [9.16 Kelly Isn't Enough: Drawdown- and CVaR-Constrained Sizing and the Portfolio QP](https://aligrithm.com/kelly-isnt-enough-drawdown-and-cvar-constrained-sizing-and-the-portfolio-qp.md) - Kelly grows your account; it doesn't keep you alive. Add a simulated drawdown budget, a CVaR tail cap that VaR hides, and a portfolio QP that prices the correlated blowup you didn't see. - [9.15 Kelly Rejects Bad Trades Automatically: Why Overbetting Kills and Underbetting Doesn't](https://aligrithm.com/kelly-rejects-bad-trades-automatically-why-overbetting-kills-and-underbetting-doesnt.md) - Kelly gives the growth-optimal bet size, outputs "no trade" when the edge is too thin, and punishes overbetting with ruin while underbetting only costs growth. Bet small, often, and never the negative-f* trades. - [9.14 Bayesian Edge in Log-Odds: Better, Earlier, Calibrated — or It's Noise](https://aligrithm.com/bayesian-edge-in-log-odds-better-earlier-calibrated-or-its-noise.md) - Bayes turns news into an edge, but the whole trade hangs on the likelihood ratio you estimate. Update in log-odds, tie it to the maker's softmax, and gate every belief on three tests: better, earlier, calibrated. Then shrink. - [9.13 What a Market Price Actually Is: Capital-Weighted Consensus and the Brier Skill Score Gate](https://aligrithm.com/what-a-market-price-actually-is-capital-weighted-consensus-and-the-brier-skill-score-gate.md) - A prediction-market price is the capital-weighted consensus, not a probability fact. Coherent prices can still be wrong, but before betting your view, pass the Brier Skill Score gate: beat the market on your own logged forecasts or stop. - [9.12 Why Your Arbitrage Solver Crashes at 99 Cents: Barrier Frank-Wolfe](https://aligrithm.com/why-your-arbitrage-solver-crashes-at-99-cents-barrier-frank-wolfe.md) - The clean arbitrage solver crashes near 99 cents because the log gradient blows up at the boundary. The barrier fix shrinks the shape off 0 and 1, converging slower but actually finishing. - [9.11 Frank-Wolfe: Solving a Quintillion-Vertex Problem in 100 Steps](https://aligrithm.com/frank-wolfe-solving-a-quintillion-vertex-problem-in-100-steps.md) - Frank-Wolfe projects onto a shape with a quintillion corners by adding one corner per step, about a hundred total, with a gap number that certifies how much profit you might still be missing. - [9.10 Trillions of Outcomes, 200 Constraints: Reading Tournament Rules as Assert Statements](https://aligrithm.com/trillions-of-outcomes-200-constraints-reading-tournament-rules-as-assert-statements.md) - A bracket has 9.2 quintillion outcomes and you can describe the legal ones with about 200 rules. Read them as assert statements, hand the solver a direction, and it returns one valid outcome at a time. - [9.1 Convex Geometry for Traders: Polytopes, Hyperplanes, Projection, and Why KL Beats Euclidean](https://aligrithm.com/convex-geometry-for-traders-polytopes-hyperplanes-projection-and-why-kl-beats-euclidean.md) - The cleanest prediction-market edge is geometric, not predictive. Learn convex sets, polytopes, separating hyperplanes, conjugates, and why KL beats Euclidean, and the arbitrage machinery stops looking like a wall. - [6.46 Signal Averaging: Killing Noise with Redundant Alphas](https://aligrithm.com/signal-averaging-killing-noise-with-redundant-alphas.md) - Most of your cost is trading the noise in a signal, not the edge. Build 10 to 20 variants of one alpha and average: true parts survive, noise divides by N. Don't pick the best lookback, keep them all. - [2.82 Regularization from First Principles](https://aligrithm.com/regularization-from-first-principles.md) - OLS is the best unbiased fit only under assumptions markets shatter, so on correlated alphas it hands you wild coefficients. Add an L2 or L1 penalty: biased, lower variance, steadier out of sample. - [8.8 Itô Calculus, Intuitively](https://aligrithm.com/ito-calculus-intuitively.md) - Stochastic calculus is one twist on the integral you know. Riemann weights rectangles by equal width, Riemann-Stieltjes by a function g, Itô by Brownian motion. Random weights make the integral a process Y(t). - [7.3 Rust Data Server, Python Brain](https://aligrithm.com/rust-data-server-python-brain.md) - Profiling a slow algo points at JSON decode, not your alpha. Put the simple hot path (decode, filter, forward) in Rust and keep the complex stateful brain (OMS, reporting, unwinding) in Python. Split at the JSON, forward binary, and match your backtest exactly. - [7.2 Dynamic Time Warping for Time-Series Alignment](https://aligrithm.com/dynamic-time-warping-for-time-series-alignment.md) - Fixed-lag cross-correlation assumes the delay between two markets never moves. It does. Dynamic time warping aligns two series with a stretchable path, scoring shape similarity and recovering a lead-lag that varies through time. - [7.1 Synthetic Prices: EMA of Random Numbers as a Market Model](https://aligrithm.com/synthetic-prices-ema-of-random-numbers-as-a-market-model.md) - Real prices are random numbers with memory, so an EMA of noise plus a cumulative sum makes a passable synthetic chart. Generate thousands to put error bars on a backtest, but never to prove edge. - [6.45 Don't Trust Your Strategy-Weighting Scheme](https://aligrithm.com/dont-trust-your-strategy-weighting-scheme.md) - Scoring strategies four ways then averaging the weights isn't rigorous: the metrics collapse to two correlated families and every input is a noisy in-sample estimate. Beat equal-weight out of sample. - [5.42 Why Market-Making Simulations Don't Work](https://aligrithm.com/why-market-making-simulations-dont-work.md) - You can't simulate a limit fill that never happened. Maker/taker on historical trades works only on thin venues; pure making is just prod tuning. And Avellaneda-Stoikov is risk times root holding time. - [5.41 Quotes From the Future: Clock Drift and the Latency Floor](https://aligrithm.com/quotes-from-the-future-clock-drift-and-the-latency-floor.md) - A quote stamped newer than light can travel isn't fast, your clocks disagree. Fix chrony first, then use an empirical latency floor (half the fastest ping) to catch and correct cross-venue drift. - [3.36 The NATGAS 20-25h Cycle: Real or Folklore?](https://aligrithm.com/the-natgas-20-25h-cycle-real-or-folklore.md) - A NATGAS daytrader legend claims a guaranteed 20-25h sell-wave cycle, 44 trades a month. Run it through the gauntlet: cause test, multiple-comparisons, permutation null, and cost arithmetic. It is folklore until proven otherwise. - [3.35 Trend and Reversion Are the Same, and OLS Understates Both](https://aligrithm.com/trend-and-reversion-are-the-same-and-ols-understates-both.md) - Trend and reversion are one process split by the sign of beta. Regress a series on its own lag and OLS understates beta's magnitude in both cases, because the lagged regressor shares error terms with the target. You end up believing in less trend and less reversion than the market carries. - [2.81 Volume and Volatility Are the Same Feature](https://aligrithm.com/volume-and-volatility-are-the-same-feature.md) - Replace the volatility term with volume in most alphas and the backtest barely moves, because they ride the same information clock. Feeding a model both is double-counting one factor. Keep one scale, and add their ratio, Amihud illiquidity, as the residual that actually carries new information. - [2.80 Ridge Above 1h, XGBoost Below 5min](https://aligrithm.com/ridge-above-1h-xgboost-below-5min.md) - Pick the model by interaction strength: ridge when near-additive, XGBoost when interactions dominate. XGBoost also handles NaNs natively, avoiding imputation lookahead; else use an IC-weighted ensemble. - [2.79 How a Decision Tree Engineers a New Alpha](https://aligrithm.com/how-a-decision-tree-engineers-a-new-alpha.md) - A decision tree mines conditional alphas by carving feature space into boxes. It picks each split to maximize a similarity gain and predicts the mean return per leaf. Stop early or it memorizes noise. - [2.78 From One Tree to Forests to Boosting](https://aligrithm.com/from-one-tree-to-forests-to-boosting.md) - One tree is fragile: a small data change flips its top split. Bagging averages many trees to cut variance; boosting fits each new tree to the residual to cut bias. XGBoost and LightGBM are boosting. - [2.77 Linear Models' Hidden Symmetry Advantage](https://aligrithm.com/linear-models-hidden-symmetry-advantage.md) - Relabel every long as a short and a return model should flip its sign. Linear models get this free through their weights; a tree relearns each split's mirror, so engineer the symmetry back. - [1.26 Large Trades Are Insider Trades by Definition](https://aligrithm.com/large-trades-are-insider-trades-by-definition.md) - A large order moves price by construction, so it manufactures the move it seemed to predict. Size needs capital and a firm view, which reads like information on the tape, so the market prices large flow as informed because it cannot tell you apart. Read the permanent impact to separate knowing from - [1.25 Who Is the Marginal Buyer?](https://aligrithm.com/who-is-the-marginal-buyer.md) - The seller is easy to picture, so everyone narrates the seller after a crash. Price is set at the margin: the question that forecasts anything is who the marginal buyer is, and where they step back. - [5.34 Layering Forecasts Across Horizons: Blending on the Markout Curve](https://aligrithm.com/layering-forecasts-across-horizons-blending-on-the-markout-curve.md) - Got forecasts on different clocks? Don't pick the biggest. Normalize each to edge-per-second on its markout curve (30 bps/60s = 0.5 vs 2 bps/1s = 2) and average the curves to blend fast and slow edge into one. - [5.43 Predictive but Uncorrelated: Alphas That Only Work as Interactions](https://aligrithm.com/predictive-but-uncorrelated-alphas-that-only-work-as-interactions.md) - Volatility predicts the size of a move, not its direction, so it can't trade alone. Multiply it by momentum and it works, until extreme vol gains its own sign, down for equities and up for gold. - [5.45 Detecting Wash Trading with an FFT, and Why Your TWAP Needs Random Timestamps](https://aligrithm.com/detecting-wash-trading-with-an-fft-and-why-your-twap-needs-random-timestamps.md) - The Fourier transform fails on price but nails a robot, because a wash bot or metronomic TWAP is the clean periodic signal price never is. Bin trades, FFT the counts, and a sharp spike is automation. The catch: your own equal-interval TWAP makes that spike, so randomize it. - [5.44 MFT Execution Is Built on HFT Market-Making](https://aligrithm.com/mft-execution-is-built-on-hft-market-making.md) - The cheapest way for an MFT shop to enter a small position is to act like a market maker: feed your quoting engine a phantom short so it skews and fills you long, collecting the spread instead of paying it. - [4.70 Combining Three Weak Alphas on Cointegrated Futures](https://aligrithm.com/combining-three-weak-alphas-on-cointegrated-futures.md) - Three fair-value estimators for an adjacent crude future, each too weak alone: spread EMA, returns beta, cross-book volume. Weight each by one over its error variance and the shared signal survives while the noise cancels. - [2.76 The Limits of Linear Models](https://aligrithm.com/the-limits-of-linear-models.md) - The clean linear factor model fails because its weights are not constants. Momentum and carry only pay in the right vol regime, and interactions are the one thing a linear model cannot represent. - [5.37 Continuous, Event-Driven Trading vs Bar-Based Research](https://aligrithm.com/continuous-event-driven-trading-vs-bar-based-research.md) - Bar research assumes the clock drives the market. It doesn't, events do. Fixed rebalance times are front-runnable and bars hide execution seasonality. Screen on bars, validate on event-driven sims, trade on events. - [6.39 Why Traders Should Analyze Indicators Mathematically](https://aligrithm.com/why-traders-should-analyze-indicators-mathematically.md) - Every moving average is a low-pass filter, and its lag is the price of stripping noise from a causal signal. Read indicators as filter weights, not chart lines, and stop fooling yourself about them. - [4.69 Why a Weak Dollar Means Strong Commodities](https://aligrithm.com/why-a-weak-dollar-means-strong-commodities.md) - Commodities are priced in dollars, so a weaker dollar makes them cheaper abroad, lifts foreign demand, and raises their price, which lifts the commodity currencies. Use it as a directional gate, and count the dollar once. ## Optional - [RSS Feed](https://aligrithm.com/rss/) - [Sitemap](https://aligrithm.com/sitemap.xml) - [Full content of pages and posts](https://aligrithm.com/llms-full.txt)