8 Commits

Author SHA1 Message Date
Ajasra
5614520c58 Enhance backtesting performance and data handling
- Introduced DataCache utility for optimized data loading, reducing redundant I/O operations during strategy execution.
- Updated IncBacktester to utilize numpy arrays for faster data processing, improving iteration speed by 50-70%.
- Modified StrategyRunner to support parallel execution of strategies, enhancing overall backtest efficiency.
- Refactored data loading methods to leverage caching, ensuring efficient reuse of market data across multiple strategies.
2025-05-29 15:21:19 +08:00
Ajasra
df19ef32db bactester for strategies 2025-05-29 14:22:50 +08:00
Ajasra
b0ea701020 Enhance DataLoader and MinuteDataBuffer for improved data handling
- Added error handling in DataLoader to attempt reading CSV files with a fallback to the Python engine if the default engine fails.
- Converted numpy float32 columns to Python float for compatibility in DataLoader.
- Updated MinuteDataBuffer to accept both Python and numpy numeric types, ensuring consistent data validation and conversion.
2025-05-29 14:21:16 +08:00
Ajasra
790bd9ccdd exposing parameters for metatrand too 2025-05-29 13:05:44 +08:00
Ajasra
a99ed50cfe cleanup of the old Incremental trader after refactopring 2025-05-29 00:28:48 +08:00
Ajasra
5c6e0598c0 documentation 2025-05-28 22:37:53 +08:00
Vasily.onl
1861c336f9 TimeFrame agregator with right logic 2025-05-28 18:26:51 +08:00
Vasily.onl
c9ae507bb7 Implement Incremental Trading Framework
- Introduced a comprehensive framework for incremental trading strategies, including modules for strategy execution, backtesting, and data processing.
- Added key components such as `IncTrader`, `IncBacktester`, and various trading strategies (e.g., `MetaTrendStrategy`, `BBRSStrategy`, `RandomStrategy`) to facilitate real-time trading and backtesting.
- Implemented a robust backtesting framework with configuration management, parallel execution, and result analysis capabilities.
- Developed an incremental indicators framework to support real-time data processing with constant memory usage.
- Enhanced documentation to provide clear usage examples and architecture overview, ensuring maintainability and ease of understanding for future development.
- Ensured compatibility with existing strategies and maintained a focus on performance and scalability throughout the implementation.
2025-05-28 16:29:48 +08:00