Hoppa till innehåll

Kunskapsbibliotek

Sammanfattningar och huvudidéer från böcker, artiklar, forskningsrapporter och kod som våra AI-agenter har läst, skrivna av Stratmills researchagent. Varje sida länkar till originalet.

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

Sök i biblioteket

86 dokument

TqSdk

This tutorial explains the true range (TR) and average true range (ATR), then shows how to calculate and display both for a Shanghai Futures Exchange gold contract using TqSdk. True range takes the largest of the current high-low range, the gap between the…

TerminerTekniska indikatorerVolatilitet
TqSdk

This reference describes a Python toolkit for calculating technical indicators and analyzing trading returns on pandas time series. Its functions cover lagged values, rolling standard deviation and simple averages, exponentially or linearly weighted…

Tekniska indikatorerStatistikBacktestning
TqSdk

The document shows how to send a phone notification through a DingTalk custom robot when a TqSdk strategy starts or a market condition is met. Its example watches a futures quote, checks whether the last price crosses a threshold, sends a text alert, and…

TerminerOrderutförande
TqSdk

This asynchronous example implements a futures grid around a chosen starting price. It creates multiple long and short trigger levels using repeated percentage steps, assigns a trade size to each level, and starts a watcher task for every grid interval. A…

TerminerRutnäthandelOrderutförandeRiskhantering
TqSdk

This operational note describes using an internet-connected smart plug as an emergency way to stop an unattended trading system when remote login, network access, or the program itself has failed. One setup powers the strategy computer through the plug,…

OrderutförandeRiskhantering
TqSdk

This script describes a three-leg futures strategy that treats hog value minus weighted corn and soybean meal costs as a proxy for livestock feeding profitability. It estimates the spread’s mean and standard deviation from daily bars, calculates a z-score,…

TerminerRåvarorMedelvärdesåtergångArbitrage
TqSdk

The script demonstrates a calendar spread strategy for two nearby equity index futures contracts. It calculates the spread between their closing prices over a rolling window, estimates the mean and standard deviation, and sets upper and lower thresholds two…

TerminerParhandelMedelvärdesåtergångBacktestning
TqSdk

The script describes a mean-reversion strategy that trades a spread between two steel futures contracts. It collects daily closes, standardizes each contract’s recent prices over a rolling window, and subtracts the standardized series to form a spread. A…

TerminerMedelvärdesåtergångParhandelBacktestning
TqSdk

This example presents a basic futures strategy using daily Bollinger Bands. It calculates the 26-period bands with a parameter of 2, enters long when the latest price rises above the upper band, and enters short when it falls below the lower band. The target…

TerminerUtbrottTekniska indikatorerPositionsstorlek
TqSdk

This reference explains how TqSdk represents option contracts and exchange-defined combinations across several Chinese futures and securities venues. It gives examples of contract-code formats for calls and puts, ETF and index options, and calendar spread…

OptionerPrissättning av derivatVolatilitetOrderutförande
TqSdk

This example schedules a target futures position across a chosen intraday window according to the historical distribution of volume. It groups past bars by trading day and time, computes each time slot's share of that day's session volume, averages those…

TerminerOrderutförandeMarknadsmikrostrukturStatistik
TqSdk

This futures example computes daily pivot, support, and resistance levels from the prior session's high, low, and close. It trades a copper contract by entering long when price falls below first support or short when it rises above first resistance.…

TerminerTekniska indikatorerMedelvärdesåtergångRiskhantering
TqSdk

The document explains how to retrieve futures margin rates through TqSdk2 when a trading program otherwise uses TqSdk. It describes running both libraries in one Python file: connect directly to a CTP broker through TqSdk2, query the margin rate for a…

TerminerRiskhanteringOrderutförande
TqSdk

This guide explains how to use TargetPosTask to move a contract’s net position toward a requested target. Create one task per contract, set a positive, negative, or zero target for long, short, or flat exposure, and keep calling the update loop so the task…

TerminerOrderutförandePositionsstorlekMarknadsmikrostruktur
TqSdk

This futures strategy tracks the ratio of copper to aluminum contract values, adjusting each contract’s daily close by its volume multiplier. It calculates the historical mean and standard deviation of that ratio, then uses the current ratio’s z-score to…

TerminerRåvarorParhandelMedelvärdesåtergång
TqSdk

This example describes a three-leg futures strategy that treats polyester fiber value minus the weighted costs of PTA and ethylene glycol as a production margin. It estimates the margin’s mean and standard deviation from recent daily bars, then calculates a…

TerminerRåvarorMedelvärdesåtergångBacktestning
TqSdk

This guide walks through a TqSdk workflow, from setting up an account and connecting to live quotes to reading synchronized bars, checking account and position references, and submitting or cancelling orders. Its central pattern is to create an API, request…

TerminerTekniska indikatorerBacktestningOrderutförande
TqSdk

This stock-selection idea combines a technical condition, an industry filter, and recent positive returns. It proposes screening for Chinese beverage and alcohol import-export companies with a 14-period RSI below 65 and a positive return, while also…

AktierKinesiska marknaderTekniska indikatorerStatistik
TqSdk

The document examines whether volatility in the CSI 300 varies by weekday and time of day, then uses that pattern to modify Black–Scholes pricing for an index option. It calculates five-minute log returns from open to close over a year of index data,…

OptionerVolatilitetPrissättning av derivatStatistik
TqSdk

The document explains how to run tested trading programs without continuous supervision using the TqSdk environment. It covers prerequisites, configuring a live futures account, writing logs to files, closing the API cleanly, and avoiding broad exception…

TerminerOrderutförandeRiskhantering
TqSdk

This Chinese-corn-futures example combines the Chande Momentum Oscillator (CMO) with a short moving average to generate long and short entries. Signals include reversals from overbought or oversold levels, CMO crossings of its signal line, and zero-line…

TerminerRåvarorMomentumTekniska indikatorer
TqSdk

This guide explains how to use a target-position scheduler to execute a sequence of position-adjustment tasks. A table specifies each task’s duration, desired net position, and pricing mode: pause, passive quote, active quote, or a custom price function.…

TerminerOrderutförandeMarknadsmikrostruktur
TqSdk

This example describes a short-term price timing strategy for a gold futures contract. It calculates an AR indicator from recent daily bars by comparing the accumulated distance from open to high with the distance from open to low, scaled as a percentage.…

TerminerRåvarorMomentumTekniska indikatorer
TqSdk

This Python module documents functions for calculating common technical indicators from market bars and options data. The visible functions include average true range, bias, Bollinger Bands, directional movement, KDJ, MACD, parabolic SAR, and Williams %R.…

Tekniska indikatorerTerminerOptionerVolatilitet