@riocrypto/common 1.0.2198 → 1.0.2199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -94,6 +94,8 @@ const humanizeOrderStatus = (status) => {
|
|
|
94
94
|
return "Waiting for time in force to start";
|
|
95
95
|
case order_status_1.OrderStatus.AwaitingLimitPriceCondition:
|
|
96
96
|
return "Waiting for limit price condition";
|
|
97
|
+
case order_status_1.OrderStatus.TimeInForceEnded:
|
|
98
|
+
return "Time in force ended";
|
|
97
99
|
default:
|
|
98
100
|
if (status.toLowerCase().includes("failed")) {
|
|
99
101
|
return "Failed";
|
|
@@ -4,6 +4,7 @@ export declare enum OrderStatus {
|
|
|
4
4
|
Processing = "processing",
|
|
5
5
|
AwaitingLimitPriceCondition = "awaitingLimitPriceCondition",
|
|
6
6
|
AwaitingTimeInForceToStart = "awaitingTimeInForceToStart",
|
|
7
|
+
TimeInForceEnded = "timeInForceEnded",
|
|
7
8
|
LimitPriceConditionMet = "limitPriceConditionMet",
|
|
8
9
|
SourcingLiquidity = "sourcingLiquidity",
|
|
9
10
|
CryptoAddressAdded = "cryptoAddressAdded",
|
|
@@ -13,6 +13,7 @@ var OrderStatus;
|
|
|
13
13
|
OrderStatus["Processing"] = "processing";
|
|
14
14
|
OrderStatus["AwaitingLimitPriceCondition"] = "awaitingLimitPriceCondition";
|
|
15
15
|
OrderStatus["AwaitingTimeInForceToStart"] = "awaitingTimeInForceToStart";
|
|
16
|
+
OrderStatus["TimeInForceEnded"] = "timeInForceEnded";
|
|
16
17
|
OrderStatus["LimitPriceConditionMet"] = "limitPriceConditionMet";
|
|
17
18
|
OrderStatus["SourcingLiquidity"] = "sourcingLiquidity";
|
|
18
19
|
OrderStatus["CryptoAddressAdded"] = "cryptoAddressAdded";
|