MtApi5: fixed problem of null string in command's parameters

This commit is contained in:
Viacheslav Demydiuk
2024-02-24 21:33:35 +02:00
parent 4d0b0ce513
commit 64c10415a7
3 changed files with 160 additions and 143 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
{
public class Mt5Quote
{
public string? Instrument { get; set; }
public string Instrument { get; set; } = string.Empty;
public double Bid { get; set; }
public double Ask { get; set; }
public int ExpertHandle { get; set; }