Build and Test Trading Strategies in Seconds with trading-cycle
Have you ever wanted a flexible, zero-bloat engine to build, test, and iterate on trading strategies — without digging through mountains of boilerplate code? Let me introduce you to trading-cycle — a modular, blazing-fast core for backtesting trading logic in JavaScript/TypeScript. Designed to be lightweight, extensible, and unapologetically developer-friendly. No magic. No assumptions. Just powerful building blocks. Why I Built This Most open-source trading frameworks are either: bloated and hard to extend, or too minimal, lacking support for real-world conditions. trading-cycle is my take on solving that. It provides: A powerful event-driven pipeline to simulate ticks. A core + handlers architecture for full customization. Built-in presets so you can start in seconds. And yes, it's written in TypeScript, typed from top to bottom. ⚙️ Installation npm install trading-cycle This gives you: The full version, including indicators like Renko, logic handlers, candles, etc. The light version, for when you want just the core.

Have you ever wanted a flexible, zero-bloat engine to build, test, and iterate on trading strategies — without digging through mountains of boilerplate code?
Let me introduce you to trading-cycle
— a modular, blazing-fast core for backtesting trading logic in JavaScript/TypeScript.
Designed to be lightweight, extensible, and unapologetically developer-friendly.
No magic. No assumptions. Just powerful building blocks.
Why I Built This
Most open-source trading frameworks are either:
- bloated and hard to extend, or
- too minimal, lacking support for real-world conditions.
trading-cycle
is my take on solving that. It provides:
- A powerful event-driven pipeline to simulate ticks.
- A core + handlers architecture for full customization.
- Built-in presets so you can start in seconds.
And yes, it's written in TypeScript, typed from top to bottom.
⚙️ Installation
npm install trading-cycle
This gives you:
- The full version, including indicators like Renko, logic handlers, candles, etc.
- The light version, for when you want just the core.