@anrmk/str-package 0.1.8 → 0.1.10
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.
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,6 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, trading
|
|
|
4
4
|
export { isSameUtcDay, parseNumber, toIsoDate } from './utils/helper.cjs';
|
|
5
5
|
export { TSyncResponse } from './types/index.cjs';
|
|
6
6
|
export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.cjs';
|
|
7
|
-
export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.cjs';
|
|
7
|
+
export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.cjs';
|
|
8
8
|
export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-C_DBsbUa.cjs';
|
|
9
9
|
export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums--bdw39rp.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, trading
|
|
|
4
4
|
export { isSameUtcDay, parseNumber, toIsoDate } from './utils/helper.js';
|
|
5
5
|
export { TSyncResponse } from './types/index.js';
|
|
6
6
|
export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.js';
|
|
7
|
-
export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.js';
|
|
7
|
+
export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.js';
|
|
8
8
|
export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-UmIOnrHy.js';
|
|
9
9
|
export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums--bdw39rp.js';
|
|
@@ -8,7 +8,8 @@ type TChallengeMode = "VERIFICATION" | "CHALLENGE" | "FUNDED";
|
|
|
8
8
|
type TTradingType = "Futures" | "Spot" | "Margin" | "Options";
|
|
9
9
|
type TDrawdownType = "Trailing" | "Fixed";
|
|
10
10
|
type TChallengeCapital = 5000 | 10000 | 25000 | 50000 | 100000 | 200000;
|
|
11
|
-
type TChallengeProvider = "BYBIT" | "CLEO";
|
|
11
|
+
type TChallengeProvider = "BYBIT" | "CLEO" | "TEALSTREET" | "TIGER";
|
|
12
|
+
type TChallengeStatus = "ACTIVE" | "EXPIRED" | "COMPLETED" | "FAILED";
|
|
12
13
|
type TChallengeRule = {
|
|
13
14
|
name: string;
|
|
14
15
|
type: TChallengeType;
|
|
@@ -93,7 +94,8 @@ type TChallengeItem = {
|
|
|
93
94
|
currency: string;
|
|
94
95
|
ttype: TTradingType;
|
|
95
96
|
ddtype: TDrawdownType;
|
|
96
|
-
status:
|
|
97
|
+
readonly status: TChallengeStatus;
|
|
98
|
+
readonly statusDescription: string;
|
|
97
99
|
provider: string;
|
|
98
100
|
startDate: string;
|
|
99
101
|
endDate: string;
|
|
@@ -115,7 +117,8 @@ type TChallengeListItem = {
|
|
|
115
117
|
currency: string | null;
|
|
116
118
|
ttype: TTradingType | null;
|
|
117
119
|
ddtype: TDrawdownType | null;
|
|
118
|
-
status:
|
|
120
|
+
readonly status: TChallengeStatus;
|
|
121
|
+
readonly statusDescription: string;
|
|
119
122
|
provider: string;
|
|
120
123
|
startDate: string;
|
|
121
124
|
endDate: string | null;
|
|
@@ -149,4 +152,4 @@ type TChallengeStatistics = {
|
|
|
149
152
|
totalCumExitValue?: number;
|
|
150
153
|
};
|
|
151
154
|
|
|
152
|
-
export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
|
|
155
|
+
export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
|
|
@@ -8,7 +8,8 @@ type TChallengeMode = "VERIFICATION" | "CHALLENGE" | "FUNDED";
|
|
|
8
8
|
type TTradingType = "Futures" | "Spot" | "Margin" | "Options";
|
|
9
9
|
type TDrawdownType = "Trailing" | "Fixed";
|
|
10
10
|
type TChallengeCapital = 5000 | 10000 | 25000 | 50000 | 100000 | 200000;
|
|
11
|
-
type TChallengeProvider = "BYBIT" | "CLEO";
|
|
11
|
+
type TChallengeProvider = "BYBIT" | "CLEO" | "TEALSTREET" | "TIGER";
|
|
12
|
+
type TChallengeStatus = "ACTIVE" | "EXPIRED" | "COMPLETED" | "FAILED";
|
|
12
13
|
type TChallengeRule = {
|
|
13
14
|
name: string;
|
|
14
15
|
type: TChallengeType;
|
|
@@ -93,7 +94,8 @@ type TChallengeItem = {
|
|
|
93
94
|
currency: string;
|
|
94
95
|
ttype: TTradingType;
|
|
95
96
|
ddtype: TDrawdownType;
|
|
96
|
-
status:
|
|
97
|
+
readonly status: TChallengeStatus;
|
|
98
|
+
readonly statusDescription: string;
|
|
97
99
|
provider: string;
|
|
98
100
|
startDate: string;
|
|
99
101
|
endDate: string;
|
|
@@ -115,7 +117,8 @@ type TChallengeListItem = {
|
|
|
115
117
|
currency: string | null;
|
|
116
118
|
ttype: TTradingType | null;
|
|
117
119
|
ddtype: TDrawdownType | null;
|
|
118
|
-
status:
|
|
120
|
+
readonly status: TChallengeStatus;
|
|
121
|
+
readonly statusDescription: string;
|
|
119
122
|
provider: string;
|
|
120
123
|
startDate: string;
|
|
121
124
|
endDate: string | null;
|
|
@@ -149,4 +152,4 @@ type TChallengeStatistics = {
|
|
|
149
152
|
totalCumExitValue?: number;
|
|
150
153
|
};
|
|
151
154
|
|
|
152
|
-
export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
|
|
155
|
+
export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
|