Topics
Replies
PanagiotisCharalampous
11 Jan 2021, 10:20
Hi jayteasuk,
The limits are 100000 rows or one week of data.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 09:41
Hi viniciusfre,
As per the documentation, the format is milliseconds. You can check our .Net Sample.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 09:36
Hi firemyst,
1) Yes
2) Yes
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 09:19
Hi jayteasuk
Your ProtoOAGetTickDataRes has a hasMore field. If this is set to true, it means that not all data have been sent and you need to request them again using the last timestamp as the new TO value. Execute this recursively until you receive all the data.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 09:06
Hi evgrinaus,
Your broker is informed about cTrader maintenance. They should be informing you. Also you can check your mobile application, you should receive a maintenance status.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 09:02
Hi TraderAcademyThailand,
What is AgileDotNet. Do you use any custom indicators in your cTrader?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 08:57
Hi ,
Try changing
else if (SellOrder3 != null)
{
foreach (var position in Positions)
{
if (position.Pips > 30)
{
ClosePosition(position);
}
}
}
to
if (SellOrder3 != null && SellOrder3.Pips > 30)
{
foreach (var position in Positions)
{
ClosePosition(position);
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 08:48
( Updated at: 21 Dec 2023, 09:22 )
Hi ifadi123,
You can do this by dragging the time counter to the left.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 16:34
Hi Tiago,
So, since we have no idea how to mitigate the possible LP issue (it's not a thing that we can just switch, or am I wrong?), do you think trying it on another broker would fix the issue?
You can try
Another thing i just thought of, we did some tests on demo and this did not occur, is it possible that when using demo, the LP's won't be an issue as the orders won't even go there?
Demo orders are not sent to the liquidity provider.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 14:34
Hi Tiago,
I mean liquidity provider.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 13:39
Hi progy85,
If you need somebody to develop this for you, you can contact a Consultant or post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 12:19
Hi tperalta82,
I don't think there will be any difference. cTrader used a similar protocol to Open API so I would not expect a faster communication, neither I think this is a network latency issue. My suspicion is that the delay might be on the LPs side.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 12:06
Hi Ikares92,
It seems to be an execution issue so I would advise you to contact your broker regarding this matter.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 11:51
( Updated at: 08 Jan 2021, 12:01 )
Hi JeanPaul,
We appreciate your constructive criticism and we are seriously taking them into consideration
Misleading Name
It used to be a REST based API which we converted to a Protocol Buffers API. We kept the name though. Some comments below
Naming Conventions
You are right about this. The current sample is a community project and an amalgamation of previous community based samples which did not go through a proper software lifecycle process, neither do they adhere to serious coding standards.
Bug
Thanks for spotting, we will fix it
The Winforms Sample
Same as above. This is not an SDK or something we propose users to use to build production code on top. The sole purpose of this sample is to give people not familiar with Protocol Buffers an idea how to send and receive messages. That's all. Up to now it serves it's purpose well. We plan to build a comprehensive SDK using proper coding and quality standards in the future.
Documentation
Your suggestions are noted and we will try to improve the documentation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 11:28
Hi nguyendan81985,
Then you have done something wrong but I do not know what it is without the source code.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 08:30
Hi nguyendan81985,
You should put your code in OnTick() method rather than in OnBar().
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 08:29
Hi firemyst,
He is looking for the reason in the HistoricalTrade class.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 08:24
( Updated at: 21 Dec 2023, 09:22 )
Hi Zenbook,
Based on the logs, it seems that you just changed the TP, you did not remove it. If you have removed it, it would like below
As you can see above, I just tried this twice and there is no issue with the UI and the functionality of the application.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Jan 2021, 08:17
Hi tperalta82,
During peak hours, it might take some time for your order to be filled if the infrastructure (servers, LPs etc) is busy. If you want to avoid UI freezing, try using ClosePositionAsync.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jan 2021, 10:35
Hi SmallStep,
These issues should have been fixed in cTrader Web 4.0. You can check here https://ct.spotware.com/copy/strategy/11419
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous