-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrderStatus.cs
39 lines (27 loc) · 932 Bytes
/
OrderStatus.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
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
namespace StockFighter
{
public class OrderStatus
{
public bool Ok { get; set; }
public string Symbol { get; set; }
public string Venue { get; set; }
public Direction Direction { get; set; }
[JsonProperty(PropertyName = "originalQty")]
public int OriginalQuantity { get; set; }
[JsonProperty(PropertyName = "qty")]
public int Quantity { get; set; }
public int Price { get; set; }
public OrderType Type { get; set; }
public int Id { get; set; }
public string Account { get; set; }
[JsonProperty(PropertyName = "ts")]
public DateTime? TimeStamp {get; set;}
public List<Fill> Fills { get; set; }
public int TotalFilled { get; set; }
public bool Open { get; set; }
}
}