Skip to main content

Module strategy_client

Module strategy_client 

Source
Expand description

TOML run files that describe a configured strategy run, a portfolio run, or a parameter search for the backtest service.

A run file names a bound strategy document, a list of [[instances]] each naming one, or a strategy template and a space document, by path relative to the run file, together with the data scope, profiles, sizing, and series geometry. A portfolio run file may also carry [[policies]] and [[groups]] for its supervisor. Documents stay in their TOML authoring form on disk and are converted to JSON values only when the request is built, because the service transport is JSON and the service decodes documents and policies strictly.

Enums§

StrategyClientRequest
A request built from a run file, ready to submit.

Functions§

build_request
Build a request from run-file text, resolving document paths against base.
load_run_file
Read a run file and the documents it names, and build the request it describes.