Topics
16 Nov 2023, 07:42
 1135
 1
15 Nov 2023, 10:36
 2029
 16
Replies

Spotware
14 Apr 2014, 09:47

We can not reproduce such memory leaks by using our built-in samples.

Please review code of your cBots and Custom Indicators and try to find memory leaks there.


@Spotware

Spotware
14 Apr 2014, 09:39

You can specify label and comment in ExecuteMarketOrder, PlaceLimitOrder and PlaceStopOrder methods. If you would like to modify label and comment after that please post your idea to vote.spotware.com.


@Spotware

Spotware
11 Apr 2014, 09:14

No unfortunately there isn't


@Spotware

Spotware
10 Apr 2014, 12:43

In order to stop cBot by itself you can use Stop() method.


@Spotware

Spotware
10 Apr 2014, 09:12

RE: Statement

breakermind said:

Spotware said:

breakermind said:

Hi,

how to retrieve the history of closed positions from calgo robot?

bye

you can use History collection

Hi,

HOW ?

and what the label?

can I generate Statement from robot?

really could not read the history of the position from the robot (it is a joke unless)?

 

PS.

If I see again "We will add this in the future."

I walk out of here and never come back ...

You can iterate through History collection:

foreach (HistoricalTrade trade in History)
{
    Print("EntryTime: {0}, ClosingTime: {1}, Profit: {2}", trade.EntryTime, trade.ClosingTime, trade.NetProfit);
}

 


@Spotware

Spotware
09 Apr 2014, 14:33

RE:

breakermind said:

Hi,

how to retrieve the history of closed positions from calgo robot?

bye

you can use History collection


@Spotware

Spotware
09 Apr 2014, 14:33

RE: Limiting negative slippage

breakermind said:

It is possible set slippage in cAlgo Robots ?

Slippage can be either positive or negative. Positive slippage means that the execution price is better than the reference price (never seen on *Moderated*), and negative slippage means that the execution price is worse than the reference price (Allways seen on *Moderated*).

Regards

You can use market range parameter of ExecuteMarketOrder function


@Spotware

Spotware
09 Apr 2014, 11:07

It is not possible at the moment. You can post your feature request to vote.spotware.com.


@Spotware

Spotware
09 Apr 2014, 11:05

Dear Trader,

You can contact one of our Partners or post a job in Jobs section.


@Spotware

Spotware
08 Apr 2014, 17:02

It is not possible at the moment. You can vote for this feature there: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5502949-custom-parameters


@Spotware

Spotware
07 Apr 2014, 16:09

At the moment it is not possible to change the font size.


@Spotware

Spotware
07 Apr 2014, 11:38

Dear amiscell,

Thank you for your detailed bug report. We can confirm that we reproduced the issue. This issue will be fixed as soon as possible.


@Spotware

Spotware
07 Apr 2014, 10:55

Thanks we will look into it. 


@Spotware

Spotware
07 Apr 2014, 10:32

Thank you for your bug report. This issue will be fixed as soon as possible.


@Spotware

Spotware
07 Apr 2014, 10:21

We have sent you Trend and Volatility templates.


@Spotware

Spotware
04 Apr 2014, 13:55

RE:

rkokerti said:

You mean if operation failed, I need to use OnTick method to repeat the functionality of OnBar?

Thanks in advance!

Yes, you can use OnTick method to repeat the failed trade. You can also do Thread.Sleep in OnBar method and then repeat the failed trade. 


@Spotware

Spotware
04 Apr 2014, 11:59

RE:

rkokerti said:

Thanks to your answer.

What is your advice, how can I extend logic of my cBot to handle trading errors?

If operation failed you can retry it after some time period.


@Spotware

Spotware
04 Apr 2014, 08:50

Thank you for this bug report. In order to troubleshoot this issue we need your assistance. Please answer to the following questions:

  1. Is it reproducible?
  2. Which API method do you use to place Stop orders?
  3. From which method do you call it (OnTick, OnBar, callback, etc)?
  4. Is it possible to send us code of your cBot? (engage@spotware.com)

 

 


@Spotware

Spotware
04 Apr 2014, 08:44

Thank you for your idea, we will consider it. Additionally, you can post your idea to vote.spotware.com


@Spotware

Spotware
03 Apr 2014, 17:28

Unfortunately, we don't understand why you are not satisfied with your current solution.


@Spotware