Hello,
In my code I would like to place sell trades for positions that Wealth-Lab is not aware of. For example, my code strategy needs to place a sell order for stocks I purchased in the past or via fidelity web site or activetrader pro. I don’t know how to do it since the “LastActivePosition” in (SellAtMarket(bar + 1, LastActivePosition, Bars.Symbol) is not active and therefore Wealth-Lab won’t execute. So, I either need to obtain the positions to let Wealth-Lab know I have active positions. Or, somehow force wealth to place a Sell (not manually, but in the code). Please help
Thank you,
J
Size:
Color:
Size:
Color: