Skip to content

Commit ed8a4cf

Browse files
authored
Add files via upload
1 parent 883297d commit ed8a4cf

File tree

2 files changed

+1149
-1001
lines changed

2 files changed

+1149
-1001
lines changed

MT5socketAPI/Rates.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,23 @@ public override string ToString()
2323
}
2424

2525
}
26+
27+
public class MARKETBOOK
28+
{
29+
public double PRICE { get; set; }
30+
public int VOLUME { get; set; }
31+
public double VOLUMEREAL { get; set; }
32+
public string TYPE { get; set; }
33+
}
34+
35+
public class MarketDepth
36+
{
37+
//public string MSG { get; set; }
38+
public string SYMBOL { get; set; }
39+
public List<MARKETBOOK> MARKET_BOOK { get; set; }
40+
public override string ToString()
41+
{
42+
return JsonConvert.SerializeObject(this);
43+
}
44+
}
2645
}

0 commit comments

Comments
 (0)