Replies

HOMERUN
20 Jan 2020, 09:08

Reproduce:

- put cBot on that chart

- click the start button on cBot

 

Then the cBot start running but it also change my chart group to default.


@HOMERUN

HOMERUN
20 Jan 2020, 09:06

Hi,

It can be anything.

Simple script that do nothing also.

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class DoNothing : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
        {
            // Put your initialization logic here
        }

        protected override void OnTick()
        {
            // Put your core logic here
        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

 


@HOMERUN

HOMERUN
26 Dec 2019, 06:38

RE: login help

knightramza said:

 

I'm sorry, I'm a beginner in this world of FIX API and I'm starting with the login, I create the text string perfectly as the manuals indicate but I still have a doubt, do I have to send the text string in ASCII format? Do you have any example of how to do it in javascript or nodejs?

Hi,

I don't know if there is any javascript/nodejs implementation, but here https://github.com/quickfix/quickfix c++ implementation. There are also python, golang, java as far as I know.

I myself starting with python implementation of this also.

FYI:

https://www.spotware.com/pdf/cTraderFixApi_v2.16.pdf

 

I would be love to help if I can, but might need more info about problem your are facing.


@HOMERUN