This strategy combines Bollinger bands with an average true range stop on fifteen-minute bars. When flat, it places stop-entry orders at the upper and lower bands, aiming to enter on a move beyond the recent range. The band window, band deviation, ATR…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
17 documents
This example demonstrates a workflow for analyzing Bitcoin market data across multiple time intervals. It loads minute bars for a specified historical period, configures a transaction-rate assumption, and selects several technical indicators, including ATR,…
This strategy enters long or short positions when price reaches the rolling high or low over an entry window. It adds up to four fixed-size units at progressively spaced price levels, with spacing tied to the average true range (ATR). When a position is…
This document describes data structures for tracking option contracts, underlying instruments, and option chains in a portfolio. It updates positions from trades and holdings, derives mid prices from top of book quotes, and connects options with pricing…
The document describes an options volatility trading module built around live pricing, portfolio risk tracking, and execution. It outlines three pricing models for different exercise styles and underlyings, with routines to calculate theoretical prices and…
The document describes two portfolio analytics displays. The volatility chart plots call and put mid-implied volatilities against strike, alongside a pricing implied-volatility curve, and allows individual option chains to be shown or hidden. Curve data is…
This strategy combines Bollinger-style price bands with the Commodity Channel Index (CCI) to generate directional entries on 15-minute bars. It calculates a simple moving average and standard deviation over a configurable lookback, then places a stop entry…
This strategy uses 15-minute bars to trade breakouts beyond Bollinger Bands. When flat, it places stop entries at the upper and lower bands, so a move through either boundary can open a long or short position. Band settings determine the entry channel, while…
This guide describes configuring and running an automated cryptocurrency grid trader for spot or futures markets. Its settings include the trading pair, percentage spacing between grid levels, per-order quantity, price and quantity precision constraints, and…
This document contains daily open, high, low, close, and volume observations for Bitcoin priced in USDT during 2020. The rows are timestamped at 08:00 and show the market's changing price and trading volume through the year. The visible records include sharp…
This analysis workflow loads historical bars into a time-indexed table and plots closing prices to inspect gaps. It applies a Ljung–Box test for randomness, an Augmented Dickey–Fuller test for stationarity, and autocorrelation plots to examine serial…
The document surveys the components of a Python trading framework, from connections to market venues through strategy development and automated execution. It outlines event-driven infrastructure, data handling, graphical tools, and applications for…
This bar-based strategy combines an average true range (ATR) filter with RSI entry signals. It calculates ATR over a configurable lookback and compares the latest reading with the mean of recent ATR values. Trades are considered only when current ATR exceeds…
This analysis workflow loads historical bars into a tabular dataset and plots closing prices to inspect gaps. It applies a Ljung–Box test for serial dependence, an augmented Dickey–Fuller test for stationarity, and autocorrelation and partial autocorrelation…
This option algorithm combines reference-price calculation with a two-sided quoting and opportunistic execution rule. It sets a minimum price spread and a volatility-based spread proportional to the option’s cash vega, then uses the larger value to place bid…
The document describes a two-sided futures grid strategy that places orders on both sides of the market and includes take-profit and stop-loss controls. It presents the approach as most suitable for range-bound conditions or periods of relatively low, stable…
This strategy uses hourly bars to trade breakouts from Donchian channels. When flat, it places stop orders at the upper and lower boundaries of a longer channel, using average true range (ATR) to set trade size. Its risk allocation is divided by twice the…