1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Backtest Server — Example Configuration
#
# Copy this file to config.toml and adjust paths for your environment.
[]
# Logical service endpoint. SHM is the default local deployment; Unix sockets and
# loopback TCP are also supported, for example unix:///tmp/backtest.sock or
# tcp://127.0.0.1:41001. TCP has no built-in authentication or TLS.
= "shm://backtest"
# Per-client SHM buffer size in bytes (default: 16 MB).
# Increase if FutureQuoteV1 results or artifacts exceed the buffer.
# run_backtest, submit_backtest, and run_backtest_multi use the same
# server/SHM settings; version-suffixed execution methods are not registered.
= 16777216
[]
# Root directory for Parquet-partitioned market data.
# Must be populated via `data-preprocess input` before use.
= "market_data"
[]
# Path to the qs-symbols registry TOML.
= "crates/symbols/symbols.toml"
[]
# Path to the qs-backtest management profiles TOML.
# Profiles should include explicit target_selection. Existing serialized profiles with
# only use_targets remain readable. Dynamic RPC additions are not persisted.
= "crates/backtest/profiles.toml"
[]
# Retain completed, failed, and cancelled jobs for one hour.
= 3600
# Periodically remove expired terminal jobs.
= 60
# Hard bound across queued, running, and retained terminal jobs/results.
= 1000
[]
# Filesystem directory for complete result JSON artifacts.
= "backtest-artifacts"
# Results up to 12 MiB can be returned inline while preserving the 16 MiB transport.
= 12582912
# Raw bytes returned per base64-encoded chunk RPC.
= 1048576
# Retain artifacts for one hour unless they are deleted after download.
= 3600
# Bound total retained artifact storage to 1 GiB.
= 1073741824
[]
# Log level: "trace", "debug", "info", "warn", "error"
= "info"