Does CBots working in demo mode?
            
                 07 Mar 2024, 09:09
            
                    
I have the really dumb questuion
CTrader for mac, Demo mode
Simpliest CBot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo.Robots
{
[Robot(AccessRights = AccessRights.None)]
public class TESTBOT : Robot
{
[Parameter(DefaultValue = "Hello world!")]
public string Message { get; set; }
protected override void OnStart()
{
// To learn more about cTrader Automate visit our Help Center:
// https://help.ctrader.com/ctrader-automate
Print(Message);
}
protected override void OnTick()
{
// Handle price updates here
}
protected override void OnStop()
{
// Handle cBot stop here
}
}
}I created instance, run it, but in logs tab I don't see any messages. What I did wrong?
Thanks
Replies
                     ampheee1337
                     08 Mar 2024, 09:53
                                            ( Updated at: 10 Mar 2024, 14:04 )
                                    
RE: Does CBots working in demo mode?
PanagiotisCharalampous said:
Hi there,
They do. What do you expect to happen here?
Best regards,
Panagiotis
Hello
I expect to see message Hello world! in logs tab. Cbot running, but logs tab absolutely clear )
@ampheee1337
                     PanagiotisCharalampous
                     11 Mar 2024, 07:43
                                    
RE: RE: Does CBots working in demo mode?
ampheee1337 said:
PanagiotisCharalampous said:
Hi there,
They do. What do you expect to happen here?
Best regards,
Panagiotis
Hello
I expect to see message Hello world! in logs tab. Cbot running, but logs tab absolutely clear )
Hi there,
It worked fine for me

Best regards,
Panagiotis
@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2024, 08:34
Hi there,
They do. What do you expect to happen here?
Best regards,
Panagiotis
@PanagiotisCharalampous