Bound backtest dataset preparation and preserve replay identity
This commit is contained in:
parent
cca5d71e6e
commit
6bd671d92a
20 changed files with 1420 additions and 155 deletions
|
|
@ -39,6 +39,10 @@ export class BacktestPlayback {
|
|||
this.controller.signal.throwIfAborted();
|
||||
}
|
||||
|
||||
get signal(): AbortSignal {
|
||||
return this.controller.signal;
|
||||
}
|
||||
|
||||
/** Only race side-effect-free reads; late reads must never resume execution. */
|
||||
async read<T>(load: () => Promise<T>): Promise<T> {
|
||||
this.assertRunning();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue