-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Grepsy/master
Use new Order class instead of HistoricAccountOrder for /account/getorder call
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Bittrex.Api.Client.Models | ||
{ | ||
/// <summary> | ||
/// An order result from the /account/getorder end point | ||
/// </summary> | ||
public class Order | ||
{ | ||
public Guid? AccountId { get; set; } | ||
public Guid OrderUuid { get; set; } | ||
public String Exchange { get; set; } | ||
public String Type { get; set; } | ||
public Decimal Quantity { get; set; } | ||
public Decimal QuantityRemaining { get; set; } | ||
public Decimal Limit { get; set; } | ||
public Decimal Reserved { get; set; } | ||
public Decimal ReservedRemaining { get; set; } | ||
public Decimal CommissionReservedPaid { get; set; } | ||
public Decimal CommissionReserveRemaining { get; set; } | ||
public Decimal CommissionPaid { get; set; } | ||
public Decimal Price { get; set; } | ||
public Decimal? PricePerUnit { get; set; } | ||
public DateTime Opened { get; set; } | ||
public DateTime? Closed { get; set; } | ||
public bool IsOpen { get; set; } | ||
public bool CancelInitiated { get; set; } | ||
public bool ImmediateOrCancel { get; set; } | ||
public bool IsConditional { get; set; } | ||
public String Condition { get; set; } | ||
public String ConditionTarget { get; set; } | ||
} | ||
} |