Skip to content

Commit

Permalink
Add order statuses. Some new assets
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Apr 30, 2019
1 parent 07aee8e commit a85f7b3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion rest/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const (
// Assets
const (
ADA = "ADA"
ATOM = "ATOM"
BCH = "BCH"
BSV = "BSV"
DASH = "DASH"
Expand All @@ -55,12 +56,12 @@ const (
XMLN = "XMLN"
XNMC = "XNMC"
XREP = "XREP"
XTZ = "XTZ"
XXBT = "XXBT"
XXDG = "XXDG"
XXLM = "XXLM"
XXMR = "XXMR"
XXRP = "XXRP"
XXTZ = "XXTZ"
XXVN = "XXVN"
XZEC = "XZEC"
ZCAD = "ZCAD"
Expand Down Expand Up @@ -105,3 +106,12 @@ const (
OTStopLossAndLimit = "stop-loss-and-limit" // (price = stop loss price, price2 = limit price)
OTSettlePosition = "settle-position"
)

// OrderStatuses
const (
StatusPending = "pending"
StatusOpen = "open"
StatusClosed = "closed"
StatusCancelled = "canceled"
StatusExpired = "expired"
)

0 comments on commit a85f7b3

Please sign in to comment.