Topics
16 Nov 2023, 07:42
 1163
 1
15 Nov 2023, 10:36
 2062
 16
Replies

Spotware
21 Dec 2015, 21:06

Dear Traders,

We kindly ask you to check your internet connections with your ISPs.


@Spotware

Spotware
21 Dec 2015, 20:48

Dear Trader,

We will consider your suggestion regarding integrating an event to be triggered when the global price is changed. Additionally, you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware

Spotware
21 Dec 2015, 20:33

Dear Trader,

Please have a look at the following example:

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

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

        protected override void OnStart()
        {
            var asyncTask = new System.Threading.Tasks.Task(() =>
            {
                //this code will be executed on a separate thread

                var response = HttpGet("http://spotware.com");
                // perform http get request (in a separate thread)
                //you have to access API members only from the main thread
                // always use BeginInvokeOnMainThread if you work with other threads
                BeginInvokeOnMainThread(() => HandleResponseInMainThread(response));
            });
            asyncTask.Start();
        }

        private string HttpGet(string url)
        {
            try
            {
                var request = System.Net.WebRequest.Create(url);
                var response = request.GetResponse();
                var dataStream = response.GetResponseStream();
                var reader = new System.IO.StreamReader(dataStream);
                var stringResponse = reader.ReadToEnd();
                reader.Close();
                response.Close();

                return stringResponse;
            } catch (Exception e)
            {
                return "Error occured: " + e.Message;
            }
        }

        private void HandleResponseInMainThread(string response)
        {
            // this code will be executed on the main thread
            // here you can access to any cAlgo.API members

            if (response.Length <= 20)
                Print(response);
            else
                Print(response.Substring(0, 20) + "...");
        }
    }
}

@Spotware

Spotware
21 Dec 2015, 19:47

Dear Trader,

You could mirror your trades through our cMirror platform. Please have a look at our cMirror support site.


@Spotware

Spotware
17 Dec 2015, 23:51

Dear Trader,

This normally happens when users set wrong parameters. Could you please send us some full screenshots showing your issue? If you don't want to post them in the forum, you can send them to troubleshooting@spotware.com 


@Spotware

Spotware
17 Dec 2015, 23:21

Dear Trader,

Could you please check your internet connection with your ISP?

As we can see from the information you sent, cTrader disconnects frequently because you have huge latency.  


@Spotware

Spotware
17 Dec 2015, 22:54

Dear Trader,

Please have a look at the "Nested Indicators" section of our API Programmers Guides.

Regarding the absolute values we recommend you to check the Math.Abs method.


@Spotware

Spotware
17 Dec 2015, 22:35

Dear Trader,

Please have a look at the minimum/recommended requirements of cAlgo in the "Install cAlgo" section of our support site.


@Spotware

Spotware
17 Dec 2015, 22:27

Dear Trader,

You can insert the link to an image (e.g. *.png) to be set as a background, not a link to a Website which contains an image.


@Spotware

Spotware
17 Dec 2015, 01:01

Dear Trader,

You could submit troubleshooting information to our support team by pressing Ctrl+Alt+Shift+T when you experience the issues you described?

Please put a the title of the post as a comment to the troubleshooting information textbox

In addition, could send us also an email at troubleshooting@spotware.com with the exact time, Timezone, Broker Name, account number, right after you submit the troubleshooting information.


@Spotware

Spotware
16 Dec 2015, 23:10

Dear Trader,

You might not have enough memory to support the use of cTrader, Windows 10 on Boot Camp and Mac OXs all together. You could check the minimum requirements to use cTrader at “Install cTrader” section of our support site. In addition we recommend you to check out cTrader Web (which runs on all new browsers, including Safari) provides an identical user experience to our downloadable cTrader platform. We would appreciate if you tried it out on your MAC and we kindly ask you to contact your Broker to provide you with the link to cTrader Web.

 


@Spotware

Spotware
16 Dec 2015, 22:57

Dear Trader,

We tried to reproduce your issue without success.

We kindly ask you to send us your code or an example code that reproduces your issue and some screenshots showing it at troubleshooting@spotware.com

It will be used only for troubleshooting purposes. 


@Spotware

Spotware
16 Dec 2015, 22:39

Dear Trader,

The position will be skipped, if the volume of the copying position is less than the minimal volume allowed by the broker for copying a symbol.  


@Spotware

Spotware
16 Dec 2015, 05:41

Dear Trader,

The sharpe ratio is calculated correctly. In case you believe that it isn't, could you please provide us with the simplest example showing it? 


@Spotware

Spotware
15 Dec 2015, 23:17

Dear Trader,

We don't see any issues on your Journal. Could you please send us some full screenshots showing your issue? 


@Spotware

Spotware
15 Dec 2015, 23:05

Dear Trader,

Could you please provide us with more information and with some screenshots showing your issue?

You could post them here in this thread or send them to us at troubleshooting@spotware.com.


@Spotware

Spotware
15 Dec 2015, 22:58

Dear Trader,

We cannot provide you with an ETA.


@Spotware

Spotware
15 Dec 2015, 01:09

Dear Trader,

Thank you for your suggestion. We will consider it. Additionally, you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware

Spotware
14 Dec 2015, 22:28

Dear Trader,

cAlgo API doesn't expose Symbols collection. We plan to add it in the future. 


@Spotware

Spotware
14 Dec 2015, 22:16

Dear Trader,

Thank you for your suggestion. We will consider it. Additionally, you can vote for it in: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/11080335-saving-workspaces-on-local-computer


@Spotware