TStrends

User Guide

  • Installation
    • Requirements
    • Installing TStrends
    • Development Installation
  • Usage Examples
    • Trend Labelling Examples
      • Binary CTL with Different Omega Values
      • Ternary CTL Parameter Effects
    • Returns Estimation Examples
      • Simple Returns vs Transaction Costs
      • Position-Specific Fee Structures
    • Parameter Optimization Example
    • Label Tuning Examples
      • Remaining Value Tuning
      • Forward-looking filter: tuning down early signal
      • Absolute windows, shifting, and pipeline order
      • Smoothing Options
    • Real-World Application
  • Notebook Examples
    • Trend Labelling Catalogue
    • How to Use Simple Labellers
    • Parameter Optimization Example
    • Label Tuning Example

API Reference

  • API Reference
    • Modules
      • Trend Labelling
      • Visualization Utilities
      • Parameter Optimization
      • Returns Estimation
      • Label Tuning

Development

  • Contributing
    • Getting Started
      • 1. Setup
    • Basic Guidelines
    • Making Changes
    • Need Help?
  • Bibliography
    • Academic References
      • Continuous Trend Labelling (CTL)
      • Ternary Trend Labelling
      • Oracle Labelling
TStrends
  • Overview: module code

All modules for which code is available

  • tstrends.label_tuning.base
  • tstrends.label_tuning.filtering
  • tstrends.label_tuning.remaining_value_tuner
  • tstrends.label_tuning.shifting
  • tstrends.label_tuning.smoothing
  • tstrends.label_tuning.smoothing_direction
  • tstrends.optimization.optimization_bounds
  • tstrends.optimization.optimizer
  • tstrends.returns_estimation.fees_config
  • tstrends.returns_estimation.returns_estimation
  • tstrends.trend_labelling.base_labeller
  • tstrends.trend_labelling.binary_CTL
  • tstrends.trend_labelling.label_scaling
  • tstrends.trend_labelling.oracle_labeller
  • tstrends.trend_labelling.ternary_CTL
  • tstrends.visualization.utils

© Copyright 2026, Abel G Penas.

Built with Sphinx using a theme provided by Read the Docs.