Robot executes one trade and stops working

Created at 08 Mar 2013, 16:56
condor's avatar

condor

Joined 28.02.2013

Robot executes one trade and stops working
08 Mar 2013, 16:56


My robot executes only one trade and stops working after that.

I've added an instruction to force it to restart but it doesn't works :

        protected override void OnPositionClosed(Position position)
        {
        	OnBar();
        }




@condor
Replies

cAlgo_Fanatic
08 Mar 2013, 17:32 ( Updated at: 19 Mar 2025, 08:57 )

Hello,

Look at the log. If the robot crashes, there will be an error message there. You may post that message and/or post your code so that we can take a look at what the issue may be. You may also email the code to support@ctrader.com

Regards,


@cAlgo_Fanatic

condor
08 Mar 2013, 18:07

The problem is there is that there is nothing in the log file and nothing in the error file i created. I'll send the entire code to the email adress you gave me.


@condor

gibson
20 Mar 2013, 05:24

I got the same problem, nothing wrong with log and no errors. 


@gibson

cAlgo_Fanatic
20 Mar 2013, 11:26 ( Updated at: 19 Mar 2025, 08:57 )

Please post the code or send it to support@ctrader.com if you have not already done so, so that we can assist you.

 


@cAlgo_Fanatic