A robust simulation engine for market depth, trades, and candlesticks— trusted by developers and analysts to power next-gen trading experiences.
Explore FeaturesFrom crypto exchanges to quant funds, our library is a favorite among industry leaders.
Empower your trading platform with lightning-fast, realistic simulations. From rapid prototyping to production-ready apps, our library is carefully engineered to give you complete control over market scenarios.
Built with Redis caching and robust data structures, ensuring minimal downtime and high availability—no matter how big your user base gets.
Tweak middle prices, intervals, volumes, and more. Perfect for simulating everything from crypto assets to traditional equities.
Scalable architecture easily handles multiple symbols with real-time trade data and candlestick updates over WebSockets.
Simple APIs, active community support, and comprehensive documentation to get you started in minutes.
Customize your simulations, seamlessly integrate with Redis, and broadcast real-time data for an unmatched trading experience.
Generate dynamic buy/sell orders for crypto or any financial markets. Perfect for stress-testing new features and analyzing liquidity.
Configure intervals and track open, high, low, close values in real-time. Ideal for charting and analytical dashboards.
Broadcast market depth and trade stats to multiple clients concurrently for true real-time experiences.
Cache candlestick data and stats for efficient real-time performance, even at scale.
Simulate trading pairs like BTCUSD, ETHUSD, and beyond—adaptable to any market scenario.
Developer-friendly configuration for adjusting pricing models, intervals, volumes, and more.
Visit our npm package page to download, explore documentation, and get started in just a few clicks.
Go to npm PackageChoose from flexible plans tailored to your project size and complexity.
Ideal for personal projects and small-scale testing.
$0
• Single-symbol simulation
• Community support
Advanced simulation for multiple symbols with Redis integration and priority support.
$19/mo
• Up to 10 symbols
• Priority email support
Best for mission-critical applications needing unlimited symbols, dedicated support, and custom SLAs.
Custom
• Unlimited symbols
• Phone & Slack support
Quickly integrate into any Node.js project. Scale on-demand, and build advanced trading simulations in minutes.
Install via npm: npm install market-depth-generator
const MarketDepthGenerator = require("market-depth-generator"); const generator = new MarketDepthGenerator({ redisHost: "127.0.0.1", redisPort: 6379, symbols: ["BTCUSD", "ETHUSD"], middlePrice: 305.12, }); (async () => { await generator.init(); // Start your simulation setInterval(() => { generator.simulateTrade("BTCUSDT"); }, 1000); })();
Create a WebSocket server to broadcast real-time depth, stats, and candlestick data. Serve multiple clients seamlessly.
Have questions? We’re here to help you succeed.
Email: monupareeklg@gmail.com
GitHub: monupareeklg
License: MIT
Downloads: See npm statistics for more info
We appreciate contributions! Fork our repo and submit a pull request.