Yo-Yo.ai Docs
  • Yo-Yo.ai Gitbook Repository
  • Prediction: Accuracy
    • Overview
    • Technical
  • Model Output
  • Case Study
  • Conclusion
  • Prediction: Alpha
    • Overview
  • Methodology
  • Feature Engineering
  • Model Ensemble Implementation
  • Risk Management
  • Model Testing and Backtesting
    • Testing Methodology
    • Backtesting Framework
    • Hybrid Strategy Implementation
    • Results
    • Key Findings
    • APPENDIX A:
  • Vaults
    • How To
  • Product Road Map
  • FAQ
  • YOYO Token
    • Tokenomics
      • The YOYO Token
      • Token Utility
      • Token Metrics
  • Branding
    • Logos
  • Media
  • Legal Documents
    • Terms and Conditions
    • Privacy Policy
    • Disclaimer
  • Official Links
    • Official Links
Powered by GitBook
On this page
  1. Model Testing and Backtesting

Backtesting Framework

PreviousTesting MethodologyNextHybrid Strategy Implementation

Last updated 2 months ago

5.2.1 Implementation Details

The backtesting engine was designed to simulate trading conditions with high fidelity, incorporating multiple market frictions and operational constraints:

  1. Funding Rate Integration:

  • 8-hour funding rate payments using historical Binance data

  • Funding payments calculated as:

  1. Transaction Costs:

  • Base taker fee rate: 5 basis points (0.05%)

  • Additional execution costs tested: 25 basis points (0.25%)

  • Total transaction cost per trade:

  1. Execution Mechanics:

  • Next-bar execution to prevent look-ahead bias

  • Price impact simulation through fixed cost addition

  • Variable execution delays: 1, 5, 15 and 30 minutes

  • Binance minimum volume constraints in both BTC and USD terms

  1. Margin Requirements:

  • Margin requirement monitoring through time

  • Liquidation price tracking and execution