Portfolio Buy
Author: mlyon37
Creation Date: 10/20/2014 12:41 AM
profile picture

mlyon37

#1
Hi,

Sorry for the bother. This isn't a huge issue, but is there a way to easily buy a complete portfolio? Right now I cycle through the names manually to enter. Is there a simpler way to do this?
Let's assume I have a portfolio of interest X={"EXC","FE"}. Is there some way to just enter a buy for the whole portfolio Buy(X)? I would assume there would also be an argument for capital allocation.

Thanks,
M.L

profile picture

Eugene

#2
There isn't other way but to cycle through the names one way or another. This can be made a method but the pricinple applies.
profile picture

Cone

#3
Capital allocation is controlled by the Position Sizing control. To generate an Alert for every symbol, just select the DataSet (the Portfolio) and run a script with this code in the Execute method:

CODE:
Please log in to see this code.
profile picture

mlyon37

#4
Thanks. Just wanted to make sure the method didn't already exist.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).