Added function CopyRates. Implemented Backtesting

This commit is contained in:
DW
2016-07-25 16:49:15 +03:00
parent edc14d6c97
commit e312f52b74
14 changed files with 485 additions and 75 deletions
+22
View File
@@ -0,0 +1,22 @@
using System;
namespace MtApi
{
public class MqlRates
{
public int MtTime { get; set; }
public DateTime Time
{
get { return MtApiTimeConverter.ConvertFromMtTime(MtTime); }
}
public double Open { get; set; }
public double High { get; set; }
public double Low { get; set; }
public double Close { get; set; }
public long TickVolume { get; set; }
public int Spread { get; set; }
public long RealVolume { get; set; }
}
}