Unfortunately we cannot help you with your issue in this forum. If you have disputes with the broker, please contact the regulator and your local authorities. Also this thread will be deleted, since broker reviewing is beyond the scope of this community and defaming is not allowed.
RE: RE: Listing all Orders, Positions where the Deal Status is Rejected
Can I programmatically list the ExecutionTime instead? My TakeProfit or LimitOrder are not executed despite the price being matched.
Not sure what do you mean here. Can you elaborate?
Also, is it normal for US500_SB to take 300ms? The LO and TP are already on cTrader - but in case it matters - the hired VPS is in New York. Importantly, the VPS provider said that Metatrader takes 1-2 ms for execution. I don't understand how this can be true.
This is the matching time, not cTrader's latency. It is the time it took for the order to be executed by the liquidity provider. This is not controlled by cTrader
I’ve tried using the suggested URL https://openapi.ctrader.com/apps/token in almost every possible place in my code, including replacing both the auth_url and token_url:
python
Code kopieren
# URLs for authentication and token retrieval self.auth_url = 'https://openapi.ctrader.com/apps/auth' self.token_url = 'https://openapi.ctrader.com/apps/token'
Unfortunately, despite these efforts, I’m still getting the "ACCESS_DENIED" error when trying to retrieve the access token.
Is there a specific way or place where this URL is supposed to be used that I might be missing? Also, would it be possible for someone to review my code or point out any common pitfalls I might be encountering?
Ελπίζω ειλικρινά να μπορέσετε να με βοηθήσετε περαιτέρω. Η υποστήριξή σας είναι ανεκτίμητη!
Με εκτίμηση,
Vasilios Gerasimou
Hi Vasilie,
Can you share a video demonstrating the exact steps you follow to receive this error, as well as the exact link for which the access is denied?
Best regards,
Panagiotis
Here the proceed frame by frame:
i click on the link:
copy the access token and paste it here:
After pressing the enter button:
This is what it looks like when I use the link you provided, or rather, an error already appears on the page where I retrieve the token.
Regards, Vasili.
Hi there,
It seems you are using the access token instead of the authorization code. You need to use the authorization code returned by the authorization url when it redirects back to the redirect uri.
Best regards,
Panagiotis
Hi there,
when i do it like this:
i get the same error. Can you explain it to me step by step.
Hi Vasilie,
For step by step instructions you should contact the script developer, I don't know what it does and how it should be used. What I see in the screenshots is that the application is asking for the authorization code but you are passing the token instead. The authorization code and the token are two different things.
Could you pleasesend us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
Best regards,
Panagiotis
Hi there,
Did you send troubleshooting report so that we can check?
I’ve tried using the suggested URL https://openapi.ctrader.com/apps/token in almost every possible place in my code, including replacing both the auth_url and token_url:
python
Code kopieren
# URLs for authentication and token retrieval self.auth_url = 'https://openapi.ctrader.com/apps/auth' self.token_url = 'https://openapi.ctrader.com/apps/token'
Unfortunately, despite these efforts, I’m still getting the "ACCESS_DENIED" error when trying to retrieve the access token.
Is there a specific way or place where this URL is supposed to be used that I might be missing? Also, would it be possible for someone to review my code or point out any common pitfalls I might be encountering?
Ελπίζω ειλικρινά να μπορέσετε να με βοηθήσετε περαιτέρω. Η υποστήριξή σας είναι ανεκτίμητη!
Με εκτίμηση,
Vasilios Gerasimou
Hi Vasilie,
Can you share a video demonstrating the exact steps you follow to receive this error, as well as the exact link for which the access is denied?
Best regards,
Panagiotis
Here the proceed frame by frame:
i click on the link:
copy the access token and paste it here:
After pressing the enter button:
This is what it looks like when I use the link you provided, or rather, an error already appears on the page where I retrieve the token.
Regards, Vasili.
Hi there,
It seems you are using the access token instead of the authorization code. You need to use the authorization code returned by the authorization url when it redirects back to the redirect uri.
Thank you for your reply and I just followed your instructions and submitted my technical issue from ctrader platform.
Best regards
Salileh
Hi Salileh,
We checked your troubleshooting and it seems that your broker does not have historical data for XAUEUR which is necessary for the conversion. Please provide us with the following information to reproduce this issue
PanagiotisCharalampous
21 Nov 2024, 06:43
Hi there,
In the documentation there are examples for all messages, indicating what the tag 57 should be for each message
https://help.ctrader.com/fix/specification/#messages
Best regards,
Panagiotis
@PanagiotisCharalampous