1.0.0 • Published 6 months ago

@radarvn-crypto/data-module v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

@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

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Build the package:
    npm run build
  4. Pack the module:
    npm pack

License

UNLICENSED