Topics
Replies
Spotware
06 Nov 2014, 17:17
RE:
mijo212 said:
ExecuteMarketOrderAsync "Execute a market order in asynchronous execution mode" is not possible because the platform freezes at send of more than 10 positions.
Dear Trader,
We've checked execution of 20 commands in parallel. Unfortunately, we cannot reproduce the problem. If you can provide us more information regarding the issue please send it to troubleshooting@spotware.com
@Spotware
Spotware
06 Nov 2014, 09:39
Dear Trader,
Brokers cannot manipulate with execution time. cTrader is a proper NDD/STP type of a platform.
Even if you have several milliseconds latency to cServer, the execution time depends on liquidity provider that fills your order. You can control execution price by using Market Range or Limit orders.
Please contact your broker for further information.
@Spotware
Spotware
05 Nov 2014, 17:57
( Updated at: 21 Dec 2023, 09:20 )
You can configure email alerts by following steps:
- Log In to your cTrader ID. If you don't have it you can register it for free by pressing Sign Up.
- Click on "Email Notifications" icon
- Select desired alerts
In such case you don't need to code anything in your cBot.
@Spotware
Spotware
05 Nov 2014, 14:09
RE:
AlexanderRC said:
Should not OnError() virtual method be marked as [Obsolete]?
OnError is not obsolete, it handles errors from both API approaches.
As it is not possible to deduce which API call caused the error?
No, it is not possible. We plan to add TradeOperation to TradeResult in the future.
@Spotware
Spotware
05 Nov 2014, 11:57
The problem I encountered is that [Robot] attribute is recognized even when it is enclosed in //, /**/ comments
We can recommend you to remove Robot attribute instead of putting it into the comment. We are not going to change this behavior in near future.
You should get an error message "Project "Robot1.csproj" contains more than one algo source file."
We will change this message.
I am trying to create a Multi-cBot backtest solution here by gathering several cBots into one.
cAlgo and cTrader do not support .algo files with several algo types (cBots or Indicators).
Also, symbols defined at the project level seem to be ignored.
You are right, conditional compilation symbols are ignored. We will consider to support conditional compilation in the future.
@Spotware
Spotware
04 Nov 2014, 17:17
Hello,
Unfortunately, at the moment this is not supported.
Keep in mind that you may promote your ideas here:
http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo
@Spotware
Spotware
10 Nov 2014, 09:38
No, there is no such way.
Positions and History collections do not have this issue.
No, OnStart is called only once on cBot start.
Unfortunately no. Positions and PendingOrders collections are updated independently. As a workaround you can place a pending order far away from spot prices. Then if PendingOrders.Count > 0 that will mean that PendingOrders collection is in valid state and you can check it for your other orders.
@Spotware