public virtual void Initialize(DataSource dataSource, StreamingProvider streamingProvider, OrderProcessor orderProcessor, IStatusReporter connectionStatus) {
			this.DataSource = dataSource;
			this.StreamingProvider = streamingProvider;
			this.OrderProcessor = orderProcessor;
			this.StatusReporter = connectionStatus;
			this.AccountAutoPropagate.Initialize(this);
		}
示例#2
0
 public StreamingDataSnapshot(StreamingProvider streamingProvider)
 {
     this.streamingProvider  = streamingProvider;
     this.LastQuotesReceived = new Dictionary <string, Quote>();
     this.BestBid            = new Dictionary <string, double>();
     this.BestAsk            = new Dictionary <string, double>();
 }
		public StreamingDataSnapshot(StreamingProvider streamingProvider) {
			this.streamingProvider = streamingProvider;
			this.LastQuotesReceived = new Dictionary<string, Quote>();
			this.BestBid = new Dictionary<string, double>();
			this.BestAsk = new Dictionary<string, double>();
		}
		public StreamingEditor(StreamingProvider streamingProvider, IDataSourceEditor dataSourceEditor) {
			this.streamingProvider = streamingProvider;
			this.dataSourceEditor = dataSourceEditor;
		}
示例#5
0
 public DataDistributor(StreamingProvider streamingProvider)
 {
     this.StreamingProvider = streamingProvider;
     DistributionChannels   = new Dictionary <string, Dictionary <BarScaleInterval, SymbolScaleDistributionChannel> >();
 }
		public DataDistributor(StreamingProvider streamingProvider) {
			this.StreamingProvider = streamingProvider;
			DistributionChannels = new Dictionary<string, Dictionary<BarScaleInterval, SymbolScaleDistributionChannel>>();
		}