Skip to content

Commit

Permalink
fix(backtesting): cannot find name 'T'
Browse files Browse the repository at this point in the history
bludnic committed Sep 5, 2024
1 parent a63d0e3 commit 4afa9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backtesting/src/backtesting.ts
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ export class Backtesting<S = any> {
private botTemplate: BotTemplate<IBotConfiguration<S>>;
private botConfig: IBotConfiguration<S>;

constructor(options: { botConfig: IBotConfiguration<S>; botTemplate: BotTemplate<IBotConfiguration<T>> }) {
constructor(options: { botConfig: IBotConfiguration<S>; botTemplate: BotTemplate<IBotConfiguration<S>> }) {
const { botConfig, botTemplate } = options;

this.marketSimulator = new MarketSimulator();

0 comments on commit 4afa9a5

Please sign in to comment.