Gamestudio Links
Zorro Links
Newest Posts
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (VoroneTZ), 9,291 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Balanced signals, accounting for commission #484312
10/06/21 12:29
10/06/21 12:29
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline OP
Member
MegaTanker  Offline OP
Member
M

Joined: Aug 2021
Posts: 101
The advise functions have this optional flag to generate balanced signals and so far it has worked well for me, but it doesn't seem to account for commission. Probably only the actual trade PnL without the fees. I imported the Signals csv in R to check the balance. Without commission, it is balanced roughly 50% positive 50% negative, but with commission, the ratio of positive trades is much lower as you would expect due to commission and this doesn't seem to get compensated. TrainMode is set to TRADES.

Is there a way to account for this?

Re: Balanced signals, accounting for commission [Re: MegaTanker] #484316
10/07/21 07:32
10/07/21 07:32
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
When you train on trade returns, commissions are included. When you train on price changes, they are not included. BALANCED enforces 50% positive and negative training targets regardless of commissions.

Re: Balanced signals, accounting for commission [Re: MegaTanker] #484318
10/07/21 14:13
10/07/21 14:13
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline OP
Member
MegaTanker  Offline OP
Member
M

Joined: Aug 2021
Posts: 101
This is what I assumed, but it didn't work when I tried it. I was using negative commission for a percentage fee when it didn't work so I tried a fixed commission. It works with Commission = 1 but it produces unbalanced signals with commission = -1.
I think it doesn't account for percentage commissions

Re: Balanced signals, accounting for commission [Re: MegaTanker] #484319
10/07/21 14:52
10/07/21 14:52
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
It does. Whatever the problem is, it's likely neither commission nor balance.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1