Implements MomentumIndicator (samples QQQ direction) and MomentumStrategy (buys TQQQ on up, SQQQ on down, exits at +1% target or 1hr timeout). Wired into Bot via index.ts. Also fixes vitest config to exclude dist/ from test discovery. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
172 B
TypeScript
9 lines
172 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
exclude: ['dist/**', 'node_modules/**'],
|
|
},
|
|
});
|