/**
 * Helper Types
 * Generic utility types for making functions work across different data types
 */

/**
 * Interface for data that has a close price
 * Used to make functions generic across different data types
 */
export interface HasClose {
  close: number;
}

/**
 * Interface for data that has OHLC prices
 */
export interface HasOHLC {
  open: number;
  high: number;
  low: number;
  close: number;
}

/**
 * Interface for data that has volume
 */
export interface HasVolume {
  volume: number;
}

/**
 * Interface for data that has timestamp
 */
export interface HasTimestamp {
  timestamp: number;
}
