The document describes a stock grid approach built around a reference price. It places an initial position at the current price, then schedules additional purchases at fixed percentage declines, dividing capital across up to six levels with larger…
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
549 documents
This script places a configurable sequence of pending orders above the current price. Inputs control the initial gap, spacing between orders, order type, number of orders, trade volume, stop loss, and take profit. The example uses buy-stop orders on AUDCAD,…
This EUR/USD expert advisor averages losing positions in one chosen direction, buying or selling at the user's setting. When price moves against the open position by a specified step, it adds an order of fixed volume. After accumulated positions reach a…
This tutorial develops a market-making approach that estimates a futures contract’s fair price from spot-market returns. Its basic arbitrage pricing theory relationship assumes futures and spot returns move one-for-one with no intercept; the strategy uses…
Hoop Master 2 is described as an evolution of an earlier automated trading system that uses pending buy-stop and sell-stop orders with a Martingale approach. The update adds more formal controls over open positions and pending orders. Its central change is…
The document presents a JavaScript implementation outline for a long-and-short grid strategy on perpetual futures. It covers exchange position reconciliation, price and order-amount precision, persistence of open-order and profit-history state, and…
The document explains how an automated trading strategy can be divided between a trading mode and evaluators. The trading mode handles order creation, sizing, maintenance, and cancellation. Evaluators provide signals that activate the mode when conditions…
This guide describes a flexible grid trading mode for spot markets. Instead of starting from a chosen number of open orders, the trader specifies upper and lower price bounds along with grid spacing and increments. The system then determines the required buy…
The document lists configurable parameters for a trading Expert Advisor, including lot size, stop loss, take profit, fast and slow moving averages, trade limits, and equity risk controls. It describes options for running the EA as either a single-trade…
The note warns that exceptionally high win rates and smooth profit curves can conceal risks, especially in strategies that add to losing positions. It argues that evaluating a strategy requires tracking total account value against a relevant baseline. For a…
The document explains the role of a trading mode in an OctoBot strategy: it creates, maintains, and cancels exchange orders, while evaluators can send signals that prompt the mode to act. This separates signal generation from order handling. Some modes,…
This example sets up a simulated GBP/USD market-making strategy using one-minute bid and ask bars. It configures a margin account, starting balance, maker and taker fees, and a probabilistic fill model with specified fill and slippage probabilities. The…
This short description explains a chart-operated order-placement script. The trader drops it at a price level, and the script compares that level with the current market price to choose an order direction. A level below market leads to a sell order and a…
This product description explains an MT4 expert advisor for managing manually opened forex trades on the current currency pair. After an initial order is placed, the advisor can add positions when price moves a configured distance, up to a chosen maximum.…
This article describes a monitoring upgrade for a cryptocurrency futures Martingale strategy used with Binance Futures and dYdX bots. The first version showed limited position information and plotted realized profit and loss without accounting for floating…
The document outlines an automated recovery system that begins with a buy order. If price rises, the order is closed; if price falls by a configured distance, the system opens a sell. If the overall profit target has not been reached and price reverses…
This foreign-exchange expert advisor begins by looking for price breakouts, then adds orders progressively while seeking an overall profit target. It also takes small gains when positions become profitable and attempts to increase gains when the market…
This tutorial extends a basic grid strategy to several cryptocurrency spot pairs and focuses on the engineering decisions needed to run it. It covers retrieving aggregated quotes and account balances, tracking assets and performance by pair, and assigning…
This guide shows how to assemble and run a Rust live-trading node connected to OKX. It covers registering venue data and execution adapters, configuring a trader and account, adding a grid market-making strategy, and supplying credentials through environment…
The document briefly describes a grid trading robot that places pending orders at equal price intervals. When the market moves against an opened lot, it places an order in the opposite direction with a larger lot size. The robot begins with a minimum lot…
The roadmap outlines planned upgrades to Hummingbot’s strategy framework, bot management tools, and core architecture. Its strategy plans include configurable scripts, reusable components for cross-exchange market making, dollar-cost averaging, statistical…
This guide surveys ten cryptocurrency trading bot platforms, describing their strategy types, free-plan restrictions, and usability. It introduces bots as software that connects to exchanges and executes predefined rules, then compares offerings that include…
This Rust example configures a live trading bot for the BTCUSDT futures instrument on Bybit and invokes a separate grid-trading routine. It registers instrument precision and market-depth settings, installs an error handler for connection, order, and custom…
The document briefly describes a grid trading bot and says its stop loss is set at ten times the take profit. It mentions that the strategy uses four inputs, but does not identify them or explain the entry criteria, grid spacing, position sizing, or exit…