Spotware instead of the actual broker

Created at 28 Oct 2022, 15:46
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
EY

eynt

Joined 08.05.2020

Spotware instead of the actual broker
28 Oct 2022, 15:46


When calling Account.BrokerName on a multi broker cTrader back test I get Spotware instead of the actual broker. Is there a way to get the actual broker?

Thanks
 


@eynt
Replies

eynt
31 Oct 2022, 14:11

RE:

Hello

 

anything new on the subject?

 


@eynt

eynt
07 Nov 2022, 18:27

RE: RE:

Hello

anything new on the subject?


@eynt

Spotware
08 Nov 2022, 09:07

Hi Yuval,

This issue was fixed in 4.4.17.

Best regards,

cTrader Team


@Spotware

eynt
08 Nov 2022, 13:03

RE:

Hello

 

I am using version 4.4.17.9898 and this issue still happens

 


@eynt

Spotware
09 Nov 2022, 08:11

Hi Yuval,

We were not able to reproduce this in 4.4.17. Please provide the exact steps you follow.

Best regards,

cTrader Team


@Spotware

eynt
09 Nov 2022, 12:47 ( Updated at: 21 Dec 2023, 09:23 )

RE:

Hi

 

I ran a back test of the attached bot and got a print of "Spotware".

 

 

 

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 NewcBot4 : 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(Account.BrokerName);
        }

        protected override void OnTick()
        {
            // Handle price updates here
        }

        protected override void OnStop()
        {
            // Handle cBot stop here
        }
    }
}

 


@eynt

eynt
17 Nov 2022, 11:17

RE: RE:

Hello

were you able to reproduce it?


@eynt

Spotware
17 Nov 2022, 11:54

Hi Yuval,

We managed to reproduce this and it will be fixed in an upcoming update.

Best regards,

cTrader Team


@Spotware