Files
fit/src/indicator.ts
Jon 345ff933ec Add indicator and strategy interfaces
Introduce the typed interfaces that form the foundation of the
strategy framework: Indicator<T> for market analysis and Strategy
with Signal types for trading decisions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:05:41 -07:00

7 lines
130 B
TypeScript

import { Alpaca } from "./alpaca";
export interface Indicator<T> {
name: string;
evaluate(alpaca: Alpaca): Promise<T>;
}