Error Message

Home Forums Logical Invest Forum Error Message

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #81777
    Mark Vincent
    Participant

    Hello,

    When I change the ranking day to “16” and try to optimize I get the Unhandled exceception ….

    Index was outside the bounds of the array.

    I never use to get this error message with rebalancing on the 16th has something changed?

    Regards,
    Mark V.

    #81802
    Frank Grossmann
    Participant

    I tried this with some strategies, but I could not replicate an error. Which strategy produces this error? Can you send me your zipped QT folder at [email protected] so that I can test with your files?

    #81828
    Mark Vincent
    Participant

    No error message rebalance 1st of month when I change it to Ranking day = 16 it crashes on many strategies. Here is the .ini file for one of the strategies.

    [StrategyTitle]
    16 Metals
    [StockItems]
    COPX=Global X Solactive Copper Miners,0,1,1,0.00
    GLD=Gold,2,1,1
    PALL=Precious Metals,2,1,1,0.00,,0,0
    SLV=SILVER,2,1,1,0.00,,0,0
    URA=URA,0,1,1,0.00
    [StockSets]
    StockSet18=16 Metals,1,3,StockSetStrategy18,2021-04-26,2021-05-17,COPX@1,GLD@1,PALL@1,SLV@1,URA@1
    [StockSetItems]
    StockSet18Item1=11111,StockSet18Item2,0,00000004,2,
    StockSet18Item2=11111,StockSet18Item3,1,00000008,2,
    StockSet18Item3=-,-,2,00001000,3,
    [StockSetStrategies]
    StockSetStrategy18=2,2,,11111,10,,1
    [StockSetStrategyParameters]
    StockSetStrategy18=-3,3,112,3,-2,7,-1,7,-10,7,-1,7,0.00,0,0.00,0,0,0,0.00,0,0.00,0,1.50,1,0,0,0,0,0,0,0,0,0.00,4,0.00,4,0,0,-16,5,0,4,0.00,0,0.00,0,0.00,0

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.