tesser-strategy

Crates.iotesser-strategy
lib.rstesser-strategy
version0.9.3
created_at2025-11-19 06:21:38.983432+00
updated_at2025-12-04 04:53:16.473503+00
descriptionStrategy traits, helpers, and signal definitions for Tesser
homepage
repositoryhttps://github.com/tesserspace/tesser
max_upload_size
id1939501
size123,266
Zijing Zhang (pluveto)

documentation

README

tesser-strategy

Reference implementations of the Strategy trait plus shared strategy utilities.

Overview

  • Defines the Strategy trait and StrategyContext, which delivers recent candles/ticks/order books and positions.
  • Ships several built-in strategies (SmaCross, RsiReversion, BollingerBreakout, MlClassifier, etc.) for testing and demos.
  • Includes helpers for indicator calculations and signal emission.

Adding a Strategy

  1. Implement the Strategy trait in a new module.
  2. Add a register_strategy!(YourType, "YourType") invocation (optionally with aliases) so the registry discovers it automatically.
  3. Provide a TOML config schema in research/strategies/ for easy CLI usage.

Tests

cargo test -p tesser-strategy
Commit count: 0

cargo fmt