-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathOrderOrTradeUpdatedMessage.cs
More file actions
50 lines (49 loc) · 1.71 KB
/
OrderOrTradeUpdatedMessage.cs
File metadata and controls
50 lines (49 loc) · 1.71 KB
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
using Newtonsoft.Json;
namespace Binance.API.Csharp.Client.Models.WebSocket
{
public class OrderOrTradeUpdatedMessage
{
[JsonProperty("e")]
public string OrderOrTradeReport { get; set; }
[JsonProperty("E")]
public long EventTime { get; set; }
[JsonProperty("s")]
public string Symbol { get; set; }
[JsonProperty("c")]
public string NewClientOrderId { get; set; }
[JsonProperty("S")]
public string Side { get; set; }
[JsonProperty("o")]
public string Type { get; set; }
[JsonProperty("f")]
public string TimeInForce { get; set; }
[JsonProperty("q")]
public decimal OriginalQuantity { get; set; }
[JsonProperty("p")]
public decimal Price { get; set; }
[JsonProperty("x")]
public string ExecutionType { get; set; }
[JsonProperty("X")]
public string Status { get; set; }
[JsonProperty("r")]
public string RejectReason { get; set; }
[JsonProperty("i")]
public long? Orderid { get; set; }
[JsonProperty("l")]
public decimal LastFilledTradeQuantity { get; set; }
[JsonProperty("z")]
public decimal FilledTradesAccumulatedQuantity { get; set; }
[JsonProperty("L")]
public decimal LastFilledTradePrice { get; set; }
[JsonProperty("n")]
public decimal Commission { get; set; }
[JsonProperty("N")]
public string CommissionAsset { get; set; }
[JsonProperty("T")]
public long TradeTime { get; set; }
[JsonProperty("t")]
public int TradeId { get; set; }
[JsonProperty("m")]
public bool BuyerIsMaker { get; set; }
}
}