Hi,
Is there a way to access the portfolio cash position by bar within a script?
Starting with a cash position I was hoping to size a position in a backtest with something like
Shares = floor (.2* Cash / Price)
and then feed that into a buy order. I've looked at PosSize but it didn't have exactly what I was looking for and thought there may be a more flexible method.
Thanks,
M
Size:
Color:
Size:
Color:
Ok. Let me check that out. Thanks
Size:
Color:
Got this to work, thanks again. I'll clean up and post the code this weekend.
Size:
Color: