Issue #91: Added MarketBookGetRequest to perform function MarketBookGet (MT5)

This commit is contained in:
vdemydiuk
2018-02-21 14:43:25 +02:00
parent be8a17c0fd
commit c86a3a3752
9 changed files with 81 additions and 69 deletions
+9 -8
View File
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// ReSharper disable InconsistentNaming
namespace MtApi5
{
public class MqlBookInfo
@@ -14,8 +10,13 @@ namespace MtApi5
this.volume = volume;
}
public ENUM_BOOK_TYPE type { get; private set; } // Order type from ENUM_BOOK_TYPE enumeration
public double price { get; private set; } // Price
public long volume { get; private set; } // Volume
public ENUM_BOOK_TYPE type { get; } // Order type from ENUM_BOOK_TYPE enumeration
public double price { get; } // Price
public long volume { get; } // Volume
public override string ToString()
{
return $"{type}|{price}|{volume}";
}
}
}