UNPKG

trading-cycle

Version:

A lightweight, modular core library designed for backtesting trading strategies in financial markets.

11 lines (10 loc) 320 B
import AbstractHandler from './AbstractHandler'; import { HandlerConfig, State } from '../types/types'; export default class NegativeTimeLength extends AbstractHandler { private prev; private val; constructor(state: State, config: HandlerConfig); doExecute(): { val: number; } | undefined; }