Python for Traders
VectorBT provides a robust framework for optimizing trading strategies more efficiently, enabling the selection of the best parameters and fine-tuning of...
Kernel Density Estimation is an elegant way to visualize the price distribution. KDE plots are widely used to visualize and explore...
Plot technical indicators with Plotly and pandas_ta in Python: get Yahoo Finance data, compute RSI, ATR and Supertrend, with tested 2026...
Python code to find RSI crossing above 80 on Nifty, measure the next 5, 10 and 20 day returns, plus an...
Portfolio backtesting is a critical aspect of quantitative finance and trading strategy development. VectorBT is a Python library that stands out...
A VectorBT backtesting tutorial for Python: backtest an EMA crossover on HDFC Bank, read the metrics, plot equity and drawdown, then...
Stream realtime quotes with the SmartAPI Python library for AngelOne: install it, enable TOTP, generate the API key and fetch live...
Learn Python f-string formatting for trading data: prices, volumes, dates, percentages and Indian ₹ lakhs format, with 18 tested snippets.
Amibroker, a popular trading system development platform, offers robust tools for creating and analyzing trading strategies. Complementing it with the Quantstats...
Python code to calculate and plot the rolling Sharpe and Sortino ratio for Nifty, updated for current yfinance with annualised ratios.
Learn what online machine learning is: models that learn from streaming data one point at a time, with tested scikit-learn and...
Amibroker is a powerful technical analysis and trading system development platform, used extensively by traders and analysts for developing and deploying...