If i do a if statement if a stock equals that instruments and call the PnL function, will it attribute only the PnL for that stock or PnL for all the stock positions in my account?
(side question: if the strategy calculates on close when live trading, when is the trade initiated and completed if EOD you cant trade? Is the position bought/sold next day opening?)

Comment