feat(research): cut over canonical runtime and enforce agent budgets
This commit is contained in:
parent
ab08db82fd
commit
bbf0dd4453
103 changed files with 6138 additions and 3112 deletions
|
|
@ -1,13 +1,14 @@
|
|||
import type { BacktestRunner } from '../src/backtest/BacktestRunner';
|
||||
import type { BacktestEngine } from '../src/backtest/BacktestEngine';
|
||||
import { BacktestConfigSchema, type BacktestConfig } from '../src/types';
|
||||
|
||||
/**
|
||||
* Call with the application's already-composed TypeScript runner and real historical range.
|
||||
* Preserved offline prototype for older strategy algorithms; not a production research route.
|
||||
* Importing this example starts no services, loads no model and submits no work.
|
||||
* The caller owns runner/service shutdown; the ordinary runner persists the actual result.
|
||||
* A standalone prototype engine owns this demonstration. It does not create durable research results.
|
||||
* Production research uses approved retained versions and the canonical runner.
|
||||
*/
|
||||
export function runMultiStrategyBacktest(
|
||||
runner: Pick<BacktestRunner, 'runBacktest'>,
|
||||
runner: Pick<BacktestEngine, 'runBacktest'>,
|
||||
range: Pick<BacktestConfig, 'symbols' | 'startDate' | 'endDate'>
|
||||
) {
|
||||
const request = BacktestConfigSchema.parse({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue