This reference organizes common TqSdk problems by symptom and suggests likely causes and corrective checks. It covers empty or stale market data, queued order requests that have not been sent through an update cycle, target-position tasks that fail to act,…
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
29,558 documents
This document describes a chart indicator for tracking groups of long and short symbols together. Users can configure up to 50 symbols in each basket, switch the chart to a listed symbol, move the display, and select the week for its historical statistics.…
This short Q&A shows a fixed-threshold exit rule for stocks and asks how to make the exit dynamic. For each held position, the example retrieves the cost price and latest market price, calculates the percentage change from cost, and closes the position when…
This Expert Advisor looks for a run of identical-direction candlesticks and trades in the direction of those candles: bullish runs prompt buys and bearish runs prompt sells. The number of consecutive candles required is configurable. The fifth version adds a…
This study asks whether corporate bonds become more vulnerable to price swings when held mainly by open-end funds with illiquid portfolios. It builds a bond-level fragility measure in two stages: first estimating each fund’s portfolio illiquidity from its…
This stock selection approach combines three signals: more than two limit-up sessions within ten days, a closing price above the previous day's low, and a reported daily position increase above 5%. The post interprets these as signs of buying interest and…
This Chinese stock screen combines a positive MACD reading with a volume ratio between 1.5 and 6 and positive net profit. The rationale is to find shares with upward price momentum, stronger than usual trading activity, and a basic profitability signal. The…
This document introduces factor research as a quantitative way to study characteristics that may help explain asset returns and risk. It names market capitalization, quality, momentum, low volatility, and yield as examples, and describes using statistical or…
This stock screen combines four filters: price amplitude above a stated threshold, market capitalization below a stated ceiling, positive net profit, and exclusion of the STAR Market. The accompanying discussion presents the amplitude filter as a way to find…
This report explains how the MSCI China A50 Connect Index selects and weights large-cap Chinese equities. It chooses stocks across GICS industries, first taking leading free-float market-cap names by industry and then filling to 50 constituents; weights are…
I Seek Trends adapts the ATR-based SuperTrend by inserting neutral phases between confirmed bullish and bearish states. Its five states distinguish established trends, transitions out of either trend, and full neutrality after a failed breakout. When price…
Return on equity (ROE) measures net income relative to shareholders’ equity, expressing how much profit a company generates from its equity base. The document gives the formula and a simple numerical illustration, then describes how investors may interpret…
This Freqtrade strategy combines a 14-period Relative Strength Index with 20-period Bollinger Bands calculated from typical price using two standard deviations. It enters a long position when RSI is below 30 and the close is below the lower band, treating…
The post raises a futures backtesting issue: unusually large drawdowns may coincide with price gaps when the lead contract changes. The author wants to identify roll dates and avoid trading on those dates, but the post does not provide a method for detecting…
This short-term stock screen selects shares with RSI below 65, a daily gain above 1%, and eligibility outside the STAR Market segment. It adds a 15-minute MACD histogram condition: the histogram is negative and becoming less negative, which the document…
This short support exchange explains how a VeighNa option strategy accesses its position state. A user asks whether the framework restores the previous day’s strategy positions in the same way as a combination strategy that reads saved JSON data. The…
This stock selection approach combines three technical filters: daily price amplitude above one percent, a reversal or engulfing-style candle condition, and a weekly MACD histogram at or above zero. The post presents the combination as a way to seek active…
This post describes a live-order funding problem in an equities strategy. A buy signal was calculated using the previous close for 18,100 shares, while the stock opened higher and the trader submitted the order near the open using the fifth ask level. With…
This introductory guide lays out five areas for developing quantitative trading capability: mathematics and statistics, programming, financial knowledge, strategy research, and practical testing. It highlights time-series and cross-sectional econometrics,…
The article surveys passive-income approaches for crypto holders, focusing on staking proof-of-stake assets and lending stablecoins. Staking can generate rewards while leaving the holder exposed to changes in the token’s market price; lending stablecoins can…
The document describes an indicator that groups broker tick quotes by server hour over a configurable history window. It reports median and 90th-percentile spreads, with optional mean and maximum statistics, and can compare the spread with a user-entered…
This post proposes screening Chinese stocks by metaverse industry membership, a custom “arc” pattern, and dates within 2021. It describes using industry data and a date filter, then adding technical and fundamental measures for a broader assessment. The…
This Freqtrade strategy example uses a five-minute trading timeframe and RSI readings from several higher timeframes and related markets. It calculates RSI for the traded pair on the base, 30-minute, and hourly periods, as well as for BTC against the stake…
Gold Dust proposes a robustness check for optimized trading systems that addresses the instability of financial-market statistics. Instead of optimizing one parameter set on one historical interval and forward-testing it, the method optimizes separate…