⚡ PyQuant Library v2.0 Enterprise

Production-Ready Python Scripts for Quants & Finance

Copy-paste vectorised code for Algorithmic Trading, Financial Valuation, Credit Appraisal, and Data Automation.

Algorithmic Trading & Indicators Intermediate

Calculate Supertrend Indicator in Python using Pandas (Vectorized)

Copy-paste production-ready Python code to calculate the Supertrend indicator on OHLCV data using Pandas and NumPy. Includes ATR logic and buy/sell signal generation.

#pandas#numpy#yfinance
View Script & Code →
Algorithmic Trading & Indicators Beginner

200 EMA & 50 EMA Golden Cross Strategy in Python (Single-Trade Flip)

Automate the Golden Cross and Death Cross trading strategy in Python using Pandas. Includes 50/200 EMA calculation and non-repainting signal logic.

#pandas#numpy#yfinance
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Intraday VWAP with Daily Session Reset in Python Pandas

Accurate Python script to calculate intraday Volume Weighted Average Price (VWAP) on 1-minute or 5-minute OHLCV data with automatic daily session reset.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Calculate Option Greeks (Delta, Gamma, Theta, Vega) via Black-Scholes in Python

Vectorized Python script using SciPy to compute European Option Greeks (Delta, Gamma, Theta, Vega, Rho) for Call and Put options without external wrapper libraries.

#numpy#scipy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Automated RSI Calculation & Overbought/Oversold Reversal Signals in Python

Calculate Wilder's Relative Strength Index (RSI) in Python Pandas and detect automated bullish and bearish reversal crossovers at 30 and 70 thresholds.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Dynamic ATR Trailing Stop-Loss & Position Sizing Calculator in Python

Calculate volatility-adjusted Average True Range (ATR) trailing stop-loss levels and exact share/lot position sizes based on fixed account risk percentage.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Bollinger Band & Keltner Channel Volatility Squeeze Scanner in Python

Scan stocks for TTM Volatility Squeeze setups in Python using Pandas where Bollinger Bands contract inside Keltner Channels before explosive breakouts.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Maximum Drawdown, Sharpe Ratio & Calmar Ratio in Python

Evaluate trading strategy performance in Python by computing Peak-to-Trough Maximum Drawdown, Annualized Sharpe Ratio, and Calmar Ratio from daily returns.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Automated 5-Year Discounted Cash Flow (DCF) Valuation Script in Python

Calculate intrinsic value per share of any stock using a 2-stage Discounted Cash Flow (DCF) model in Python. Includes WACC discounting and Terminal Value.

#numpy#pandas
View Script & Code →
Financial Calculations & Valuation Beginner

Calculate WACC (Weighted Average Cost of Capital) & CAPM in Python

Python script to calculate Weighted Average Cost of Capital (WACC) using CAPM Cost of Equity, After-Tax Cost of Debt, and market capital structure weights.

#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

Loan EMI & Full Amortization Schedule Generator to CSV in Python

Generate a month-by-month loan amortization table in Python Pandas showing EMI, Principal Component, Interest Component, and Closing Balance, exported to CSV.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Calculate NPV, IRR & XIRR for Irregular Cash Flows in Python

Compute Net Present Value (NPV), Internal Rate of Return (IRR), and exact date-adjusted XIRR in Python using SciPy root-finding without Excel.

#numpy#scipy#pandas
View Script & Code →
Financial Calculations & Valuation Advanced

Markowitz Mean-Variance Portfolio Optimization in Python (SciPy)

Find the optimal asset allocation weights that maximize the Sharpe Ratio using SciPySLSQP optimization and historical covariance matrices in Python.

#pandas#numpy#scipy
View Script & Code →
Financial Calculations & Valuation Intermediate

Monte Carlo Stock Price & Value-at-Risk (VaR) Simulation in Python

Run 10,000 Geometric Brownian Motion (GBM) price path simulations in Python NumPy to estimate future price probabilities and 95% Value at Risk (VaR).

#numpy#pandas
View Script & Code →
Data Automation & Cleaning Intermediate

Extract Transaction Tables from PDF Bank Statements to Clean CSV in Python

Use Python and pdfplumber to parse multi-page PDF bank and credit card statements into a clean, standardized Pandas DataFrame and CSV file.

#pdfplumber#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Merge 100+ Monthly CSV Files into One Clean DataFrame in Python

Fast Python script using pathlib and Pandas to recursively combine dozens of monthly CSV exports, normalize column headers, and drop duplicate rows.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Clean Messy Accounting & Financial CSV Data in Python (Currency, Dates & Cr/Dr)

Standardize messy accounting exports in Python by stripping ₹/$ symbols, converting parenthesized negatives '(500.00)' to '-500.0', and parsing mixed dates.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Intermediate

Detect Duplicate Charges, Hidden Fees & Recurring Subscriptions in Bank CSVs

Audit bank and credit card transaction CSVs in Python to flag double-billed merchant charges, recurring subscription drains, and micro-fee anomalies.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Beginner

Flatten Nested API JSON Responses into Clean Tabular CSV in Python

Use pd.json_normalize in Python to flatten deeply nested REST API JSON payloads (orders, trades, webhooks) into a flat CSV table without RAM crashes.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Convert Multi-Sheet Excel Workbooks (.xlsx) into SQLite Database in Python

Automatically migrate heavy, slow multi-sheet Excel workbooks into a fast, queryable relational SQLite database using Python Pandas and sqlite3.

#pandas#openpyxl
View Script & Code →
Market Data & Web Scraping Beginner

Bulk Download Historical OHLCV Stock Data for 50+ Tickers in Python (yfinance)

Download multi-year daily or intraday OHLCV candle data for dozens of NSE, NYSE, or Crypto tickers simultaneously using Python yfinance and export to CSV.

#yfinance#pandas
View Script & Code →
Market Data & Web Scraping Advanced

Fetch Live NSE India Option Chain Data (PCR & Max Pain) in Python

Python script using requests session cookies to fetch live NSE Nifty/BankNifty Option Chain JSON, calculate Put-Call Ratio (PCR), and identify Max OI strikes.

#requests#pandas
View Script & Code →
Market Data & Web Scraping Intermediate

Stream Real-Time 1-Minute Kline Candlesticks via WebSocket in Python

Connect to Binance public WebSockets in Python using asyncio and websockets to stream live real-time 1-minute OHLCV candlesticks without API keys.

#websockets
View Script & Code →
Market Data & Web Scraping Intermediate

Financial News Headline Scraper & Sentiment Polarity Scorer in Python

Scrape live financial news RSS feeds in Python using BeautifulSoup and score bullish/bearish sentiment polarity for stock tickers.

#requests#beautifulsoup4#pandas
View Script & Code →
Market Data & Web Scraping Beginner

Automated Multi-Currency Forex Rate Converter & Historical Logger in Python

Fetch live USD, INR, EUR, GBP, and AED foreign exchange rates in Python using open JSON endpoints and convert multi-currency invoice CSVs.

#requests#pandas
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Central Pivot Range (CPR) & Narrow CPR Scanner in Python

Compute daily and weekly Central Pivot Range (Pivot, BC, TC) levels in Python Pandas and scan for Narrow CPR breakout days on Nifty and stocks.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Wilder's ADX (+DI / -DI) Trend Strength Filter in Python

Filter out sideways market whipsaws in Python by computing Wilder's Average Directional Index (ADX), +DI, and -DI using vectorized Pandas.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Convert Standard OHLC Candles to Heikin-Ashi Candles in Python

Noise-free trend detection in Python by converting standard OHLCV DataFrames into smoothed Heikin-Ashi candlesticks with automated trend flip signals.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

MACD Line, Signal Line & Histogram Momentum Crossover in Python

Calculate Moving Average Convergence Divergence (12, 26, 9 MACD) in Python Pandas and detect histogram zero-line momentum crossovers.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Donchian Channel 20-Day Turtle Trading Breakout Strategy in Python

Implement Richard Dennis's classic Turtle Trading 20-period Donchian Channel high/low breakout system in Python using Pandas.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Implied Volatility Rank (IVR) & IV Percentile (IVP) in Python

Determine whether options are statistically cheap or expensive by computing 52-week Implied Volatility Rank (IVR) and IV Percentile (IVP) in Python.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Multi-Leg Option Strategy Payoff & Breakeven Calculator in Python (Iron Condor / Straddle)

Model expiry P&L payoff curves, Max Profit, Max Loss, and exact Upper/Lower Breakeven points for Short Straddles, Strangles, and Iron Condors in Python.

#numpy#pandas
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Kelly Criterion & Half-Kelly Optimal Trade Allocation in Python

Compute optimal capital allocation per trade from your backtest trade log using the Kelly Criterion and Half-Kelly formula in Python.

#numpy#pandas
View Script & Code →
Algorithmic Trading & Indicators Advanced

Statistical Arbitrage Pairs Trading Cointegration & Z-Score Scanner in Python

Test stock pairs for Engle-Granger cointegration using statsmodels in Python and compute rolling spread Z-Score signals for market-neutral pairs trading.

#pandas#numpy#statsmodels
View Script & Code →
Financial Calculations & Valuation Beginner

Commercial Credit Appraisal DSCR & Interest Coverage Calculator in Python

Automate commercial loan underwriting by calculating year-by-year Debt Service Coverage Ratio (DSCR), Average DSCR, and Interest Coverage Ratio in Python.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

Altman Z-Score Corporate Credit Risk & Default Predictor in Python

Calculate Edward Altman's 5-factor Z-Score in Python to classify corporate balance sheets into Safe, Grey, or Financial Distress zones.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Calculate Cash Conversion Cycle (DIO, DSO, DPO) & Nayak/Tandon MPBF in Python

Compute Working Capital Cash Conversion Cycle days and Maximum Permissible Bank Finance (MPBF Method II) for SME/Corporate CC limits in Python.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Calculate Bond Yield to Maturity (YTM) & Macaulay Duration in Python

Solve exact Bond Yield to Maturity (YTM), Macaulay Duration, and Modified Duration for fixed-income bonds using SciPy in Python.

#numpy#scipy
View Script & Code →
Financial Calculations & Valuation Beginner

Automated 3-Step & 5-Step DuPont ROE Decomposition Analysis in Python

Break down Return on Equity (ROE) into Tax Burden, Interest Burden, Operating Margin, Asset Turnover, and Financial Leverage in Python Pandas.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Intermediate

Benford's Law Forensic Accounting & Invoice Fraud Detector in Python

Detect fabricated invoices and accounting manipulation in ledger CSVs by testing leading-digit distributions against Benford's Law and Chi-Square in Python.

#pandas#numpy#scipy
View Script & Code →
Financial Calculations & Valuation Intermediate

Automated Bank Loan NPA Classification & Provisioning Calculator (IRAC Norms) in Python

Classify loan book CSVs into Standard, Sub-Standard, Doubtful (D1/D2/D3), and Loss Assets based on Days Past Due (DPD) and compute provisioning in Python.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Intermediate

Automated GST Reconciliation (GSTR-2B vs Purchase Register CSV) in Python

Reconcile thousands of supplier invoices between GSTR-2B and ERP Purchase Register in Python Pandas with fuzzy invoice matching and tolerance checks.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Beginner

Bulk Validate PAN Card & GSTIN Numbers with Checksum in Python (Regex)

Clean vendor master CSVs in Python by validating 10-character PAN and 15-character GSTIN formats, state codes, and entity types using compiled Regex.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Resample 1-Minute Intraday OHLCV Data to 5m, 15m, 1H & Daily in Python Pandas

Correctly aggregate 1-minute historical candlestick CSVs into 5-minute, 15-minute, or custom market timeframes in Python using Pandas `.resample()`.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Compress & Query 10GB+ Tick Data CSVs using Parquet & PyArrow in Python

Shrink massive historical tick-data CSV files by 80% and speed up Pandas read times 15x by converting CSVs to Snappy-compressed Parquet in Python.

#pandas#pyarrow
View Script & Code →
Market Data & Web Scraping Beginner

Send Real-Time Algo Trading Buy/Sell Alerts to Telegram in Python

Lightweight Python function using requests to push formatted Markdown buy/sell signal alerts and P&L updates from your trading script to a Telegram chat.

#requests
View Script & Code →
Market Data & Web Scraping Intermediate

Fetch US SEC EDGAR Company Facts & 10-K Financial JSON via API in Python

Download official 10-K and 10-Q GAAP revenue, net income, and balance sheet history directly from the SEC EDGAR REST API in Python without API keys.

#requests#pandas
View Script & Code →
Market Data & Web Scraping Beginner

Fetch Daily Indian Mutual Fund NAVs from AMFI Portal to CSV in Python

Download and parse the official AMFI India daily Mutual Fund NAV text feed into a clean Pandas DataFrame and CSV file in Python.

#requests#pandas
View Script & Code →
Market Data & Web Scraping Beginner

Generate Multi-Stock Return Correlation Matrix & Diversification Filter in Python

Compute Pearson and Spearman daily return correlation matrices across a stock basket in Python Pandas and flag highly correlated redundant pairs (>0.80).

#pandas#numpy#yfinance
View Script & Code →
Data Automation & Cleaning Beginner

Generate Google Search Console XML Sitemap & robots.txt for Static Sites in Python

Automatically scan a static HTML directory (`dist/`) in Python and generate a valid `sitemap.xml` and `robots.txt` for instant Google indexing.

#pandas
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Supertrend + Intraday VWAP + RSI Confluence Strategy in Python (Single-Trade Per Trend)

Combine Supertrend (10,3), Intraday Session VWAP, and RSI(14) in Python Pandas with strict single-trade-per-trend state lock to prevent overtrading.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

15-Minute Opening Range Breakout (ORB) Intraday Strategy in Python Pandas

Automate the classic 15-minute Opening Range Breakout (9:15 to 9:30 High/Low) intraday strategy in Python with volume confirmation and EOD square-off.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Calculate Hurst Exponent in Python (Detect Mean-Reverting vs Trending Stocks)

Use the Rescaled Range (R/S) Hurst Exponent test in Python NumPy to classify any stock or index into Mean-Reverting (H < 0.5), Random Walk (H = 0.5), or Trending (H > 0.5).

#numpy#pandas
View Script & Code →
Algorithmic Trading & Indicators Advanced

1D Kalman Filter Zero-Lag Adaptive Trend Tracker in Python NumPy

Implement a 1-Dimensional Kalman Filter in pure Python NumPy as a zero-lag adaptive moving average to filter price noise without window lag.

#numpy#pandas
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Camarilla Pivot Points (H3/H4 & L3/L4) Intraday Levels in Python

Compute intraday Camarilla Pivot support and resistance levels (H1–H4 and L1–L4) in Python Pandas for mean-reversion inside H3/L3 and breakouts beyond H4/L4.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Larry Williams VIX Fix Synthetic Panic Bottom Indicator in Python

Calculate Larry Williams' VIX Fix indicator in Python Pandas to detect panic selling climaxes and high-probability swing bottoms on any individual stock or crypto.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Anchored VWAP (AVWAP) from Any Event Date or Swing Low in Python

Compute Anchored Volume Weighted Average Price (AVWAP) starting from any earnings date, IPO day, or major swing low in Python Pandas.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Random Forest Machine Learning Next-Day Stock Direction Classifier in Python (scikit-learn)

Train a Random Forest Classifier in Python using scikit-learn on technical features (RSI, Returns, Volatility) with strict time-series train/test split.

#pandas#numpy#scikit-learn
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Convert Time-Series OHLC Data into Pure Price-Movement Renko Bricks in Python

Filter out time-based sideways noise by converting standard OHLCV price series into fixed or ATR-sized Renko bricks (+1 Bull / -1 Bear) in Python.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Sortino Ratio, Omega Ratio & 99% CVaR (Expected Shortfall) in Python

Go beyond Sharpe Ratio in Python by computing Downside-Deviation Sortino Ratio, Omega Ratio, and 99% Conditional Value at Risk (CVaR).

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Automated 9-Point Piotroski F-Score Fundamental Value Screener in Python

Calculate Joseph Piotroski's 9-point F-Score in Python across Profitability, Leverage/Liquidity, and Operating Efficiency to separate value traps from winners.

#pandas
View Script & Code →
Financial Calculations & Valuation Advanced

Beneish M-Score Forensic Earnings Manipulation Detector in Python

Compute Professor Messod Beneish's 8-variable M-Score in Python to detect aggressive revenue recognition and balance sheet earnings manipulation.

#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

Calculate Benjamin Graham Number & Growth Intrinsic Value Formula in Python

Compute defensive investor valuation ceilings using the classic Benjamin Graham Number and the bond-yield-adjusted Graham Growth Formula in Python.

#numpy#pandas
View Script & Code →
Financial Calculations & Valuation Advanced

Black-Litterman Implied Equilibrium & Investor View Portfolio Allocation in Python

Overcome Markowitz corner-solution instability by computing Black-Litterman market-cap implied equilibrium returns and blending investor views in Python NumPy.

#numpy#pandas
View Script & Code →
Financial Calculations & Valuation Intermediate

Basel III Credit Risk Expected Loss (EL = PD x LGD x EAD) & Risk-Weighted Assets in Python

Calculate loan portfolio Expected Loss (EL), Unexpected Loss (UL), and Credit Risk-Weighted Assets across borrower rating grades using PD, LGD, and EAD in Python.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

SaaS & D2C Unit Economics Calculator (MRR, Churn, LTV:CAC & Payback Months) in Python

Compute Monthly Recurring Revenue (MRR), Customer Lifetime Value (LTV), LTV:CAC ratio, and CAC Payback Period for startups and D2C brands in Python.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

Annual Step-Up SIP & Inflation-Adjusted Retirement Corpus Simulator in Python

Model month-by-month Mutual Fund Step-Up SIP compounding (e.g., 10% annual top-up) and compute real inflation-adjusted purchasing power in Python Pandas.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Intermediate

Corporate Lease vs Buy (CapEx Loan) NPV & Depreciation Tax Shield Analyzer in Python

Compare after-tax Net Present Value of leasing vs debt-financed purchasing of industrial machinery or commercial assets in Python.

#numpy#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Automated Accounts Receivable (A/R) & Payable Aging Bucket Report (0–30, 31–60, 61–90, 90+ Days) in Python

Categorize unpaid customer invoices into 0–30, 31–60, 61–90, and 90+ Days Past Due aging buckets with customer-wise pivot summaries in Python Pandas.

#pandas#numpy
View Script & Code →
Data Automation & Cleaning Intermediate

Fuzzy Match & Deduplicate Messy Vendor/Customer Names in Accounting CSVs (Python)

Detect duplicate vendor entries like 'Reliance Ind Ltd' and 'Reliance Industries Limited' in ERP master CSVs using token similarity scoring in Python.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Split Massive 5GB+ CSV Files into Smaller Row Chunks Without RAM Crash in Python

Stream and split multi-gigabyte CSV files into Excel-compatible 500,000-row chunks in Python using Pandas `chunksize` iterator with near-zero RAM usage.

#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Export Pandas DataFrame to Styled Executive Excel Report (.xlsx) with Auto-Width in Python

Convert raw Pandas DataFrames into client-ready Excel workbooks in Python using openpyxl with navy header styling, currency formatting, and auto-fit column widths.

#pandas#openpyxl
View Script & Code →
Market Data & Web Scraping Beginner

Fetch US Treasury Yield Curve (10Y-2Y Recession Spread) & VIX in Python

Track macro recession signals in Python by fetching 10-Year vs 2-Year Treasury yields, yield curve inversion spreads, and CBOE VIX via yfinance/FRED.

#pandas#yfinance
View Script & Code →
Market Data & Web Scraping Intermediate

Scan Crypto Perpetual Futures Funding Rates for Cash-and-Carry Arbitrage in Python

Fetch live Binance perpetual futures funding rates in Python using requests and rank delta-neutral Spot vs Futures cash-and-carry annualized APR yields.

#requests#pandas
View Script & Code →
Market Data & Web Scraping Beginner

Scan Stocks for High Relative Volume (RVOL > 2x) & Gap-Up Breakouts in Python

Identify stocks in play by computing Relative Volume (Current Volume vs 20-Day Average Volume) and Overnight Gap Percentage in Python Pandas.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Garman-Klass Volatility Estimator in Python Pandas

Compute high-efficiency Garman-Klass historical volatility in Python using Open, High, Low, and Close prices to capture intraday price range swings.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Calculate Volume Profile, Point of Control (POC) & Value Area High/Low in Python

Aggregate price-level volume distribution in Python Pandas to compute Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL).

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Calculate Linear Regression Channel, Slope & R-Squared Trend Strength in Python

Compute least-squares linear regression trendlines, upper/lower standard error channels, and R-squared trend linearity in Python Pandas.

#pandas#numpy#scipy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Calculate Exact Option Implied Volatility (IV) via Numerical Bisection Solver in Python

Reverse-engineer option market prices to compute exact Implied Volatility (IV) using Black-Scholes and bisection root-finding in Python SciPy.

#numpy#scipy
View Script & Code →
Algorithmic Trading & Indicators Advanced

GARCH(1,1) Volatility Forecasting Model in Python (arch library)

Fit a Generalized Autoregressive Conditional Heteroskedasticity GARCH(1,1) model in Python to forecast future market volatility clustering.

#pandas#numpy#arch
View Script & Code →
Algorithmic Trading & Indicators Intermediate

ATR Trailing Stop-Loss Line & Supertrend Exit Engine in Python

Calculate volatility-based ATR Trailing Stop lines in Python Pandas that ratchet upward during bull trends and downward during bear trends.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Intraday Tick-Level Time & Sales Aggregator & Large Block Trade Detector in Python

Process raw tick trade logs in Python Pandas to aggregate volume bursts, aggressive buy/sell sweeps, and institutional block trade anomalies.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Intermediate

Multi-Timeframe Trend Confluence Matrix (5m, 15m, 1h, Daily) in Python

Build an automated multi-timeframe trend alignment matrix in Python Pandas confirming 200 EMA direction across 5m, 15m, 1h, and Daily charts.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Beginner

Calculate Hull Moving Average (HMA) for Zero-Lag Trend Following in Python

Compute Alan Hull's High-Speed Hull Moving Average (HMA) in Python Pandas, eliminating lag while maintaining exceptional smoothness.

#pandas#numpy
View Script & Code →
Algorithmic Trading & Indicators Advanced

Gaussian & Clayton Copula Joint Tail Dependence Risk Modeling in Python

Model non-linear joint tail risk and asset dependency structures using Gaussian and Clayton Copulas in Python SciPy.

#numpy#scipy#pandas
View Script & Code →
Financial Calculations & Valuation Advanced

Automated Credit Monitoring Arrangement (CMA) Data 5-Year Projection Builder in Python

Generate institutional bank loan CMA Data operating statements, balance sheets, and fund flow statements in Python Pandas.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Advanced

Project Finance Debt Service Reserve Account (DSRA) & Escrow Waterfall Model in Python

Model project finance cash flow waterfalls, escrow priority accounts, and Debt Service Reserve Account (DSRA) funding requirements in Python.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Advanced

Retail Credit Risk Scorecard & Probability of Default (PD) Logistic Regression in Python

Build a retail credit risk scorecard using scikit-learn Logistic Regression in Python, computing Weight of Evidence (WoE) and Information Value (IV).

#pandas#numpy#scikit-learn
View Script & Code →
Financial Calculations & Valuation Beginner

Corporate Fixed Asset Schedule & Depreciation Calculator (SLM & WDV Tax Acts) in Python

Generate year-by-year Fixed Asset Registers, Straight-Line (SLM), and Written Down Value (WDV) tax depreciation schedules in Python Pandas.

#pandas#numpy
View Script & Code →
Financial Calculations & Valuation Beginner

Calculate Gordon Growth Dividend Discount Model (DDM) Intrinsic Value in Python

Compute stock intrinsic value using the single-stage and multi-stage Gordon Growth Dividend Discount Model (DDM) in Python.

#numpy
View Script & Code →
Financial Calculations & Valuation Advanced

Fixed-Income Bond Portfolio Immunization & Duration Matching in Python

Construct an interest-rate-immunized bond portfolio by matching asset duration to liability horizon using linear algebra in Python NumPy.

#numpy#pandas
View Script & Code →
Financial Calculations & Valuation Intermediate

Calculate Economic Value Added (EVA) & Market Value Added (MVA) in Python

Compute corporate economic profit after cost of capital by calculating Economic Value Added (EVA) and Market Value Added (MVA) in Python.

#numpy
View Script & Code →
Data Automation & Cleaning Intermediate

Extract Line Items, GSTIN & Invoice Totals from PDF Invoices using Regex in Python

Parse unstructured vendor PDF invoices into structured Pandas DataFrames using pdfplumber and regular expressions in Python.

#pdfplumber#pandas
View Script & Code →
Data Automation & Cleaning Beginner

Query SQLite Database & Export Clean Reporting CSVs for Power BI / Tableau in Python

Execute complex SQL queries on SQLite databases and export clean reporting datasets for Power BI and Tableau dashboards in Python Pandas.

#pandas#sqlite3
View Script & Code →
Data Automation & Cleaning Advanced

Process 100+ CSV Files in Parallel Using Python Multiprocessing Pool

Supercharge data processing speeds 4x by mapping folder CSV cleaning tasks across multi-core CPU threads in Python using multiprocessing.

#pandas#numpy
View Script & Code →
Market Data & Web Scraping Beginner

Scrape Yahoo Finance Option Chains & Strike Prices in Python (yfinance)

Extract full Call and Put option chains, strikes, open interest, and implied volatility directly from Yahoo Finance in Python using yfinance.

#yfinance#pandas
View Script & Code →
Market Data & Web Scraping Intermediate

Stream Real-Time Crypto Order Book Depth & Bid/Ask Spreads via WebSocket in Python

Connect to Binance public WebSocket order book depth streams in Python using asyncio to track live bid-ask imbalance and spread slippage.

#websockets#asyncio
View Script & Code →
Market Data & Web Scraping Beginner

Fetch Global Stock Balance Sheets, Income Statements & Cash Flows via Alpha Vantage API in Python

Pull quarterly and annual financial statements for US and international equities in Python using requests and Alpha Vantage REST API.

#requests#pandas
View Script & Code →
Market Data & Web Scraping Beginner

Scrape Real-Time Financial & Economic News Headlines using BeautifulSoup in Python

Extract breaking macroeconomic news headlines and publication timestamps from financial portals using BeautifulSoup in Python.

#requests#beautifulsoup4#pandas
View Script & Code →
Data Automation & Cleaning Intermediate

Generate Master Sitemap Index & Robots.txt for 10,000+ pSEO Pages in Python

Automate master XML sitemap index generation in Python for large-scale programmatic SEO static site directories exceeding 10,000 pages.

#pandas
View Script & Code →