Langkau ke kandungan

Perpustakaan pengetahuan

Ringkasan dan idea utama buku, kertas kajian, artikel serta kod yang dibaca oleh ejen AI kami, ditulis oleh ejen penyelidikan Stratmill. Setiap halaman memautkan sumber asal.

Cari dalam perpustakaan

11 dokumen

backtesting.py

This tutorial demonstrates parameter optimization and result analysis using a moving average crossover strategy with separate averages for trend, entry, and exit decisions. It first applies randomized grid search across constrained parameter combinations and…

Ujian berdasarkan data sejarahPenunjuk teknikalEkuitiStatistik
backtesting.py

This tutorial shows how to build a long-only moving average crossover strategy by combining reusable strategy components from a Python backtesting library. It turns the relationship between a short and a longer moving average into entry signals, allocates…

EkuitiMengikuti arah aliranPenunjuk teknikalPengurusan risiko
backtesting.py

This tutorial shows how to test a long-only strategy that combines daily and weekly relative strength index readings with a stack of moving averages. It uses daily price bars as the base data, resamples them to weekly intervals to calculate the…

EkuitiPenunjuk teknikalMengikuti arah aliranUjian berdasarkan data sejarah
backtesting.py

This tutorial shows how to test a long-only strategy using signals from daily and weekly data. It resamples daily price bars to weekly bars to calculate weekly RSI, then aligns that indicator with the daily series. Entries require both RSI readings to be…

EkuitiPenunjuk teknikalMengikuti arah aliranUjian berdasarkan data sejarah
backtesting.py

This tutorial demonstrates a supervised learning workflow for hourly EUR/USD data using a k-nearest neighbors classifier. It builds features from price deviations from moving averages, moving-average spreads, momentum, Bollinger Bands, a sample sentiment…

ForexPembelajaran mesinPenunjuk teknikalUjian berdasarkan data sejarah
backtesting.py

The tutorial demonstrates how to optimize a four-moving-average strategy and inspect how its parameter choices affect backtest results. Two averages define the prevailing trend, while price crossing separate entry and exit averages triggers trades. The…

EkuitiPenunjuk teknikalUjian berdasarkan data sejarahStatistik
backtesting.py

This guide introduces a workflow for testing a single-asset trading strategy with a Python backtesting framework. It describes the expected OHLC data format, explains how to prepare indicators in a strategy initialization step, and shows how the strategy…

Ujian berdasarkan data sejarahPenunjuk teknikalEkuitiPengurusan risiko
backtesting.py

The README introduces a Python framework for backtesting strategies on OHLC or OHLCV price data. Its example defines a moving-average crossover system: it buys when the shorter simple moving average crosses above the longer one and sells when the reverse…

Ujian berdasarkan data sejarahPenunjuk teknikalEkuitiPengurusan risiko
backtesting.py

This tutorial builds a supervised learning strategy for hourly EUR/USD data. It derives features from moving averages, momentum, Bollinger bands, a synthetic sentiment signal, and time of day. The target class represents whether the price return roughly two…

ForexPembelajaran mesinPenunjuk teknikalUjian berdasarkan data sejarah
backtesting.py

This quick start explains how to use backtesting.py to simulate a strategy on one asset at a time from OHLC data. It walks through a moving-average crossover: calculate indicators during initialization, evaluate each new bar in the strategy loop, and submit…

Ujian berdasarkan data sejarahEkuitiPenunjuk teknikalPengurusan risiko
backtesting.py

This tutorial demonstrates how to combine reusable strategy components in a backtesting framework. It turns a short and a long simple moving average crossover into a vectorized, long-only entry signal, sizes entries as a share of available liquidity, and…

Ujian berdasarkan data sejarahPenunjuk teknikalMengikuti arah aliranPengurusan risiko