using System;
using System.Text;
using System.Collections.Generic;
using MarketData.Utils;

namespace MarketData.MarketDataModel
{  
  public class HeadlinesSentiment : List<HeadlineSentiment>
  {
    public HeadlinesSentiment()
    {
    }
    public HeadlinesSentiment(List<HeadlineSentiment> headlinesSentiment)
    {
      foreach(HeadlineSentiment headlineSentiment in headlinesSentiment)Add(headlineSentiment);
    }
  }
  public class HeadlineSentiment : Headline
  {
    public HeadlineSentiment(Headline headline,String sentiment)
    : base(headline)
    {
      Sentiment=sentiment;
    }
    public HeadlineSentiment(String headline,String sentiment)
      : base(new Headline())
    {
      Sentiment=sentiment;
      this.Entry=headline;
    }
    public String Sentiment{get;set;}
    //public Brush CurrentPriceColor
    //{
    //  get
    //  {
    //    if(!IsActivePosition)return BrushCollection.GetContextBrush(BrushCollection.BrushColor.Blue);
    //    if(priceChangeDirection>0)return BrushCollection.GetContextBrush(BrushCollection.BrushColor.Green);
    //    else if(priceChangeDirection<0)return BrushCollection.GetContextBrush(BrushCollection.BrushColor.Red);
    //    else return BrushCollection.GetContextBrush(BrushCollection.BrushColor.Black);
    //  }
    //}
  }
}
