code: def __init__(self, dateTime, price, amount):
      self.__dateTime = dateTime
      self.__price = price
      self.__amount = amount
  
imports: from pyalgotrade import barfeed
  from pyalgotrade import bar
  from pyalgotrade.barfeed import csvfeed
  from pyalgotrade.utils import dt
  import datetime
label_desc: Use image node_id 1 to create a new TradeBar object from inherited base classes: bar with example: obj = TradeBar(dateTime, price, amount)