changed types around

This commit is contained in:
Bojan Kucera 2025-06-03 17:52:02 -04:00
parent 24e82bbb78
commit f61d1aa0c3
75 changed files with 3625 additions and 34314 deletions

View file

@ -10,7 +10,7 @@
"test:watch": "bun test --watch src/tests/**/*.test.ts"
}, "dependencies": {
"hono": "^4.6.3",
"@stock-bot/shared-types": "workspace:*",
"@stock-bot/types": "workspace:*",
"@stock-bot/utils": "workspace:*",
"@stock-bot/event-bus": "workspace:*",
"@stock-bot/api-client": "workspace:*",

View file

@ -1,12 +1,12 @@
import { EventEmitter } from 'events';
import { OHLCV } from '@stock-bot/shared-types';
import { Order, Position } from '@stock-bot/shared-types';
import { OHLCV } from '@stock-bot/types';
import { Order, Position } from '@stock-bot/types';
import { createLogger } from '@stock-bot/utils';
import { financialUtils } from '@stock-bot/utils';
const logger = createLogger('backtest-engine');
// Use OHLCV from shared-types as BarData equivalent
// Use OHLCV from types as BarData equivalent
export type BarData = OHLCV;
// Strategy interface to match existing pattern