mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-04 07:33:11 +08:00
086c12ddf8
Starting down the path of making the portfolio completely read-only with respect to the handle_data in algo. The portfolio should only be changed during the course of running the algorithm by the simulator. This doesn't do a 100% protection, i.e. an algo could use _portfolio, or the set_attr property, but hoping this helps guides algo writing to treat the portfolio as read-only.