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
Dear All,
I tried to write a log file in backtesting. The log file function records the account balance. When I placed the file write function at void OnTick(), I got the same value in the log file. However, during the backtesting, the account balance were changed in many times. The log file should have many different values.
Does anyone know where is the root cause?
here is my code. Thank you very much.