Topics
Replies
bodhisvaha.forex
12 Jun 2020, 14:54
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
I am not sure I understand your question. If you know that it is UTC Time then what time do you still need to get? If you want to find out what is the UTC Time then you can use DateTime.UtcNow
Best Regards,
Panagiotis
Hi Panagiotis,
Thank you for your reply. But I understood about UTC and DateTime.UtcNow. I just want to know whether there is any way to get server time from cTrader server or not. I need to know this for my job. Could you answer my question?
@bodhisvaha.forex
bodhisvaha.forex
12 Jun 2020, 14:36
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
The server uses UTC time.
Best Regards,
Panagiotis
Hi Panagiotis,
Thank you for your reply. I know server time is UTC time. Could you tell me whether there is any way to get server time from cTrader server or not?
@bodhisvaha.forex
bodhisvaha.forex
28 May 2020, 12:34
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
You will receive a new token and refresh token.
Best Regards,
Panagiotis
Hi Panagiotis,
Thank you for your reply
@bodhisvaha.forex
bodhisvaha.forex
28 May 2020, 09:00
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
You cannot get a token that does not expire. You need to refresh your tokens before they expire using the refresh token. You can read more about the authentication process here.
Best Regards,
Panagiotis
Hi Panagiotis,
Thank you for your reply. I have one more question. If I make refresh token request, current access token will be changed? Or current access token will not be changed and expire time will be postponed?
@bodhisvaha.forex
bodhisvaha.forex
28 Apr 2020, 04:37
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
This tag is only used for limid orders. You cannot use it for a market order
Best Regards,
Panagiotis
Hi Panagiotis,
I understand. Thank you for your reply.
Best Regards
@bodhisvaha.forex
bodhisvaha.forex
26 Apr 2020, 13:52
( Updated at: 21 Dec 2023, 09:22 )
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
Yes this is correct. With this tag you can control slippage. It is the worst price you accept to take. If the order cannot be filled completely under this condition then your order will not be filled or filled partially.
Best Regards,
Panagiotis
Hi Panagiotis,
Thank you for your reply. Sorry, I have one more question. I sent merket order with Price field and got this error like below image. Could you tell me about this error? I want to send merket order with Price field in order to avoid the slippage.
Best Regards
@bodhisvaha.forex
bodhisvaha.forex
26 Apr 2020, 13:44
RE:
PanagiotisCharalampous said:
Hi bodhisvaha.forex,
I am not sure what do you mean when you say "to lose it". Order information is not provided by FIX API. You need to keep track of this information yourself and make sure you do not lose it.
Best Regards,
Panagiotis
Hi, Panagiotis,
I understand and I will do so. Thank you so much for your reply.
Best Regards
@bodhisvaha.forex
bodhisvaha.forex
12 Jun 2020, 15:06
RE:
PanagiotisCharalampous said:
Thank you for your answer.
@bodhisvaha.forex