IC Markets cTrader 5.0.50 uses other cAlgo.API than the cAlgo.API in the nuget package 1.0.10

Created at 09 Jan 2025, 11:58
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!
AN

andi21

Joined 14.12.2016

IC Markets cTrader 5.0.50 uses other cAlgo.API than the cAlgo.API in the nuget package 1.0.10
09 Jan 2025, 11:58


Dear cTrader Team,

the current version “IC Markets cTrader 5.0.50” seems to use a different cAlgo.API than the cAlgo.API which is used in the nuget package 1.0.10.

So in Visual Studio there are the new overloadings of the for example ModifyPendingOrder, PlaceLimitOrder etc. methods which accept the new parameters stopLoss and takeProfit instead of the old version which accepted stopLossPips and takeProfitPips.  

The build in editor in cTrader displays the old version so stopLossPips and takeProfitPips.

So when i build the project in Visual Studio in which i am using the new overloadings, cTrader is not able to call these new methods (throws an exception) because it uses the old version which only knows about the overloadings with stopLossPips and takeProfitPips.

Best regards,

andi21


@andi21
Replies

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