Topics
13 Dec 2021, 18:31
 1317
 3
07 Oct 2021, 11:15
 1
 1101
 1
20 Nov 2017, 11:43
 0
 2076
 4
15 Aug 2017, 22:13
 2746
 2
Replies

andi21
24 Mar 2025, 18:50

RE: RE: RE: RE: RE: RE: RE: Not able to build cBots after new update.

jonlangdon said: 

andi21 said: 

jonlangdon said: 

andi21 said: 

soskrr said: 

BernhardCS said: 

andi21 said: 

I can build with no errors now - has been fixed with the new nuGet Package 1.0.12.

Thank you for the quick correction of this exception.

Best regards,

andi21

Hi andi21,

thanks, works for me also as well now.

Best regards,

Bernhard

Hi, how did you update the package?

I think if you use the BuiltIn-Editor in cTrader it should be the same behaviour like in Visual Studio, so if you rebuild the project in Visual Studio the nuget-Packages should also be updated. Have a look in the solution explorer of Visual Studio:

[ProjectName]

  Dependencies

     Packages

        cTrader.Automate (1.0.12)

Best regards,

andi21

 

Thanks guys - building for me too now.

I have however had some problems debugging - symbols not loaded, so my breakpoints are not hit…

I'm looking into it at the moment in case it's an issue on my end but just thought I'd post to see if anyone else has the same problem?

Do symbols need to be packaged with the release?

Best Regards,

 

I just tried to debug - at my site debugging works.

Best regards,

andi21

Thanks for the reply Andi,

I'm still stuck unfortunately…

Were you able to debug referenced projects?

Do you know where I should be looking for the .pdb files for symbols?

is it here “C:\Users\jonla\AppData\Local\Spotware\cTrader\abb70432efbee65d18af69e79fe8efe1\app_5.2.5.38882\algohost.netcore”?

Thanks,

Jon

Yes, i was able to debug referenced projects.

Unfortunately no - i don't know where you should be looking for the .pdb files for symbols - i'm sorry.

I hope you can solve this debugging problem.

Best regards,

andi21


@andi21

andi21
24 Mar 2025, 11:58

RE: RE: RE: RE: RE: Not able to build cBots after new update.

jonlangdon said: 

andi21 said: 

soskrr said: 

BernhardCS said: 

andi21 said: 

I can build with no errors now - has been fixed with the new nuGet Package 1.0.12.

Thank you for the quick correction of this exception.

Best regards,

andi21

Hi andi21,

thanks, works for me also as well now.

Best regards,

Bernhard

Hi, how did you update the package?

I think if you use the BuiltIn-Editor in cTrader it should be the same behaviour like in Visual Studio, so if you rebuild the project in Visual Studio the nuget-Packages should also be updated. Have a look in the solution explorer of Visual Studio:

[ProjectName]

  Dependencies

     Packages

        cTrader.Automate (1.0.12)

Best regards,

andi21

 

Thanks guys - building for me too now.

I have however had some problems debugging - symbols not loaded, so my breakpoints are not hit…

I'm looking into it at the moment in case it's an issue on my end but just thought I'd post to see if anyone else has the same problem?

Do symbols need to be packaged with the release?

Best Regards,

 

I just tried to debug - at my site debugging works.

Best regards,

andi21


@andi21

andi21
21 Mar 2025, 12:37

RE: RE: RE: Not able to build cBots after new update.

soskrr said: 

BernhardCS said: 

andi21 said: 

I can build with no errors now - has been fixed with the new nuGet Package 1.0.12.

Thank you for the quick correction of this exception.

Best regards,

andi21

Hi andi21,

thanks, works for me also as well now.

Best regards,

Bernhard

Hi, how did you update the package?

I think if you use the BuiltIn-Editor in cTrader it should be the same behaviour like in Visual Studio, so if you rebuild the project in Visual Studio the nuget-Packages should also be updated. Have a look in the solution explorer of Visual Studio:

[ProjectName]

  Dependencies

     Packages

        cTrader.Automate (1.0.12)

Best regards,

andi21


@andi21

andi21
21 Mar 2025, 11:28

I can build with no errors now - has been fixed with the new nuGet Package 1.0.12.

Thank you for the quick correction of this exception.

Best regards,

andi21


@andi21

andi21
20 Mar 2025, 21:07

Dear Community,

i have the same problem / exception here, too.

cTrader 5.2.5

cTrader.Automate 1.0.11

Hope anyone can help us with this.

Best regards,

andi21


@andi21

andi21
14 Jan 2025, 11:32

Dear cTrader Team,

is there any update in sight that will solve this “situation”, so i can work on my project?

Best regards,

andi21


@andi21

andi21
18 Aug 2023, 12:55

Dear noolohp,

please have a look at the latest answer here for an update of this problem:

cTrader Forum - Symbol 'XAUUSD t1' cached data not available or corrupted

Best Regards,

Andi21


@andi21

andi21
18 Aug 2023, 12:55

Dear Xavier R,

please have a look at the latest answer here for an update of this problem:

cTrader Forum - Symbol 'XAUUSD t1' cached data not available or corrupted

Best Regards,

Andi21


@andi21

andi21
18 Aug 2023, 12:53

Dear cTrader Team and Traders,

cTrader Team was able to find the problem. There is a problem with access permissions while reading the tick-Data when the bot has AccessRights.None set.

So as a temporary “workaround” - while the problem is further investigated and fixed - you can adjust the robot annotation of the bot:

[Robot(AccessRights = AccessRights.FullAccess)] // Instead of AccessRights.None

public class NewcBot : Robot
{

Best Regards,

Andi21


@andi21

andi21
14 Dec 2021, 09:42

Hi Panagiotis,

yes, sure - i use Xiaomi Redmi Note 10 Pro.

Thank you in advance.

Best Regards,

Andi21


@andi21

andi21
25 Aug 2021, 15:39

Still not solved yet?

Dear cTrader Team,

i just had the same problem in the current Android app.

Is that behaviour still not adjusted yet?

Best regards,

andi21


@andi21

andi21
04 Sep 2020, 12:49

RE:

PanagiotisCharalampous said:

Hi andi21,

This is not a bug, it works by design. SL is set on the requested distance from the position's entry price. StopTriggerMethod affects only the trigger method, not the SL price level.

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis,

yes, i am aware of that.

But the key point is (in the example above with the sell position and triggermethod opposite), that the sl is discarded by the ExecuteMarketOrder-Method, although it should accept it, because the requested sl is though BELOW Ask, but ABOVE Bid and triggering is done by Bid with triggermethod opposite in sell positions.

Best Regards,

andi21 


@andi21

andi21
27 May 2020, 13:28

RE:

PanagiotisCharalampous said:

Hi Andreas,

We have investigated this issue and we understand the problem you are facing. However GetBars() works as designed. When you get bars from other timeframes, you get all the finalized bars and finalized values. You should be aware of this fact when you use these values. We do not plan to change the way it works at the moment. Hence if this functionality does not fit the needs of your indicator then you will need to redesign your indicator and code it in a different way.

Best Regards,

Panagiotis 

Join us on Telegram

Hi Panagiotis,

in this case i have to think about how to workaround this behaviour.

Nevertheless i thank you for your answer and that you have taken time to investigate this issue.

Best Regards,

Andreas


@andi21

andi21
25 May 2020, 12:44

RE: RE:

Hi Panagiotis,

is there any update on this subject?

I think this is very important, because it affects all customers who are using an indicator with a timeframe other than the chart-timeframe and who are relying on the data which is calculated through the initial calculate from cTrader (past until now).

Best Regards,

Andreas

 


@andi21

andi21
30 Apr 2020, 12:41

RE:

PanagiotisCharalampous said:

Hi Andreas,

I have forwarded this to the product team. I will let you know as soon as I have a reply.

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis,

that is very good - thank you for your respone.

Best Regards,

Andreas


@andi21

andi21
30 Apr 2020, 12:21

Hello Spotware Team,

could you have a look at the topic i posted 2 days ago, please?

Thank you,

Andreas


@andi21

andi21
24 Apr 2019, 16:50

Hi Panagiotis,

thanks for the further clarification. That is what i would expect. But in my case i only use built in SL and TP, so that should be fine for m1 or h1 bar data.

Best Regards,

andi21


@andi21

andi21
24 Apr 2019, 16:41

Hi Panagiots,

ah, i see.

Ok, that is good like i would expect it.

 

In my cBot i use the OnTick-override though, but within the method i execute code only if a new bar is processed (bar index has changed). So my bot processes something only once per new bar.

I know that i could use the OnBar-override instead, but i prefer the OnTick-override.

 

So the conclusion is, that - also in my case (using OnTick-override, but internal processing within my method is done only once per new bar) - SL and TP are triggered correctly so not depending only on open prices if using "only open prices"-mode.

Thank you for your fast and purposeful help.

Best regards,

andi21


@andi21

andi21
24 Apr 2019, 16:09

Hi Panagiotis,

yes, that is what i would expect. But based on the data mode "only open prices", internally it is possibly handled different (just simple based on open prices).

Best Regards,

andi21


@andi21

andi21
24 Apr 2019, 15:52 ( Updated at: 21 Dec 2023, 09:21 )

Hi Panagiotis,

thanks for your very fast answer.

I have created an example scenario in an image:

Best Regards,

andi21


@andi21