class_docstr: An algorithm that tries to set the portfolio directly.
  
  The portfolio should be treated as a read-only object
  within the algorithm.
class_docstr_tok: ["An","algorithm","that","tries","to","set","the","portfolio","directly",".","The","portfolio","should","be","treated","as","a","read-only","object","within","the","algorithm","."]
code: def initialize(self, *args, **kwargs):
      pass
  
imports: import numpy
  from nose.tools import assert_raises
  from six import itervalues
  from zipline.algorithm import TradingAlgorithm
  from zipline.api import FixedSlippage, order, set_slippage, record, sid
  from zipline.errors import UnsupportedOrderParameters
  from zipline.finance.execution import LimitOrder, MarketOrder, StopLimitOrder, StopOrder
label_desc: Use image node_id 1 for calling the SetPortfolioAlgorithm obj's underlying member method code with example usage: obj.initialize() without return types