1.0.0 • Published 6 months ago
@radarvn-crypto/data-module v1.0.0
@mylab/shared-module
Shared module for MyLab project
Installation
npm install @mylab/shared-module
Usage
import { MarketData, MarketDataProps, IMarketDataRepository, MarketDataSchema } from '@mylab/shared-module';
// Example usage
const marketData = new MarketData({
symbol: 'BTC/USDT',
interval: '1h',
open: 50000,
high: 51000,
low: 49000,
close: 50500,
volume: 1000,
timestamp: Date.now(),
source: 'binance'
});
Development
- Clone the repository
- Install dependencies:
npm install
- Build the package:
npm run build
- Pack the module:
npm pack
License
UNLICENSED
1.0.0
6 months ago