Topics
Forum Topics not found
Replies
Kate
01 Oct 2013, 10:13
If you use high-frequency algorithmic trading it's better to get VPS in London. If you trade on large timeframes - your latency is ok as far as you don't have connectivity issues (i mean if your internet connection is good enough).
For manual trading I guess it's ok, anyway VPS will not help you for this.
@Kate
Kate
25 Sep 2013, 09:28
You can declare public method in robot:
public class MyRobot : Robot { public void PrintToLog(string message) { Print(message); } }
And then call it from another class:
public class CustomClass { private cAlgo.API.Robot _robot; public CustomClass(cAlgo.API.Robot robot) { _robot = robot; } public void Print(string message) { _robot.PrintToLog(message) } }
@Kate
Kate
24 Sep 2013, 11:37
Here is a workaround for colors: /algos/indicators/show/289
You can use something similar for other things.
I hope cAlgo team will implement native support for this in future.
@Kate
Kate
11 Sep 2013, 12:33
There was several threads about this, check those ones:
/forum/calgo-reference-samples/499
@Kate
Kate
05 Sep 2013, 10:57
You can easily use VPS to host cAlgo. You just go to any VPS provider you want, it can be providers that offer special VPS for traders or in general any VPS provider. You get access to virtual PC, install cAlgo there and run it. That's all. No broker involvement needed, but sometimes brokers can offer VPS with better conditions. I usually run cAlgo 24/5, and restart/update it on weekends.
cAlgo can be run on VPS with 500mb of memory, but I would recommend to use 1gb. If you need low latency VPS it's better to choose something located in London.
@Kate
Kate
06 Aug 2013, 12:31
Historical Volatility calculation is decribed here: http://www.ivolatility.com/help/2.html
@Kate
Kate
25 Jul 2013, 10:31
This is right. But optimizing on 14 years of data sounds also strange. Do you really think that behavior of traders and markets stays the same for 14 years? A lot of things changed since 1999. My opinion is that 4-6 years must be enought. 2.5 years is not enought in general, but it's better than 1 year :)
@Kate
Kate
21 Jul 2013, 10:45
using System; using cAlgo.API; using cAlgo.API.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = false)] public class CloseLessSma : Indicator { [Parameter(DefaultValue = 14)] public int Period { get; set; } [Output("Main")] public IndicatorDataSeries Result { get; set; } private MovingAverage sma; protected override void Initialize() { sma = Indicators.SimpleMovingAverage(MarketSeries.Close, Period); } public override void Calculate(int index) { Result[index] = MarketSeries.Close[index] - sma.Result[index]; } } }
@Kate
Kate
04 Oct 2013, 16:54
You can write data to file or windows registry.
@Kate