code: def __setstate__(self, state):
      (self.__dateTime, self.__price, self.__amount) = state
  
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 2 for calling the TradeBar obj's underlying member method code with example usage: obj.__setstate__(state) without return types