Issue #106: Extended structure Mt5Quote with fields from MqlTick (volume, last, time)

This commit is contained in:
vdemydiuk
2018-05-08 14:53:31 +03:00
parent fd34f009cd
commit 6023bffed6
8 changed files with 83 additions and 40 deletions
+8 -2
View File
@@ -1,4 +1,5 @@
using MTApiService;
using System;
using MTApiService;
namespace MtApi5
{
@@ -8,8 +9,13 @@ namespace MtApi5
public double Bid { get; }
public double Ask { get; }
public int ExpertHandle { get; set; }
public DateTime Time { get; set; }
public double Last { get; set; }
public ulong Volume { get; set; }
// public long TimeMsc { get; set; }
// public uint Flags { get; set; }
private Mt5Quote(string instrument, double bid, double ask)
internal Mt5Quote(string instrument, double bid, double ask)
{
Instrument = instrument;
Bid = bid;