PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
07 Oct 2024, 06:06

RE: RE: RE: Cloud server not executing

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS


@PanagiotisCharalampous

PanagiotisCharalampous
07 Oct 2024, 05:59

Hi there,

Max drawdown is measured from max equity, not from starting balance.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Oct 2024, 05:56

Hi there,

It's a bug.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Oct 2024, 05:45

Hi there,

The reason is that cTrader used to use ClickOnce for installation. The default path for installation of ClickOnce applications is C:\Users\[User]\AppData\ for security reasons. So if Microsoft, the developer of the OS and ClickOnce does not see a problem with installing applications in that folder, I don't see either.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:39

Hi there,

We do not respond to suggestions as there is no question to answer. The teams review them and take into consideration the popular ones. Unfortunately we cannot engage into a discussion for every user's idea since most of them are either not very popular or are just personal requests, some of them conflict with our vision of the platform, some are conflicting with what other users want and some are really bad ideas.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:38

Hi there,

We do not respond to suggestions as there is no question to answer. The teams review them and take into consideration the popular ones. Unfortunately we cannot engage into a discussion for every user's idea since most of them are either not very popular or are just personal requests, some of them conflict with our vision of the platform, some are conflicting with what other users want and some are really bad ideas.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:33

RE: [Suggestion 5][Place cTrader Executable in Program Files]

R0bot said: 

PanagiotisCharalampous said: 

Before answering your question, can you please provide a practical example of a problem you face with the existing structure?

Currently, I haven't encountered any issues with the cTrader Desktop executable file being located in AppData

I believe in preventing potential problems rather than only reacting when an issue arises. 

By storing critical files like the executable in Program Files, I think it adds an extra layer of protection and reduces the likelihood of unauthorized modifications, ensuring greater stability and security for the application in the long term.

Can you think of such a potential problem? Because I cannot think of any. The team will not proceed to any modifications without a solid reason.


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:21

Hi there,

It is not possible to get the values from the chart indicator. You would need to create the indicator inside your cBot instead.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:20

Hi there,

Can you please share the cBot code so that we can reproduce the issue?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2024, 06:16

RE: failed to get trading status

bronzeboyvn2011 said: 

1) My quickfix C++ client can log in IcMarkets cServer now.

20241004-13:42:08.267808000 outgoing >

8=FIX.4.4|9=124|35=A|49=demo.icmarkets.9208883|56=cServer|34=1|57=QUOTE|52=20241004-13:42:08.267|98=0|108=30|141=Y|553=9208883|554=PZOS2560|10=234|

20241004-13:42:08.627457000 incoming <

8=FIX.4.4|9=99|35=A|34=1|49=cServer|50=QUOTE|52=20241004-13:41:40.825|56=demo.icmarkets.9208883|98=0|108=30|141=Y|10=115|

It seems fine!

2) Then I send request to get trading status

20241004-13:42:08.627571000  outgoing >

8=FIX.4.4|9=106|35=g|34=2|49=demo.icmarkets.9208883|52=20241004-13:42:08.627|56=cServer|57=QUOTE|263=0|335=2|336=PRE-OPEN|10=185|

20241004-13:42:08.814645000 incoming <

8=FIX.4.4|9=135|35=3|34=2|49=cServer|50=QUOTE|52=20241004-13:41:41.009|56=demo.icmarkets.9208883|45=2|58=Invalid MsgType, field=35|371=35|372=g|373=11|10=042|

20241004-13:42:08.667864000 outgoing >
8=FIX.4.4|9=106|35=g|34=3|49=demo.icmarkets.9208883|52=20241004-13:42:08.667|56=cServer|57=QUOTE|263=0|335=3|336=PRE-OPEN|10=191|

20241004-13:42:08.846056000 outgoing <
8=FIX.4.4|9=135|35=3|34=3|49=cServer|50=QUOTE|52=20241004-13:41:41.044|56=demo.icmarkets.9208883|45=3|58=Invalid MsgType, field=35|371=35|372=g|373=11|10=043|

The responses have 35=3 (MsgType = Reject). I'm not sure about TradingSessionID of IcMarkets (336=PRE-OPEN). How we can get the correct value for TradingSessionID of IcMarkets' cTrader ?

Hi there,

Message 35=g is not supported by cTrader FIX API. You can find the available messages in the link below

https://help.ctrader.com/fix/specification/

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 13:53

Hi there, 

Please talk to your broker regarding execution issues.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 13:50

Hi there,

The tool is currently under development.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 13:48

Hi there,

For the TP, my bot is managing multiple position at the same time, I have to change the TP when the position is opened. So the only option I was thinking about is to store in LocalStorage the TargetPrice for every position and then calculate manually the TP and modify it. Is it my only way?

More or less, yes, you would need to track the orders on your side. It would be better to use the label or comment and a guid to identify them though.

About the Stop Limit order entry, you say that the spread is irrelevant but on some US30 position yesterday I was not filled and I was thinking of the spread. 

Let s say that the spread is 3 and I set a Long Stop Limit with a TargetPrice at 100 and a range at 2, is it possible to be filled?

Yes. The spread is not relevant, you need to look at the VWAP DoM instead.

Best regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 08:11

Hi there,

No that is not possible.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:57

Hi there,

See below :)

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:56

Hi there,

Isn't the message self explanatory? You are missing tag 57 in your logon message.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:45

RE: RE: RE: RE: Syncronisation lack of alternative

eliezer_barros said: 

PanagiotisCharalampous said: 

eliezer_barros said: 

PanagiotisCharalampous said: 

Hi there,

You can't skip this as you cannot have full access cBots on the cloud. You need to choose one of the two choices.

Best regards,

Panagiotis

How can I stop syncing or choose between using cloud or local scripts?

You can disable synchronization in Settings

 

ok, that's solved.

Please, another question, if I want to have access to the cloud or the local script without synchronization. How to do it?

Tks

Eli

You can't have access to the cloud without synchronization


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:44

Hi there,

This feature is not available on cTrader for Mac at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:42

Hi there,

It's a bug in the forum and it was posted twice. Also this is not a suggestion therefore it will be deleted.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Oct 2024, 05:41

Hi there,

Before answering your question, can you please provide a practical example of a problem you face with the existing structure?

Best regards,

Panagiotis


@PanagiotisCharalampous