Skip to content

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.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

560 documents

vn.py community

This short post raises a question about how a BarGenerator routine determines when to finish a multi-minute bar. It points to a condition that checks whether the current minute, incremented by one, is divisible by the configured window size. The author uses…

FuturesMarket microstructure
vn.py community

This Chinese-language forum discussion considers how to demonstrate that a VeighNa trading system can pause trading when account trading permissions are restricted. Participants note that the trader application does not provide subaccount permissions, and…

Risk managementExecution
vn.py community

This event outline introduces advanced FinRL development topics, including the FinRL-Tutorials project, reinforcement-learning portfolio allocation, stock trading in China’s A-share market, and ensemble strategies. It distinguishes portfolio allocation from…

Machine learningEquitiesPortfolio constructionBacktesting
vn.py community

This forum exchange concerns the data requirements for calculating a 200-period moving average on 15- or 30-minute bars when a strategy begins with one-minute data. The original poster is concerned that loading many one-minute records and aggregating them at…

Technical indicatorsExecutionStatistics
vn.py community

This Chinese-language announcement outlines a community session devoted to building FinRL agents and comparing reinforcement-learning algorithms for quantitative investment. Its educational agenda covers how the DRLAgent class wraps different algorithms…

Machine learningPortfolio constructionBacktesting
vn.py community

This Chinese-language forum thread raises an implementation issue in quantitative trading software: a contract can be dynamically subscribed to through the engine and strategy code, yet its market data may not arrive at the strategy. The original poster says…

ExecutionMarket microstructure
vn.py community

A short VeighNa community discussion asks whether performance statistics are calculated from total account capital or from the capital associated with the traded instrument. The poster observes that when starting capital is large relative to fixed order…

BacktestingRisk managementPosition sizingPortfolio construction
vn.py community

The discussion explains a timing issue in CTA strategies using the CTP interface: order status updates may arrive before trade updates, and the position is updated with the trade notification. A strategy that reacts to a fully filled order inside its order…

ExecutionMarket microstructureRisk management
vn.py community

A VeighNa community question asks whether contracts can be screened by indicator values and displayed as a list. The reply proposes using the portfolio strategy module to create a strategy instance, subscribe it to a defined range of contracts, and apply the…

FuturesTechnical indicatorsExecution
vn.py community

This forum exchange explains why a VeighNa user may receive two order callbacks that both appear as “submitting” and share an order number, even though their timestamps differ. The reply attributes this to distinct status updates from the underlying CTP…

ExecutionMarket microstructure
vn.py community

The discussion explains how to inspect a strategy's logical position during a VeighNa backtest. The strategy's `self.pos` value represents its net position quantity and updates as the strategy processes opening and closing trades. It is scoped to the…

BacktestingExecution
vn.py community

This forum post explores how VeighNa's historical bar loading relates to strategy initialization, bar aggregation, and trading decisions. The author asks whether loading bars at minute, hourly, or daily intervals supplies the corresponding historical data,…

FuturesExecutionMarket microstructure
vn.py community

This short Chinese-language post asks how to retrieve position data from a CTP trading gateway. The author shows a connection sequence that loads gateway settings, initiates a connection, pauses for login and initial contract, account, and position queries,…

FuturesExecutionMarket microstructure
vn.py community

This brief Chinese forum reply addresses a user whose CTP connection is failing without producing log output. It explains that an “inactive front end” status means the CTP server is currently unavailable, and suggests trying again during trading hours. The…

FuturesExecution
vn.py community

This forum exchange addresses a connection failure encountered while following a VeighNa tutorial on retrieving option quotes through the CTP interface. The questioner has authorization for a futures broker’s test account and asks whether completing…

OptionsFuturesExecution
vn.py community

The document reports a failure during a VeighNa CTA backtest when the engine calculates performance statistics. The traceback points to annual downside-risk calculation, where the Empyrical statistics package accesses NumPy’s removed `NINF` attribute. NumPy…

BacktestingStatistics
vn.py community

This brief forum exchange answers whether data sources for VeighNa, an algorithmic trading platform, are free. One user reports authentication errors while trying credentials from an example configuration for a Tushare integration. A respondent explains that…

ExecutionBacktesting
vn.py community

The article explains why futures research often uses constructed continuous series: individual contracts expire, so a longer history requires rules for selecting and joining successive contracts. A direct splice can create an artificial price gap at a roll,…

FuturesTrend followingBacktesting
vn.py community

This post describes a macOS setup problem connecting VeighNa’s CTP interface to a futures broker. The reported symptoms are an initial 4040 error followed by repeated 4097 errors. The author says the broker’s troubleshooting materials targeted Windows, while…

FuturesExecution
vn.py community

This forum post analyzes how a trading strategy’s tick callback interacts with order cancellation and order status updates in an event-driven trading engine. A cancellation request does not immediately change an order’s status: the engine waits for an order…

ExecutionMarket microstructureFuturesRisk management
vn.py community

A trader reports that their local receipt timestamp from a CTP feed appears earlier than the timestamp on the tick, including an example with a difference of roughly a second. They initially suspect that a server-time tick should arrive after its timestamp…

FuturesExecutionMarket microstructure
vn.py community

This forum exchange explains a compatibility problem that can arise when connecting standard CTP accounts alongside accounts that use a customized asset management API. Although both interfaces resemble CTP, their API libraries may differ. Replacing DLL…

FuturesExecution
vn.py community

The article introduces fair value gaps (FVGs) through patterns of three consecutive candlesticks. It calls the pattern balanced when the third candle’s range overlaps the ranges of the first two, and unbalanced when the third candle leaves a gap relative to…

Technical indicatorsMarket microstructureBreakout