Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions DeepCoin.Net/Enums/OrderStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public enum OrderStatus
[Map("live", "4")]
Live,
/// <summary>
/// ["<c>partially_filled</c>"] Partially filled open order
/// ["<c>partially_filled</c>", "<c>2</c>"] Partially filled open order
/// </summary>
[Map("partially_filled")]
[Map("partially_filled", "2")]
PartiallyFilled,
/// <summary>
/// ["<c>canceled</c>"] Canceled
Expand All @@ -29,6 +29,11 @@ public enum OrderStatus
/// ["<c>filled</c>"] Filled
/// </summary>
[Map("filled", "1")]
Filled
Filled,
/// <summary>
/// ["<c>partially_filled_canceled</c>", "<c>3</c>"] Canceled after a partial fill
/// </summary>
[Map("partially_filled_canceled", "3")]
PartiallyFilledCanceled
}
}
6 changes: 6 additions & 0 deletions DeepCoin.Net/Objects/Models/DeepCoinOrderUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ public record DeepCoinOrderUpdate
/// </summary>
[JsonPropertyName("v")]
public decimal QuantityFilled { get; set; }
/// <summary>
/// ["<c>VT</c>"] Cumulative quantity traded; null when this field is absent
/// <para><see href="https://www.deepcoin.com/docs/zh/privateWS/order" /></para>
/// </summary>
[JsonPropertyName("VT")]
public decimal? QuantityTraded { get; set; }
}


Expand Down
Loading