Is it possible to manipulate the ACCOUNT_BALANCE variable in any way (I've tried but keep getting errors when I compile, maybe I'm doing something wrong?)? If so, I can calculate and subtract the commission from my balance after every trade. If not does anyone have any way to account for commissions when backtesting? Thanks.
- include order commission on close of last order
- How to set zero commission for backtesting?
- Errors, bugs, questions
nameless nameless:
Is it possible to manipulate the ACCOUNT_BALANCE variable in any way (I've tried but keep getting errors when I compile, maybe I'm doing something wrong?)? If so, I can calculate and subtract the commission from my balance after every trade. If not does anyone have any way to account for commissions when backtesting? Thanks.
The backtest accounts for commission. You don't need to do it manually.
Is it possible to manipulate the ACCOUNT_BALANCE variable in any way (I've tried but keep getting errors when I compile, maybe I'm doing something wrong?)? If so, I can calculate and subtract the commission from my balance after every trade. If not does anyone have any way to account for commissions when backtesting? Thanks.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register