StreamingData.cs 557 B

1234567891011121314151617181920212223
  1. namespace Easychart.Finance.DataProvider
  2. {
  3. using System;
  4. public class StreamingData
  5. {
  6. public double Price;
  7. public DateTime QuoteTime;
  8. public string Symbol;
  9. public DateTime Time;
  10. public double Volume;
  11. public StreamingData(string Symbol, DateTime QuoteTime, double Price, double Volume)
  12. {
  13. this.Symbol = Symbol;
  14. this.QuoteTime = QuoteTime;
  15. this.Price = Price;
  16. this.Volume = Volume;
  17. this.Time = DateTime.Now;
  18. }
  19. }
  20. }