
Topics
Replies
PanagiotisCharalampous
17 Nov 2020, 08:50
Hi mywebsidekicks,
Unfortunately I cannot help you with Python, as I do not have any experience with the language. If you used .Net, I would have been of greater assistance. I will reply only to the questions I know.
2) if TargetSubID=QUOTE then it needs to be QUOTE, else any string you want
3) Correct. But you should use the host names instead of the IP
4) Correct.
If the message is correct, then the most common reason the server might not respond is the credentials.
I would suggest that you first try to successfully login using the sample project and then compare your messages with the messages you get from the sample.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:37
Hi imrealfighter,
I am not sure about which pdf or which API are you referring to. We have a pdf only FIX API.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:32
Hi sutucha2004,
The strategy you are following has a minimum investment condition, hence you need to have this amount in your strategy at any time. Therefore there is only a small amount available to be withdrawn. If you want to withdraw more than that, you need to stop following the strategy.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:29
Hi jayteasuk,
I do not see an ProtoOAExecutionType.ORDER_FILLED event indicating that the order was filled. Also from what I see the volume is 0. How do you expect an order with volume 0 to be filled?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:24
Hi Nasser,
It looks fine to me. Make sure that you wait for the history to be retrieved.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:15
Hi trdrn,
Your calculations are wrong. You assume that ROI is equal to P&L change but this is not the case. You can read more about how ROI is calculated here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 16:16
Hi Nasser,
I did not understand what is the problem. Please explain.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 14:55
Hi Nobody,
If you expect it to appear in cTrader Code Editor, it won't. Try using Visual Studio.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 13:52
Hi Nobody,
I just tried this and seems to work fine for me
Can you confirm that the indicator builds successfully?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 11:33
Hi joaquin_que,
MarketSeries is obsolete therefore we hide the intellisense feature of cTrader editor. You are advised to use Bars instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 11:30
( Updated at: 21 Dec 2023, 09:22 )
Hi CharlieBrown,
Did you debug your cBot? I get an exception as soon as I run it
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 11:17
Hi coship00,
If you feel that the security of your account has been compromised, please change your password immediately.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 11:15
Hi Mattia,
Unfortunately it is not clear to us how to reporduce this behavior. Can you please outline the exact steps we need to follow to reproduce it?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 11:08
Hi notzen,
There is no such option at the moment unfortunately.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 10:58
Hi Buffett,
This is not possible from the API since we do not have the right to redistribute this information. If you need access to this information, you might want to contact them directly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 10:47
Hi Nasser,
To get more data you should use GetBars() instead of GetSeries() which is obsolete and then LoadMoreHistory() to retrieve more bars.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 10:39
Hi caglar_G,
There is no option for the shift in the API at the moment, but it is not hard to implement it yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 10:35
Hi imrealfighter,
There is no hotkey for this at the moment but we are looking into adding more hotkeys in future releases of the platform.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Nov 2020, 10:25
Hi Trinh,
There is no built in function for this at the moment, so you will have to calculate these values and export them yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Nov 2020, 08:54
Hi hgrams,
Yes you can. You need to ask from your broker to link your account with the relevant cTrader ID.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous