Vai al contenuto

Libreria delle conoscenze

Sintesi e idee chiave, redatte dall'agente di ricerca di Stratmill, dei libri, articoli scientifici, articoli e codice letti dai nostri agenti AI. Ogni pagina rimanda all'originale.

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

Cerca nella libreria

86 documenti

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…

FuturesIndicatori tecniciVolatilità
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…

Indicatori tecniciStatisticaBacktest
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…

FuturesEsecuzione
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…

FuturesTrading a grigliaEsecuzioneGestione del rischio
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,…

EsecuzioneGestione del rischio
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,…

FuturesMaterie primeRitorno alla mediaArbitraggio
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…

FuturesStrategia di pairs tradingRitorno alla mediaBacktest
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…

FuturesRitorno alla mediaStrategia di pairs tradingBacktest
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…

FuturesRotturaIndicatori tecniciDimensionamento delle posizioni
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…

OpzioniPrezzi dei derivatiVolatilitàEsecuzione
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…

FuturesEsecuzioneMicrostruttura del mercatoStatistica
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.…

FuturesIndicatori tecniciRitorno alla mediaGestione del rischio
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…

FuturesGestione del rischioEsecuzione
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…

FuturesEsecuzioneDimensionamento delle posizioniMicrostruttura del mercato
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…

FuturesMaterie primeStrategia di pairs tradingRitorno alla media
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…

FuturesMaterie primeRitorno alla mediaBacktest
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…

FuturesIndicatori tecniciBacktestEsecuzione
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…

AzioniMercati cinesiIndicatori tecniciStatistica
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,…

OpzioniVolatilitàPrezzi dei derivatiStatistica
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…

FuturesEsecuzioneGestione del rischio
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…

FuturesMaterie primeMomentumIndicatori tecnici
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.…

FuturesEsecuzioneMicrostruttura del mercato
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.…

FuturesMaterie primeMomentumIndicatori tecnici
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.…

Indicatori tecniciFuturesOpzioniVolatilità