work on new engine
This commit is contained in:
parent
44476da13f
commit
a1e5a21847
126 changed files with 3425 additions and 6695 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { BacktestEngine } from '@stock-bot/core';
|
||||
import { BacktestEngine } from '@stock-bot/engine';
|
||||
import { MarketData } from '../types';
|
||||
|
||||
export interface Signal {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { EventEmitter } from 'events';
|
||||
import { IServiceContainer } from '@stock-bot/di';
|
||||
import { MarketData, StrategyConfig, OrderRequest } from '../types';
|
||||
import { TradingEngine } from '@stock-bot/engine';
|
||||
import { EventEmitter } from 'events';
|
||||
import { MarketData, OrderRequest, StrategyConfig } from '../types';
|
||||
import { BaseStrategy } from './BaseStrategy';
|
||||
import { TradingEngine } from '@stock-bot/core';
|
||||
|
||||
export class StrategyManager extends EventEmitter {
|
||||
private strategies = new Map<string, BaseStrategy>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue