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

54 dokumen

backtrader

The document presents a Backtrader indicator that compares a bar’s volume with the stored volume for the same time of day from the prior session. It tracks bar timestamps and session dates, restricts calculations to a configurable time window, and emits a…

Penunjuk teknikalStatistikMikrostruktur pasaran
backtrader

This example demonstrates how to simulate orders that execute at the close of daily bars in Backtrader. A sample strategy randomly chooses whether to open a long position or close an existing one, then reports when submitted orders complete. The random…

Ujian berdasarkan data sejarahPelaksanaan dagangan
backtrader

This Backtrader example demonstrates how to combine daily market data with a monthly resampled series. It calculates pivot points from the monthly feed and compares the daily close with the first support level to produce a sell signal. A switch selects…

Niaga hadapanPenunjuk teknikalUjian berdasarkan data sejarah
backtrader

This example demonstrates how a Backtrader strategy can schedule callbacks around market-session events. Timer settings include the event time, an offset, repeated intervals, selected weekdays or month days, and rules for carrying a scheduled event across…

Ujian berdasarkan data sejarahPelaksanaan daganganEkuiti
backtrader

This Backtrader example defines a long signal from a crossover between a shorter and a longer simple moving average, then attaches the Calmar analyzer to the run. It loads price data from a Yahoo Finance CSV feed, permits optional date bounds, and exposes…

EkuitiPenunjuk teknikalUjian berdasarkan data sejarahPengurusan risiko
backtrader

This sample strategy initializes two Parabolic SAR indicators on a single price series: TA-Lib's SAR, calculated from the high and low data, and Backtrader's built-in PSAR. It loads historical market data from a CSV feed with optional start and end dates,…

EkuitiPenunjuk teknikalUjian berdasarkan data sejarah