Difference between the history tab and log tab

Created at 31 Jul 2015, 22:37
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
EN

enginedave

Joined 28.10.2013

Difference between the history tab and log tab
31 Jul 2015, 22:37


I am working on a cBot within the OnBar method. I ran the back testing and as the following screen shots indicate there is a difference between the history tab and the log tab. The code snippet shown indicates the print statement to record that a new position is opened. As you can seen a position was opened (PID 000004) on the log tab but does not appear on the history tab. Any suggestions as to why this would occur.


@enginedave
Replies

Spotware
03 Aug 2015, 10:58

Dear Trader,

It seems the Position with PID 000004 was not closed during backtesting.

In the “History” tab you are able to see the trading history. Therefore open positions won’t be shown on the “History” tab.


@Spotware