public AnalysisController(IAnalysisService analysisService, IDataStore <Trader> traderStore, TradingDbContext context, IDataStore <Form> analysisStore) { _analysisService = analysisService; _traderStore = traderStore; _context = context; _analysisStore = analysisStore; }
public UnitOfWork(TradingDbContext _context, ILogger<UnitOfWork> logger) { context = _context; this.logger = logger; TimeIntervals = new TimeIntervalRepository(context); BrokerTimeIntervals = new BrokerTimeIntervalRepository(context); Brokers = new BrokerRepository(context); InstrumentNames = new InstrumentNameRepository(context); BrokerInstruments = new BrokerInstrumentRepository(context); PriceEntries = new PriceEntryRepository(context, this.logger); ScreenerEntryMappings = new ScreenerEntryMappingRepository(context); ScreenerEntryTypes = new ScreenerEntryTypeRepository(context); BrokerInstrumentScreenerTypes = new BrokerInstrumentScreenerTypeRepository(context); ScreenerTypes = new ScreenerTypeRepository(context); Screeners = new ScreenerRepository(context); BrokerSymbols = new BrokerSymbolRepository(context); Currencies = new CurrencyRepository(context); Exchanges = new ExchangeRepository(context); InstrumentTypes = new InstrumentTypeRepository(context); ScreenerReferenceImages = new ScreenerReferenceImageRepository(context); ScreenerLines = new ScreenerLineRepository(context); ScreenerEntries = new ScreenerEntryRepository(context); IndicatorEntries = new IndicatorEntryRepository(context); Trades = new TradeRepository(context); TradeSteps = new TradeStepRepository(context); Signals = new SignalRepository(context); Orders = new OrderRepository(context); }
public BrokerInstrumentScreenerTypeRepository(TradingDbContext context) : base(context) { }
public FormService(TradingDbContext context) { _context = context; }
public InstrumentTypesController(TradingDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }
public ScreenerEntryMappingRepository(TradingDbContext context) : base(context) { }
public TradeStepRepository(TradingDbContext context) : base(context) { }
public UserService(TradingDbContext context) { _context = context; }
public StopLossRuleRepository(TradingDbContext context) : base(context) { }
public StrategiesService(TradingDbContext context) { _context = context; }
public SignalRepository(TradingDbContext context) : base(context) { }
public TransactionRepository(TradingDbContext db) { this.db = db; }
public FormController(TradingDbContext context, IDataStore <Form> formDataStore, IDataStore <Trader> traderStore) { _context = context; _formDataStore = formDataStore; _traderStore = traderStore; }
public ScreenersController(TradingDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }
public OrderRepository(TradingDbContext context) : base(context) { }
public DataStore(TradingDbContext context) { _context = context; _entities = context.Set <T>(); }
public InstrumentNameRepository(TradingDbContext context) : base(context) { }
public ExchangeRepository(TradingDbContext context) : base(context) { }
public ExitRuleRepository(TradingDbContext context) : base(context) { }
public BrokerSymbolRepository(TradingDbContext context) : base(context) { }
public ShareRepository(TradingDbContext db) => this.db = db;
public BrokerInstrumentRepository(TradingDbContext context) : base(context) { }
public ScreenerLineRepository(TradingDbContext context) : base(context) { }
public CurrencyRepository(TradingDbContext context) : base(context) { }
public ProfitRepository(TradingDbContext context) : base(context) { }
public ScreenerReferenceImageRepository(TradingDbContext context) : base(context) { }
public BrokerTimeIntervalRepository(TradingDbContext context) : base(context) { }
public RefImageController(TradingDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }
public TraderRepository(TradingDbContext db) => this.db = db;
public Repository(TradingDbContext _context) { context = _context; }