code: def brownian_motion_levels(params: "ModelParameters") -> "np.array":
      """Constructs a price sequence whose returns evolve according to brownian
      motion.
  
      Parameters
      ----------
      params : `ModelParameters`
          The parameters for the stochastic model.
  
      Returns
      -------
      `np.array`
          A price sequence which follows brownian motion.
      """
      return convert_to_prices(
          params, brownian_motion_log_returns(params)
      )
  
imports: import numpy
  from tensortrade.stochastic.utils import ModelParameters, convert_to_prices
label_desc: Use image node_id 2 for calling a global function with example usage: brownian_motion_levels(params) and returns: convert_to_prices