Disable Jornal execution - too heavy OnTick()

Created at 29 Dec 2022, 16:35
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!
NC

ncel01

Joined 19.03.2020

Disable Jornal execution - too heavy OnTick()
29 Dec 2022, 16:35


Hello,

I have a cBot that manages dozens of orders OnTick(). As you can understand, it is not really fesible to manage the Jornal file under such conditions, as this will use a lot of harware resources.

To avoid such limitation, I'd like to know how to disable the Journal execution.

 

Thank you!


@ncel01
Replies

ncel01
30 Dec 2022, 14:02

RE:

Hi Panagiotis,

Is there a way to mitigate this limitation? This file can easily get to 1GB in few days which does not not seem to be feasible at all..
The latest cTrader version keeps crashing. The details are shown below:

Faulting application name: cTrader.exe, version: 4.5.3.11223, time stamp: 0x639b2276
Faulting module name: ntdll.dll, version: 10.0.22621.900, time stamp: 0xa97a9ed6
Exception code: 0xc00000fd
Fault offset: 0x000000000003d875
Faulting process ID: 0x0x1810
Faulting application start time: 0x0x1D91B941FEA3DF2
Faulting application path: C:\Users\User\AppData\Local\Spotware\cTrader\abb70432efbee65d18af69e79fe8efe1\cTrader.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: 0b08ee37-1008-417e-a465-167c3271f7c9
Faulting package full name: 
Faulting package-relative application ID: 

 

PanagiotisChar said:

Hi,

You can't

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 


@ncel01

ncel01
30 Dec 2022, 14:43

RE: RE:

Panagiotis,

I forgot to mention but this crash seem to be related to some disconnection.
When I look into the Jornal, after such crashes, "DISCONNECTED" is always mentioned on its latest logs:

2022.12.29 21:21:34.901 | → Request to amend order OID516549 (Price: 2735.06) is ACCEPTED (29/12/2022 21:21:34.403 UTC+0)
2022.12.29 21:21:34.901 | Request to amend order OID516549 is sent to server
2022.12.29 21:21:34.901 | Request to amend order OID516549 (Price: 2732.22) is sent to server
2022.12.29 21:21:52.009 | → Request to amend order OID516553 (Price: 7732.0) is REJECTED with error "DISCONNECTED"

...
2022.12.29 21:21:53.210 | → Request to amend order OID516555 is REJECTED with error "DISCONNECTED"
2022.12.29 21:21:53.211 | → Request to amend order OID516553 is REJECTED with error "DISCONNECTED"
2022.12.29 21:21:53.212 | → Request to amend order OID516552 is REJECTED with error "DISCONNECTED"
2022.12.29 21:21:53.213 | → Request to amend order OID516553 is REJECTED with error "DISCONNECTED"
2022.12.29 21:21:53.214 | → Request to amend order OID516553 is REJECTED with error "DISCONNECTED"

*** End of Journal ***

What I do not really understand is how a disconnection can cause cTrader to crash. Furthermore, when this has only lasted 1.2 sec, apparently.

I also doubt about any disconnection that has lasted this long.
 

Thank you.

 

ncel01 said:

Hi Panagiotis,

Is there a way to mitigate this limitation? This file can easily get to 1GB in few days which does not not seem to be feasible at all..
The latest cTrader version keeps crashing. The details are shown below:

Faulting application name: cTrader.exe, version: 4.5.3.11223, time stamp: 0x639b2276
Faulting module name: ntdll.dll, version: 10.0.22621.900, time stamp: 0xa97a9ed6
Exception code: 0xc00000fd
Fault offset: 0x000000000003d875
Faulting process ID: 0x0x1810
Faulting application start time: 0x0x1D91B941FEA3DF2
Faulting application path: C:\Users\User\AppData\Local\Spotware\cTrader\abb70432efbee65d18af69e79fe8efe1\cTrader.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: 0b08ee37-1008-417e-a465-167c3271f7c9
Faulting package full name: 
Faulting package-relative application ID: 

 

PanagiotisChar said:

Hi,

You can't

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 

 


@ncel01

PanagiotisCharalampous
02 Jan 2023, 09:31

Hi,

Is there a way to mitigate this limitation?

I am not aware of any. Regarding the crash, better send troubleshooting to the team the next time this happens.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisCharalampous

ncel01
02 Jan 2023, 14:02

RE:

Hi Panagiotis,

Best wishes for 2023!

Please consider the Journal to be partially managed by the users in the future.

Regarding the crash, I am never able to provide any troubleshooting since the process (app) terminates unexpectedly.

PanagiotisCharalampous said:

Hi,

Is there a way to mitigate this limitation?

I am not aware of any. Regarding the crash, better send troubleshooting to the team the next time this happens.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@ncel01

PanagiotisChar
03 Jan 2023, 09:13

Hi ncel01,

I don't work for Spotware anymore. You can use the Suggestions section :) 

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar

ncel01
03 Jan 2023, 16:12

RE:

Hi Panagiotis,

Yes, indeed. You've been always so helpful here that I've overlooked that.

I'll suggest for this.

 

PanagiotisChar said:

Hi ncel01,

I don't work for Spotware anymore. You can use the Suggestions section :) 

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@ncel01