Topics
16 Nov 2023, 07:42
 1103
 1
15 Nov 2023, 10:36
 1979
 16
Replies

Spotware
29 May 2014, 16:47

RE:

cTrader already supports CFDs and other instruments, but it's up to your broker to provide them, not Spotware. You have to contact your brokers and ask them to include more symbols in cTrader.


@Spotware

Spotware
29 May 2014, 10:58

We have checked both formulas in backtesting and live. Regarding to our tests behaviors are the same. If you have a cBot which can show the problem please send it to engage@spotware.com.


@Spotware

Spotware
28 May 2014, 17:29

We will start to implement optimization soon.


@Spotware

Spotware
28 May 2014, 17:23

We will start to implement optimization soon.


@Spotware

Spotware
28 May 2014, 12:05

RE:

Cezary said:

Hi,

 

When is called OnTick event ?

Is it called on every price change ?

 

Thanks!

Cezary

OnTick method is called on each incoming market tick.


@Spotware

Spotware
28 May 2014, 09:16

RE: RE: RE:

breakermind said:

Hi again,

Is it possible to force onBar works on custom period like m15 if the robot start on H1

Thanks

At the moment it is not possible. You can vote for this feature on vote.spotware.com:

http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5979435-marketseries-onbar-event


@Spotware

Spotware
28 May 2014, 09:02

No, there is no way to specify default symbol and timeframe


@Spotware

Spotware
27 May 2014, 09:38

Execution time depends on liquidity providers connected to the broker.
In order to get information on execution delays on the LP side, you need to contact your broker.


@Spotware

Spotware
27 May 2014, 09:05

Hmmm... well, is it possible with cAlgo, to obtain non-aggregated level II data from all your participating banks/data providers? If so, what would this look like? Could you provide a snapshot in your next reply/

No, it is not possible


@Spotware

Spotware
26 May 2014, 14:52

RE:

AlexanderRC said:

TradeType for position is not updated on position reversal.

Steps to reproduce.

1. Attach Position Stats indicator to a chart with default settings to EURUSD

2. Sell 1K. Indicator shows "-1 000 EUR" as total volume.

3. Execute a "reverse position" (double arrow button).

4. Wait for the next tick for the indicator to be updated. The indicator still shows "-1 000 EUR" as a total volume.

If I change the chart time frame to any other (which leads to indicator reinitialization), the output is correctly updated with the total volume.

 

Thank you for the bug report. We will fix it as soon as possible. We apologize for any inconvenience. 


@Spotware

Spotware
26 May 2014, 13:58

RE: RE:

AlexanderRC said:

Spotware said:

Market depth is provided by LP connected to the broker. Please contact your broker for additional information.

The fact that cTrader and cAlgo provide access to Level-II prices shows the transparency of our platforms.

In cTrader and cAlgo you can find detailed information about every deal including the Market Snapshot - the state of market depth at the moment of triggering.

 

When that snapshot is taken? When cServer sends request to LP or when acknowledgement from LP is received that the request has been executed?

When cServer sends request to LP 


@Spotware

Spotware
26 May 2014, 12:11

No, we remove old source code file only if migration was successful.
You can see "Source code is not available" message if you removed [Robot] attribute from the source code file. In order to fix that you need to open your source code file in notepad and restore [Robot] attribute. You can find the source code file in the following folder: Documents\cAlgo\Sources\Robots\Robot Name\Robot Name\.


@Spotware

Spotware
26 May 2014, 11:00

We have released new version of our Visual Studio Extension. Please update it using "Extensions and Updates" and try to build your algos in Visual Studio.


@Spotware

Spotware
26 May 2014, 10:51

RE: RE:

breakermind said:

Hi,

it is possible to start robot automatically when the cTrader / cAlgo starts?

Thanks

No, it is not possible, but we plan to implement it in near future


@Spotware

Spotware
26 May 2014, 10:50

We plan to implement that feature in the future, but we cannot provide a time estimate for release at the moment.


@Spotware

Spotware
26 May 2014, 10:46

We plan to support adding two indicators to one indicator panel in the future.


@Spotware

Spotware
26 May 2014, 10:39

Yes, we plan to implement Visual Backtesting in the near future.


@Spotware

Spotware
23 May 2014, 12:13

Thank you for reply... Sure I am stopping the timer.... 

_Timer.Stop() line is commented in your code. That is why your cBot continues to write to file after you stop it. You need to stop your System.Timers.Timer in OnStop method because cAlgo doesn't control it. As we already said, we do not recommend you to use the System.Timers.Timer class.

Timers can not work correctly in backtesting... Even if you will provide us with cAlgo Timers... 

We prepared a Timer which will correctly work with emulated time in backtesting.

Please investigate bug 2 - not bug 3

That bug will be fixed as soon as possible. Thank you for your detailed bug report.

And one more question base.OnStop I do not remember myself from where I copied it - Do I need to use it? and what does it do?

OnStop method is invoked when cBot is stopped. You can put there some deinitialization logic such as stopping your timers, closing connection to the database, etc.


@Spotware

Spotware
23 May 2014, 09:25

Bug1: will be fixed as soon as possible.

Bug2 and Bug3: we cannot handle memory leaks in your code. In your example you need to stop the Timer. Additionally, it is not recommended to use system timers because cAlgo.API isn't thread safe. In next version of cAlgo we will release our own Timer.

1 Question : why Server.Time not always go forward? sometimes it's go back in time for some secs... 

We will investigate it, thank you for your report.

 ability to restart just one cBot on starting cAlgo

We plan to implement it in the future.


@Spotware

Spotware
23 May 2014, 09:06

Next version will be available in two weeks


@Spotware