Skip to content

Developer Documentation

Welcome to the Developer Documentation for the Trading Strategy Tester.

This section is intended for contributors, maintainers, or anyone interested in the internal workings of the project. Here you'll find detailed explanations of the architecture, core modules, and guidelines on how to extend or integrate the system.


Python package Structure

The project is organized into the following key modules:

  • download: Handles downloading and managing historical market data.
  • strategy: Defines trading strategies and how they execute trades.
  • conditions: Contains logic for entry and exit conditions used in strategies.
  • trading_series: Manages time series data used during backtesting.
  • trading_plot: Provides tools for visualizing trading performance and signals.
  • indicators: Implements technical indicators commonly used in strategies.
  • trade: Represents individual trades and their properties.
  • statistics: Calculates performance metrics such as profit, drawdown, win rate, etc.