Enable logging when running the bot for real
Enable logging when running the bot for real
17 Aug 2022, 15:47
Hi,
I have been back testing a bot and I am now running it for real against a demo account. The issue I am having is that the live bot is missing trades where as when back testing it, the trades are picked up and executed. Is there any way I can get the bot to create a log file when it is running for real? When I run the bot on the back tester I can print out logs and view them in the log tab. Is this available when running the bot for real? I can only see the journal but I cant log to that.
Cheers,
Jay
Replies
jaydcrowe1989
17 Aug 2022, 16:44
RE:
PanagiotisCharalampous said:
Hi Jay,
You can use the Print() method to print entries in the log.
Best Regards,
Panagiotis
Hi thanks for the reply. Yes this works when back testing the bot but what about when I run it for real?
@jaydcrowe1989
PanagiotisCharalampous
17 Aug 2022, 16:50
Hi Jay,
It should work in real time too.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
17 Aug 2022, 16:31
Hi Jay,
You can use the Print() method to print entries in the log.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous