Closed AlexCatarino closed 6 months ago
Under Portfolio > Holdings, we show how to set initial holdings programmatically.
It should be a new H3: "Set Holdings"
if not self.live_mode: self.portfolio["SPY"].set_holdings(average_price=500, quantity=100)
We can explain that this can be useful to mimic a complex portfolio initial state of a factual account.
Under Initialization we could have the same text, so this should be a resource. In this case, the H3 should be "Set Initial Holdings".
Missing example.
master
Expected Behavior
Under Portfolio > Holdings, we show how to set initial holdings programmatically.
It should be a new H3: "Set Holdings"
We can explain that this can be useful to mimic a complex portfolio initial state of a factual account.
Under Initialization we could have the same text, so this should be a resource. In this case, the H3 should be "Set Initial Holdings".
Actual Behavior
Missing example.
Checklist
master
branch