-
Notifications
You must be signed in to change notification settings - Fork 7
/
Orders.cs
51 lines (47 loc) · 1.33 KB
/
Orders.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#region license
// Please read and agree to license.md contents before using this SDK.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mcxNOW
{
public class Orders
{
public string id { get; set; }
public List<GroupedOrder> buy { get; set; }
public List<GroupedOrder> sell { get; set; }
public List<History> history { get; set; }
public List<Volume> vol { get; set; }
public int users { get; set; }
public decimal curvol { get; set; }
public decimal basevol { get; set; }
public decimal lprice { get; set; }
public decimal pricel { get; set; }
public decimal priceh { get; set; }
}
public class GroupedOrder
{
/**
* Last one is total text therefore string
*/
public string p { get; set; }
public decimal c1 { get; set; }
public decimal c2 { get; set; }
}
public class Volume
{
public decimal p { get; set; }
public decimal a { get; set; }
}
public class History
{
public DateTime t { get; set; }
public bool b { get; set; }
public decimal p { get; set; }
public decimal c1 { get; set; }
public decimal c2 { get; set; }
}
}