A TypeScript/JavaScript framework for backtesting trading strategies with support for multiple data sources and strategy types.
- Node.js 22.0.0+
- NPM
- Basic TypeScript knowledge
- Install via NPM
- Set up environment
- Create your first strategy
- Run backtests
The framework provides built-in error handling through the BacktestError
class with specific error codes.
Yes, you can create custom indicators or use the built-in technical indicators library.
- Use appropriate timeframes
- Implement efficient calculations
- Utilize caching mechanisms
- Batch process where possible
- CSV files
- Direct exchange downloads
- Custom data sources
Ensure DATABASE_URL is correctly set in your .env file.
Monitor and optimize memory usage in your strategies.
Use proper error handling and logging in your strategies.
For more details, see other documentation files.