[B136 Dev3] Exception happens when testing KeltnerChannel block. - Invalid output index: 2

Please pay attention. There are 2 cases.
1: Invalid output index: 2 in block MTKeltnerChannel
2: Invalid output index: 3 in block KeltnerChannel


What I did:
Just run "Awesome Oscillator.cfx"


Error Log 1:
19:35:36.321 [Blocking computeThread common #11 - Builder_1-Generation 2.1.185] DEBUG BacktestDataFeed - SEND TOOK: 2718 ms, ticks: 22957460
19:35:36.369 [Blocking computeThread common #11 - Builder_1-Generation 2.1.185] DEBUG BacktestEngine - Backtest finished in : 2718 ms.
19:35:36.369 [Blocking computeThread common #11 - Builder_1-Generation 2.1.185] DEBUG BacktestEngine - Stats computation finished in : 48 ms.
19:35:36.369 [Blocking computeThread common #11 - Builder_1-Generation 2.1.185] DEBUG BacktestRunner - Fitness computed to: 0.4814814791921399
19:35:36.369 [Blocking computeThread common #11] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 2.1.185
   - Main test - dismissed: Global filter:Profit factor[Main data] (1.05) > 1.3in 2.77 s.
19:35:36.369 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_1-Generation 2.1.185(a1ab51_Builder_1) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:35:36.369 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:35:36.369 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_3-Generation 4.2.106(a1ab51_Builder_3). Blocking: true
19:35:36.369 [Blocking computeThread common #11 - Builder_3-Generation 4.2.106] DEBUG BacktestEvaluator - --- Job Strategy 4.2.106 started
19:35:36.369 [Blocking computeThread common #11 - Builder_3-Generation 4.2.106] DEBUG BacktestRunner - Backtest runner Strategy 4.2.106 started
19:35:36.378 [Blocking computeThread common #11] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 4.2.106
   - Exception in backtest: Invalid output index: 2 in block MTKeltnerChannel - in 0.01 s.
19:35:36.378 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_3-Generation 4.2.106(a1ab51_Builder_3) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:35:36.378 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:35:36.378 [Blocking computeThread common #11] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_3-Generation 4.2.107(a1ab51_Builder_3). Blocking: true
19:35:36.378 [Blocking computeThread common #11 - Builder_3-Generation 4.2.107] DEBUG BacktestEvaluator - --- Job Strategy 4.2.107 started
19:35:36.378 [Blocking computeThread common #11 - Builder_3-Generation 4.2.107] DEBUG BacktestRunner - Backtest runner Strategy 4.2.107 started




Error Log 2:
19:39:07.832 [Blocking computeThread common #0 - Builder_1-Generation 2.4.148] DEBUG BacktestEngine - Backtest finished in : 2448 ms.
19:39:07.832 [Blocking computeThread common #0 - Builder_1-Generation 2.4.148] DEBUG BacktestEngine - Stats computation finished in : 49 ms.
19:39:07.833 [Blocking computeThread common #0 - Builder_1-Generation 2.4.148] DEBUG BacktestRunner - Fitness computed to: 0.3301435418160734
19:39:07.833 [Blocking computeThread common #0] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 2.4.148
   - Main test - dismissed: Global filter:Profit factor[Main data] (1.01) > 1.3in 2.50 s.
19:39:07.833 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_1-Generation 2.4.148(a1ab51_Builder_1) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:39:07.833 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:39:07.833 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_1-Generation 2.4.162(a1ab51_Builder_1). Blocking: true
19:39:07.833 [Blocking computeThread common #0 - Builder_1-Generation 2.4.162] DEBUG BacktestEvaluator - --- Job Strategy 2.4.162 started
19:39:07.833 [Blocking computeThread common #0 - Builder_1-Generation 2.4.162] DEBUG BacktestRunner - Backtest runner Strategy 2.4.162 started
19:39:07.840 [Blocking computeThread common #0] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 2.4.162
   - Exception in backtest: Invalid output index: 3 in block KeltnerChannel - in 0.01 s.
19:39:07.840 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_1-Generation 2.4.162(a1ab51_Builder_1) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:39:07.840 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:39:07.840 [Blocking computeThread common #0] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_1-Generation 2.4.163(a1ab51_Builder_1). Blocking: true
19:39:07.840 [Blocking computeThread common #0 - Builder_1-Generation 2.4.163] DEBUG BacktestEvaluator - --- Job Strategy 2.4.163 started
19:39:07.840 [Blocking computeThread common #0 - Builder_1-Generation 2.4.163] DEBUG BacktestRunner - Backtest runner Strategy 2.4.163 started




Error Log 3:
19:49:35.687 [Blocking computeThread common #5 - Builder_1-Generation 2.12.122] DEBUG BacktestDataFeed - SEND TOOK: 2457 ms, ticks: 22957460
19:49:35.738 [Blocking computeThread common #5 - Builder_1-Generation 2.12.122] DEBUG BacktestEngine - Backtest finished in : 2457 ms.
19:49:35.738 [Blocking computeThread common #5 - Builder_1-Generation 2.12.122] DEBUG BacktestEngine - Stats computation finished in : 51 ms.
19:49:35.738 [Blocking computeThread common #5 - Builder_1-Generation 2.12.122] DEBUG BacktestRunner - Fitness computed to: 0.5424836515753937
19:49:35.738 [Blocking computeThread common #5] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 2.12.122
   - Main test - dismissed: Global filter:Profit factor[Main data] (1.03) > 1.3in 2.51 s.
19:49:35.738 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_1-Generation 2.12.122(a1ab51_Builder_1) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:49:35.738 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:49:35.738 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_1-Generation 2.12.136(a1ab51_Builder_1). Blocking: true
19:49:35.739 [Blocking computeThread common #5 - Builder_1-Generation 2.12.136] DEBUG BacktestEvaluator - --- Job Strategy 2.12.136 started
19:49:35.739 [Blocking computeThread common #5 - Builder_1-Generation 2.12.136] DEBUG BacktestRunner - Backtest runner Strategy 2.12.136 started
19:49:35.742 [Blocking computeThread common #5] DEBUG c.s.t.project.ProgressEngine - Build strategies : Strategy 2.12.136
   - Exception in backtest: Invalid output index: 2 in block MTKeltnerChannel - in 0.00 s.
19:49:35.742 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Job Builder_1-Generation 2.12.136(a1ab51_Builder_1) finished. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:49:35.742 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Trying to execute job. Running blocking jobs: 14, non-blocking tasks: 4. Available cores:15, Waiting tasks:0
19:49:35.742 [Blocking computeThread common #5] DEBUG c.s.g.c.p.MultithreadComputePerformer - Running job: Builder_1-Generation 2.12.137(a1ab51_Builder_1). Blocking: true
19:49:35.742 [Blocking computeThread common #5 - Builder_1-Generation 2.12.137] DEBUG BacktestEvaluator - --- Job Strategy 2.12.137 started
19:49:35.742 [Blocking computeThread common #5 - Builder_1-Generation 2.12.137] DEBUG BacktestRunner - Backtest runner Strategy 2.12.137 started

Attachments
Awesome Oscillator.cfx
(35.32 KiB)
log_2022_09_07.zip
(1.61 MiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

HS
#1

NAPA

07.09.2022 14:26

Task created

TT
#2

Tamas

08.09.2022 15:40

Subject changed from [B136 Dev3] Exception happens when testing KeltnerChannel block. to [B136 Dev3] Exception happens when testing KeltnerChannel block. - Invalid output index: 2

MF
#3

Mark Fric

19.09.2022 11:34

Status changed from New to Refused

this is "normal", it means that the strategy produced by genetic evolution has incorrect output index. This strategy is then skipped, and this is only information message, it doesn't affect the results - incorrect strategies are simply not used.


We do have checks on many things when doing genetic crossover and mutation, but is is not possible to check for everything - or it would be too slow.


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please