Added stub for logging in MtApi5. Implemented function SendCommand. Get quotes after connection

This commit is contained in:
Viacheslav Demydiuk
2024-01-11 22:54:56 +02:00
parent af5dd93056
commit cd7648b320
9 changed files with 266 additions and 232 deletions
+9 -5
View File
@@ -4,15 +4,19 @@ namespace MtApi5
{
public class Mt5Quote
{
public string Instrument { get; }
public double Bid { get; }
public double Ask { get; }
public string? Instrument { get; set; }
public double Bid { get; set; }
public double Ask { get; set; }
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; }
// public long TimeMsc { get; set; }
// public uint Flags { get; set; }
internal Mt5Quote()
{
}
internal Mt5Quote(string instrument, double bid, double ask)
{