feat(engine): expose canonical replay sessions through native workers
This commit is contained in:
parent
417a7bd21e
commit
e3635f23cf
26 changed files with 2693 additions and 33 deletions
|
|
@ -2,6 +2,7 @@ import { createRequire } from 'node:module';
|
|||
import { describe, expect, it } from 'bun:test';
|
||||
import {
|
||||
BacktestEngine,
|
||||
FinancialReplaySession,
|
||||
IncrementalSMA,
|
||||
TechnicalIndicators,
|
||||
TradingEngine,
|
||||
|
|
@ -70,6 +71,7 @@ describe('generated native bindings', () => {
|
|||
const binding = createRequire(import.meta.url)('@stock-bot/engine');
|
||||
expect(binding.TechnicalIndicators).toBe(TechnicalIndicators);
|
||||
expect(binding.IncrementalSMA).toBe(IncrementalSMA);
|
||||
expect(binding.FinancialReplaySession).toBe(FinancialReplaySession);
|
||||
});
|
||||
|
||||
it('MACD keeps full-length EMA series aligned without out-of-bounds access', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue