This short OctoBot configuration guide explains three ways to specify an order price relative to a crypto market. A constant sets an exact price. A signed price delta moves the current price up or down by a fixed amount, while a signed percentage changes it…
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
9,660 documents
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.…
The document explains an automated approach to trading around scheduled economic news. At the opening of a candle, the expert advisor places both a buy stop and a sell stop at a configurable distance from the current opening price. When one order triggers,…
This notebook demonstrates a basic command-line workflow for operating a trading engine through a CTP gateway. It loads connection settings, initializes the engine, and connects to the server. The example then queries available contracts, account balances,…
The note answers how to prevent a backtest from buying stocks that cannot realistically be traded because they are suspended or locked at a one-price limit. It says BigQuant's backtesting module handles these cases by automatically canceling an order when…
Hummingbot 1.21.0 release notes describe changes to the trading engine, Dashboard, and Gateway. A key operational change is that startup pair discovery now queries exchanges where the user has configured API keys, plus paper trading venues. A setting can…
QlibRL organizes a reinforcement learning workflow for trading around an environment wrapper that connects a policy to a market simulator. The wrapper accepts actions, advances the simulated market, and returns updated states and rewards. Its components…
This document describes an MT4 expert advisor that duplicates trades within the same account using a preset lot multiplier. It says the tool can be attached to any chart, handles simultaneous orders up to a stated limit, and may be synchronized on a virtual…
This primer explains how electronic trading and venue fragmentation changed stock order execution. It distinguishes high-frequency trading as a way to implement strategies, such as market making or arbitrage, rather than a strategy in itself. It describes…
This forum post reports a data collection problem when repeatedly switching the selected currency on an exchange and requesting five-minute candle records. The example cycles through ETH, LTC, and BTC, logs the active currency and returned records, then…
The document explains trailing stops that follow mark price after immediate placement or after an activation price is reached. A short-side trailing stop tracks the highest mark price and triggers when price falls by a chosen fixed distance or percentage; it…
This expert advisor opens trades when price crosses a manually drawn trend line. The line’s name determines direction: a line marked for buying triggers a buy, while one marked for selling triggers a sell. The system permits one trade in each direction;…
This brief page describes an alert feature for a Super Trend indicator. Signals can be triggered when the indicator line changes color, and the page lists sound, on-screen alert, email, and push notification as delivery options. It is a description of…
This paper explains why liquidity in digital asset markets is concentrated in a small number of assets and venues, then presents Hummingbot as open-source software intended to make automated market making more accessible. It describes quoting bids and asks,…
The document describes a rules-based gold strategy that buys after the CME’s daily maintenance break, holds for a fixed period, and uses a volatility-scaled stop. It reports an eleven-year hourly-data study: the first hour after the daily reopen showed a…
The document explains how to run strategy backtests in OctoBot: choose a profile, download historical market data, select a data file, run the simulation, and review performance summaries, charts, and individual trades. It describes how the starting…
This reference explains Binance user data streams delivered through an authenticated WebSocket subscription, with events available in JSON or SBE format. It describes account position updates, balance changes from transfers or deposits and withdrawals, and…
This overview explains how AI quantitative investment platforms combine machine learning, deep learning, and natural language processing with financial data analysis. It describes a general workflow in which platforms collect and process market and financial…
The document describes an MQL4 script for managing open positions across a configured basket of currency pairs. The script checks positions against the defined pairs and order types, then closes qualifying positions when their profit exceeds a specified…
This Expert Advisor uses signals from the ColorJJRSX oscillator. A signal forms when a bar closes and the indicator's direction and color have changed. The EA therefore relies on a completed bar for its entry signal rather than reacting to an intrabar color…
The document shows a Pine Script strategy that enters long when a short-period RSI crosses below a threshold, then closes when price rises above an exponential moving average or falls to a fixed percentage below the recorded entry price. The author’s…
The document describes a trading-platform button that closes all open positions across instruments in one action. It focuses on the control logic used when an order cannot be closed: the revised approach checks the platform’s last error and stops processing…
This forum post describes a long-short stock routine that first attempts to close existing positions, then buys the three highest-ranked stocks and sells short the three lowest-ranked. It checks whether each security can be traded before sending an order,…
This A-share screening idea combines three conditions: daily amplitude above 1%, a ranking by individual-stock heat, and a 9:25 a.m. gain below 6%. The accompanying explanation treats amplitude as a sign of activity and stock heat as a proxy for market…