import JsonItem

class StockPriceItem(JsonItem.JsonItem):
    """ The model represent a nasdaq stock item with following properties:

    Attributes:
    Symbol
    Name
    LastScale
    MarketCap
    ADRTSO --- don't what it's, same question was asked in https://www.reddit.com/r/stocks/comments/6rmkg2/what_does_adr_tso_mean/
    IPOyear
    Sector
    Industry
    SummaryQuote
    """
    def __init__(self, symbol, date, openPrice, high, low, close, volume):
        self.Symbol = symbol
        self.Date = date
        self.OpenPrice = openPrice
        self.High = high
        self.Low = low
        self.Close = close
        self.Volue = volume