CoolFace
Apppublic

diegobeyl/backtesting

sourceHugging Faceupdated 8mo agoView on Hugging Face
2likes
App README

๐Ÿ“ˆ Backtesting App V2

Advanced backtesting platform for algorithmic trading strategies.

๐ŸŽฏ Overview

Backtesting App V2 is a comprehensive backtesting framework designed for algorithmic traders. It features:

  • โ€”Interactive Streamlit UI for backtesting and visualization
  • โ€”Advanced trading algorithms (FAST and SLOW Ariascampos strategies)
  • โ€”Real-time metrics and performance analytics
  • โ€”Multi-asset support with configurable parameters

โœ… Key Features

  • โ€”Direction Filtering - Trade only LONG, SHORT, or BOTH
  • โ€”Configurable Lookbehind - Adjustable lookback period for SLOW algorithm (0-20 bars)
  • โ€”Multi-asset Support - Single or multiple symbol backtesting
  • โ€”Real-time Data - Integration with yfinance and ccxt for market data
  • โ€”Interactive Charts - Plotly-based visualizations

๐Ÿ“Š Usage

  1. 1.Select your trading symbol (e.g., BTCUSDT)
  2. 2.Choose algorithm (FAST or SLOW)
  3. 3.Configure parameters:
  4. 4.Direction: LONG, SHORT, or BOTH
  5. 5.Lookbehind period (for SLOW algorithm)
  6. 6.Capital and risk percentage
  7. 7.Run backtest and analyze results

๐Ÿ› ๏ธ Technology Stack

  • โ€”Frontend: Streamlit
  • โ€”Data Processing: Pandas, NumPy
  • โ€”Charting: Plotly
  • โ€”Data Sources: yfinance, ccxt
  • โ€”Backtesting Engine: Backtesting.py

Author: javitechjkd Version: 2.0.0 License: MIT