You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate PortfolioTarget for a portfolio with Index.
Actual Behavior
Since Index is not supported (because it's not tradable), we get the following message:
Index security type is not supported by Collective2. Allowed security types: [Equity,Forex,Option,Future,FutureOption,Crypto,CryptoFuture,Cfd,IndexOption]
Potential Solution
Add
if(!security.IsTradable)continue;
to GetPortfolioTargets
Reproducing the Problem
Add [TestCase(SecurityType.Index, "SPX", 68)] to SignalExportManagerGetsCorrectPortfolioTargetArray.
Checklist
I have completely filled out this template
I have confirmed that this issue exists on the current master branch
I have confirmed that this is not a duplicate issue by searching issues
I have provided detailed steps to reproduce the issue
The text was updated successfully, but these errors were encountered:
AlexCatarino
changed the title
Signal Export Generates Portofolio Targets for Non-Tradable Securities
Signal Export Generates Portfolio Targets for Non-Tradable Securities
Dec 5, 2024
Expected Behavior
Generate PortfolioTarget for a portfolio with Index.
Actual Behavior
Since Index is not supported (because it's not tradable), we get the following message:
Potential Solution
Add
to
GetPortfolioTargets
Reproducing the Problem
Add
[TestCase(SecurityType.Index, "SPX", 68)]
toSignalExportManagerGetsCorrectPortfolioTargetArray
.Checklist
master
branchThe text was updated successfully, but these errors were encountered: