A backtesting tool that runs entirely in the browser — no installation required, just open and use. Core Features GJR-GARCH(1,1) + Student-t Data Generation — Generates simulated market data with realistic statistical properties (fat tails, volatility clustering, leverage effect) 8 Market Presets — Steady Bull, Choppy, Bull-to-Bear, V-Shaped Recovery, Black Swan, Earnings Season, Breakout, High Volatility Multi-Timeframe Support — Daily / 4H / 1H / 15min / 5min / 1min Full Backtest Engine — Market / Limit / Stop / Stop-Limit orders, supports both long and short trading Strategy Editor — Syntax highlighting, autocomplete, syntax check, with built-in strategy templates Visualization — Candlestick chart (with buy/sell signal markers), equity curve, drawdown curve Save/Load Strategies — Save current strategy locally, load from local files Data Generation Algorithm Uses a GJR-GARCH(1,1) model with Student-t distribution to generate price series, reproducing the stylized facts of financial time series summarized by Cont (2001): ...
AI Trading Journal - February 19, 2026
Daily PnL: +$2,244 | 14 trades | 50.0% win rate
Algorithm Interview Comprehensive Guide
Introduction This is a comprehensive algorithm interview guide covering 40+ classic problems with detailed analysis and template code. The guide is organized by algorithmic patterns and prioritized by company focus (Google, Meta, Amazon). What’s Covered The guide includes the following topics: Greedy Algorithm - Assignment problems, Interval scheduling Two Pointers - Opposite pointers, Sliding window, Fast-slow pointers Binary Search - Standard search, Boundary search, Search on answer Sorting - Custom sorting, Quickselect, Bucket sort Prefix Sum - Subarray sum, Contiguous array Stack and Queue - Parentheses matching, Monotonic stack DFS - Grid search, Cycle detection, Memoized search BFS - Shortest path, Multi-source BFS Dijkstra - Weighted graph shortest path Dynamic Programming - Linear DP, String DP, Knapsack, Stock problems Divide and Conquer - Merge K sorted lists Trie - Prefix tree, Word search Topological Sort - Course scheduling Union-Find - Connected components, Cycle detection LRU Cache - Hash map + Doubly linked list Bit Manipulation - XOR tricks, Counting bits Key Features Priority Labels: Problems are labeled with company focus (G=Google, M=Meta, A=Amazon) and priority levels (P0/P1/P2) Template Code: Reusable code templates for each pattern Detailed Analysis: Step-by-step problem breakdown and complexity analysis Interview Tips: Communication strategies and edge case handling Full Document Click the link below to view the complete guide: ...
Naval Ravikant Interview Reader — with Built-in SAT Vocabulary Lookup
An interactive reader for the “44 Harsh Truths About Human Nature” interview between Naval Ravikant and Chris Williamson (Modern Wisdom Podcast), with a built-in vocabulary lookup designed for SAT and standardized test preparation. Why This Exists Reading authentic English content is one of the most effective ways to build vocabulary for the SAT and similar standardized tests. But constantly switching between a reader and a dictionary breaks the flow. This tool solves that by embedding an SAT-focused word bank directly into the interview transcript. Every test-relevant word is highlighted in context — click it and you instantly see its definition, without leaving the page. ...
Building a Tetris AI: Heuristic Evaluation and Search Strategies
This article provides a comprehensive technical deep-dive into building an AI for Tetris. We’ll cover the fundamental mechanics of modern Tetris, the heuristic evaluation approach, and how to combine multiple features into an effective AI player. Table of Contents Tetris Fundamentals AI Architecture Overview Heuristic Features Search Algorithm Weight Tuning Advanced Techniques Implementation Details Tetris Fundamentals Before diving into AI strategies, let’s understand the core mechanics of modern Tetris (specifically the Tetris Guideline standard). ...
Tetr.js AI - Play Tetris with AI Auto-play and Claude Integration
A classic Tetris game enhanced with AI capabilities. Watch the AI play automatically using a heuristic-based algorithm, or connect to Claude API for AI-powered gameplay! Features Classic Tetris Gameplay: Full implementation with SRS rotation, hold piece, and 6-piece preview Local AI: Heuristic-based AI with configurable weights and 2-step lookahead Claude AI Mode: Optional integration with Anthropic’s Claude API Human-like Animation: Configurable think time and move delays Weight Presets: Balanced, Conservative, and Aggressive play styles Ghost Piece: Shows AI’s planned final position How to Play Manual Play Use keyboard controls: ...
C++ Trivials Quiz Game - 100 C++ Knowledge Questions
A C++ knowledge quiz game I created, featuring 100 carefully selected C++ knowledge points. Features 100 C++ multiple-choice questions, 20 randomly selected per game Covers 7 major categories: Basic Types & Expressions Object Lifetime & Memory STL Containers & Iterators Functions & Calling Conventions C++11/14/17/20 New Features Templates & Type System Common UB / Frequent Pitfalls Built with Phaser.js game engine, supports animations and effects Celebration effects for correct answers, shake effect for wrong answers Result page shows score and accuracy Review all your answers after the game Play Now Click the link below to start the challenge: ...
Option Pricing Calculator - Black-Scholes & American Options with Greeks
I’m sharing an option pricing calculator I built that supports both European and American style options with full Greeks calculation. Features Pricing Models: Black-Scholes for European options, Trinomial tree for American options Full Greeks: Delta, Gamma, Vega, Theta, Rho and more Implied Volatility: Calculate IV from market price Intraday Precision: Supports trading hours and current time for precise DTE calculation Trading Days Mode: Option to use trading days (excludes weekends and holidays) instead of calendar days Dividend Support: Add discrete dividends with ex-dividend dates Holiday Calendar: Customizable holiday list for accurate trading day calculation How to Use Enter the option parameters (trade date, expiry, spot price, strike, volatility, etc.) Choose between Call/Put and American/European style Configure trading hours and holidays if needed Click “Calculate” to get the option price and Greeks Use the “Implied Vol” tab to calculate implied volatility from a market price Try It Out Click the link below to open the calculator: ...
Hello, World
This is my first blog post. I will record here: Technology Thoughts Study Notes