API reference

The complete reference for solo76 Engine, version 6.1.0.0, ABI 12, published as indexable HTML — one page per chapter.

Also available as Markdown: the whole reference in one file, each chapter at its own address ending in .md, and the llms.txt map for language models.

Disclaimer

The solo76 Engine, this website and the services offered on it are provided "as is" and "as available", without warranty of any kind, express or implied, including warranties of merchantability, fitness for a particular purpose and non-infringement.

1. What the engine does

The solo76 Engine is a high-performance backtesting and trading engine. It processes large data volumes, handles complex portfolios, produces extensive statistics, and makes ML and AI models straightforward to integrate.

3. Risk management

Every robot in this engine trades against a constraint, and the first architectural decision you make about a strategy is where that constraint is evaluated.

4. Input

An input is the entry node of a robot: a named, duration-stamped cache of a processed time series, built over a set of contracts on one market-data adapter.

5. Pattern

A pattern is the decision node of a robot: it observes one or more inputs, referenced by their labels, and emits a trading signal whenever its condition holds.

6. Rule

A rule is the bridge between observation and action: it listens to one event source and, on each firing, emits one fully specified instruction — an order, an amend of an in-flight order, or a whole transaction group.

8. Account

The account is the root object of every run: every handle other than a market adapter is created from it, and every result is read back through it.

9. The environment

Everything a robot runs inside of — the shared library itself, the process-wide initial parameters, the contracts and currencies the engine is monomorphized for, the duration grid, thread placement.

10. The order book

The engine ships three order-book implementations, one per market-data depth level, and the export layer mirrors them behind a single handle type.

11. Timeserie tools

tse_timeserie.h exports the engine's own CSV reader and writer as first-class handles, plus the timeserie utilities the engine uses internally.

12. Statistics

tse_statistics.h exports the engine's own statistics subsystem: the sixty-five entry points behind which stand the measures the engine itself uses to score a run.

13. Built-in input processors

An input turns every tick into a number, and until now that number came from a callable you wrote.

14. Examples

The examples live in a dedicated repository: github.com/andreysolovyev381/tse.

15. Appendix

This appendix collects the reference tables that the preceding chapters rely on: the numeric values of every enumeration exported by tse_enums.h, tse_duration.h, tse_log.h and tse_protection.h.

16. Audit trail

A compliance officer, a risk officer or a regulator opens this record with one question: for a given order that left this installation, what decided to send it, against what state, and when.