Topics
14 Aug 2016, 01:27
 2522
 9
27 Jul 2015, 05:15
 4211
 20
27 Jun 2015, 16:57
 2380
 2
21 May 2015, 02:50
 3119
 2
30 Nov 2014, 01:01
 2737
 5
13 Sep 2014, 18:30
 2938
 3
28 Aug 2014, 01:16
 2736
 1
10 Jul 2014, 05:17
 2688
 2
25 Mar 2014, 18:16
 3350
 4
12 Feb 2014, 20:15
 5185
 5
09 Jan 2014, 05:03
 3207
 5
18 Dec 2013, 02:27
 3437
 6
03 Dec 2013, 07:22
 3609
 10
30 Oct 2013, 16:55
 0
 3087
 3
Replies

Balena
27 Jul 2015, 05:45

RE:

I just tried your suggestion, logged out and then back in, ran backtest, same results... no data forward past 7/16/15

 

Spotware said:

Dear Trader,

Could you please remove your backtesting cache which is located in the following path:

C:\Users\%UserName%\AppData\Roaming\%Broker Name% cAlgo\BacktestingCache

 


@Balena

Balena
27 Jul 2015, 05:25 ( Updated at: 13 Oct 2015, 01:36 )

RE:

This post was removed by moderator because it duplicates another post. /forum/calgo-support/6009?page=1#1

 


@Balena

Balena
27 Jul 2015, 05:15 ( Updated at: 13 Oct 2015, 01:36 )

This post was removed by moderator because it duplicates another post. /forum/calgo-support/6009?page=1#1


@Balena

Balena
27 Jun 2015, 16:57

This post was removed by moderator, because it duplicates another post. /forum/calgo-support/5682?page=1#1


@Balena

Balena
16 May 2015, 02:45

Auto restart? we have waited for years...


@Balena

Balena
27 Feb 2015, 16:21

RE:

 

Can you give the same type example of reading from a file back into cAlgo?

 

admin said:

using System;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.IO;

namespace cAlgo.Robots
{
    [Robot]
    public class WriteToFileExample : Robot
    {
        StreamWriter _fileWriter;
    	
    	
        protected override void OnStart()
        {
			var desktopFolder = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
			var filePath = Path.Combine(desktopFolder, "ServerTimeExample.txt"); 
			
			_fileWriter = File.AppendText(filePath);//creating file
			
			_fileWriter.AutoFlush = true;//file will be saved on each change
        }
        
        protected override void OnTick()
        {
			_fileWriter.WriteLine("Server Time: " + Server.Time);
        }
        
        protected override void OnStop()
        {
        	_fileWriter.Close();
        }
    }
}

 

 


@Balena

Balena
23 Jan 2015, 21:24

If I use tick data, the closest day I can run a backtest to end is two days ago... why?

Why can't I backtest tick data running all the way up to present day?

admin?


@Balena

Balena
05 Dec 2014, 20:54

I'm using exact code & parameters & timeframe... work on live account but only sometimes on demo.... help support?


@Balena

Balena
30 Nov 2014, 01:12

Not sure why but the same code executes backtest trades in Live account, but executes NO backtest trades in Demo account... using same code and same settings

 

 


@Balena

Balena
16 Sep 2014, 00:16

RE:

trend_meanreversion said:

Looks good Balena, but can you run it for longer duration ( 2-3 years ) and let us aware of commission and spread assumptions.

this is using tick data... commissions could be 10-65/million... all work

other years are also profitable... 


@Balena

Balena
13 Sep 2014, 23:52

you can use/modify these...

 

          //if (Server.Time.DayOfWeek == DayOfWeek.Sunday && Server.Time > stopTime)
            //return;

            //if (Server.Time.DayOfWeek == DayOfWeek.Monday && Server.Time > stopTime)
            //return;

            //if (Server.Time.DayOfWeek == DayOfWeek.Tuesday && Server.Time > stopTime)
            //return;
            
            //if (Server.Time.DayOfWeek == DayOfWeek.Wednesday && Server.Time > stopTime)
            //return;

            //if (Server.Time.DayOfWeek == DayOfWeek.Thursday && Server.Time > stopTime)
            //return;        

            if (Server.Time.DayOfWeek == DayOfWeek.Friday && Server.Time > resetTime.AddSeconds(ySeconds))
                return;

            if (Server.Time.DayOfWeek == DayOfWeek.Saturday)
                return;


@Balena

Balena
03 Sep 2014, 23:06

RE:

tSpotware said:

Our tests show that there is no any significant difference between CPU consumption in cAlgo 1.23 and latest cAlgo 1.24. Probably performance issues that you observe do not relate to the latest update.

We deployed latest version to all our brokers. Different CPU consumption for different brokers could be caused because of different price feeds. For example, if broker provides ticks more frequently your indicators and cBots will require more CPU resources to handle all incoming ticks.

there is a problem for sure... it's not the bots... i see same cpu issue running 1hr as I do running 1 tick


@Balena

Balena
02 Sep 2014, 22:15

Any word on this? 


@Balena

Balena
28 Aug 2014, 21:54

yes, still seeing increased usage...


@Balena

Balena
28 Aug 2014, 06:31

I'm also using FxPro...  seeing smae problems as rkokerti


@Balena

Balena
27 Aug 2014, 18:53

I'm having the same issue after installing the new update... something is not right for sure


@Balena

Balena
16 Jul 2014, 22:40

any idea when this functionality will be available?


@Balena

Balena
16 Jul 2014, 22:37

RE:

Spotware said:

If you refer to the quality of generated ticks we have great news for you. We are preparing tick data backtesting to be released. By using tick data backtesting you will be able to test your cBots with historical spreads. Furthermore, in tick data backtesting Bid and Ask prices come asynchronously with millisecond precision.

 

 

awesome news...


@Balena

Balena
27 Jun 2014, 07:21

I get the error "no algo source file was found"


@Balena

Balena
19 Mar 2014, 07:16

RE: RE: RE:

One quick question... I have both a demo instance and a Live instance up on same cpu 

when I make changes to one (add a robot, delete a robot, add code, rename, etc) the changes are seen in both instances

so how can I have different robots for each instance?

could you give more details on how you run a parallel system, no logic of course, just can't figure out how to have different robots for each instance

thanks

 

Cerunnos said:

You only need two different cAlgo instances on an operating system because the API does not allow for switching between accounts. That with the CPU should not matter, but you better inform at Scyware (support@scyware.com )...

Balena said:

Cerunnos said:

Hi. I'm using a parallel system consisting of a demo and live account. If the demo robot (seperate cAlgo instance) is successfull, a boolean variable will be set to true and the live robot will be unlocked. The communication between the robots is done over robolink (very simple - just a few lines of code are necessary), but you can also write a value into text file with StreamWriter and read it from the other robot with StreamReader. Hope that helps.

I currently tab between demo and live on the same cpu...

So if you don't mind sharing...

1. if I use the RobotLink will it work if I currently tab between demo and live on the same cpu; ie "cpu 1"?

2. do I have to run demo on "cpu 1", and live on "cpu 2"?

Thanks Again!

 

 

 

 


@Balena