code: def __init__(self, name, value):
      super(WorthMessageComponent, self).__init__(data={name: value})
      self.name = name
      self.value = value
  
imports: from abc import abstractmethod
  from tensortrade.core import Component, TradingContext
label_desc: Use image node_id 1 to create a new WorthMessageComponent object from inherited base classes: DataMessageComponent with example: obj = WorthMessageComponent(name, value)