READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Number of trades

5 replies

kzfx

Customer, bbp_participant, community, 30 replies.

Visit profile

11 years ago #113891

Hello,

 

I would like to know how to use ‘Number of trades’ in Ranking Options.

 

In the manual, it is said:

———————————

Number of trades

simply a number of this strategy is the backtest. You can use this criterion to approximate some preset value you would like to achieve (for example total 100 trades). The value of this criterion will be bigger than strategies closer to the desired number of trades.

———————————

 

So, suppose if I set ‘Number of trades’ = 1000 (target) and ‘# of trades’ of a strategy is bigger than 1000 something like 1500, Fitness will have a higher score? In other words,

 

Bigger than 1000, higher score (Fitness) will be given?

or

Closer to 1000, higher score (Fitness)  will be given? 

 

 

Your help would be appreciated. Thank you.

 

Best regards,

kzfx

0

kzfx

Customer, bbp_participant, community, 30 replies.

Visit profile

11 years ago #131127

Soon after I posted a question, I tested only ‘Number of trades’ and found that “Closer to 1000, higher score (Fitness)  will be given?” is correct.

 

So is there any way to give a higher score (Fitness) if more ‘# of trades’ is generated like ‘Net profit’ and ‘Stability’? To put it another way, is there any way to change the type from ‘Approximate’ to ‘Maximize’ of ‘Number of trades’?

 

Best regards,

kzfx

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

11 years ago #131133

if you set 10000 instead of 1000 then you could achieve what you need since strategies with highest # of trades should have highest fitness ranking

0

kzfx

Customer, bbp_participant, community, 30 replies.

Visit profile

11 years ago #131136

Hello,

 

Unfortunately, it does not work when I tested with “Number of trades = 10000 (Weight=100)”. All the strategies get 0 in fitness when I select only “Number of trades” regardless of a strategy closer to 10000. 

 

Thank you,

kzfx

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

11 years ago #131167

When you see zeros it means that fitness rank is a very small number like 0.0000012 which appears as ‘0’ but still it works as I said. Just use a smaller number like 5000 and sort using ‘Fitness’ column to see how that works if you selected just ‘Number of Trades’ optimization criteria

0

kzfx

Customer, bbp_participant, community, 30 replies.

Visit profile

11 years ago #131189

I see. I think, as you said, 5000 seems to work properly. However, 10000 does not. For example, even if a strategy gets 9980 in # of trades, Fitness becomes 0.00. 

0

Viewing 5 replies - 1 through 5 (of 5 total)