UNPKG

trade-data-generator

Version:

A library to simulate market depth, trade data, and OHLC candlestick generation for trading applications.

9 lines (8 loc) 282 B
module.exports = { middlePrice: 305.23, oneDayBeforePrice: 304.21, simulationInterval: 1000, // Trade simulation interval updateInterval: 2500, // Update payload interval, defaultTimezoneOffset: 5.5, // IST (UTC+5:30) supportedMarkets: ["crypto", "forex", "equity"], };