Пример #1
0
 public AnalysisController(IAnalysisService analysisService, IDataStore <Trader> traderStore, TradingDbContext context, IDataStore <Form> analysisStore)
 {
     _analysisService = analysisService;
     _traderStore     = traderStore;
     _context         = context;
     _analysisStore   = analysisStore;
 }
Пример #2
0
 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);
 }
Пример #3
0
 public BrokerInstrumentScreenerTypeRepository(TradingDbContext context) : base(context)
 {
 }
Пример #4
0
 public FormService(TradingDbContext context)
 {
     _context = context;
 }
Пример #5
0
 public InstrumentTypesController(TradingDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }
 public ScreenerEntryMappingRepository(TradingDbContext context) : base(context)
 {
 }
Пример #7
0
 public TradeStepRepository(TradingDbContext context) : base(context)
 {
 }
Пример #8
0
 public UserService(TradingDbContext context)
 {
     _context = context;
 }
 public StopLossRuleRepository(TradingDbContext context) : base(context)
 {
 }
Пример #10
0
 public StrategiesService(TradingDbContext context)
 {
     _context = context;
 }
Пример #11
0
 public SignalRepository(TradingDbContext context) : base(context)
 {
 }
 public TransactionRepository(TradingDbContext db)
 {
     this.db = db;
 }
Пример #13
0
 public FormController(TradingDbContext context, IDataStore <Form> formDataStore, IDataStore <Trader> traderStore)
 {
     _context       = context;
     _formDataStore = formDataStore;
     _traderStore   = traderStore;
 }
Пример #14
0
 public ScreenersController(TradingDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }
Пример #15
0
 public OrderRepository(TradingDbContext context) : base(context)
 {
 }
Пример #16
0
 public DataStore(TradingDbContext context)
 {
     _context  = context;
     _entities = context.Set <T>();
 }
Пример #17
0
 public InstrumentNameRepository(TradingDbContext context) : base(context)
 {
 }
Пример #18
0
 public ExchangeRepository(TradingDbContext context) : base(context)
 {
 }
Пример #19
0
 public ExitRuleRepository(TradingDbContext context) : base(context)
 {
 }
 public BrokerSymbolRepository(TradingDbContext context) : base(context)
 {
 }
Пример #21
0
 public ShareRepository(TradingDbContext db) => this.db = db;
 public BrokerInstrumentRepository(TradingDbContext context) : base(context)
 {
 }
 public ScreenerLineRepository(TradingDbContext context) : base(context)
 {
 }
Пример #24
0
 public CurrencyRepository(TradingDbContext context) : base(context)
 {
 }
Пример #25
0
 public ProfitRepository(TradingDbContext context)
     : base(context)
 {
 }
Пример #26
0
 public ScreenerReferenceImageRepository(TradingDbContext context) : base(context)
 {
 }
 public BrokerTimeIntervalRepository(TradingDbContext context) : base(context)
 {
 }
Пример #28
0
 public RefImageController(TradingDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }
Пример #29
0
 public TraderRepository(TradingDbContext db) => this.db = db;
Пример #30
0
 public Repository(TradingDbContext _context)
 {
     context = _context;
 }