code: def onOrderUpdated(self, order):
      if order.isBuy():
          orderType = "Buy"
      else:
          orderType = "Sell"
  
      exec_info_str = ""
      if order.getExecutionInfo():
          exec_info_str = " - Price: %s - Amount: %s - Fee: %s" % (
              order.getExecutionInfo().getPrice(),
              order.getExecutionInfo().getQuantity(),
              round(order.getExecutionInfo().getCommission(), 2),
          )
  
      self.info(
          "%s order %d updated - Status: %s%s"
          % (
              orderType,
              order.getId(),
              basebroker.Order.State.toString(order.getState()),
              exec_info_str,
          )
      )
  
file_path: pyalgotrade/samples/bccharts_example_2.py
imports: from pyalgotrade import bar
  from pyalgotrade import strategy
  from pyalgotrade import plotter
  from pyalgotrade.technical import vwap
  from pyalgotrade.barfeed import csvfeed
  from pyalgotrade.bitstamp import broker
  from pyalgotrade import broker
label_desc: Use image node_id 8 for calling the VWAPMomentum obj's underlying member method code with example usage: obj.onOrderUpdated(order) without return types