(self, asset, max_shares, max_notional)
| 2682 | def test_set_max_position_size(self): |
| 2683 | |
| 2684 | def initialize(self, asset, max_shares, max_notional): |
| 2685 | self.set_slippage(FixedSlippage()) |
| 2686 | self.order_count = 0 |
| 2687 | self.set_max_position_size(asset=asset, |
| 2688 | max_shares=max_shares, |
| 2689 | max_notional=max_notional) |
| 2690 | |
| 2691 | # Buy one share four times. Should be fine. |
| 2692 | def handle_data(algo, data): |
nothing calls this directly
no test coverage detected