@anrmk/str-package 0.2.9 → 0.2.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.
@@ -20,6 +20,7 @@ type TChallengeClosedPnl = {
20
20
  createdTime: string;
21
21
  updatedTime: string;
22
22
  updatedAt: string;
23
+ isTradingDayRecord: boolean;
23
24
  };
24
25
 
25
26
  type TChallengeWalletBalance = {
@@ -20,6 +20,7 @@ type TChallengeClosedPnl = {
20
20
  createdTime: string;
21
21
  updatedTime: string;
22
22
  updatedAt: string;
23
+ isTradingDayRecord: boolean;
23
24
  };
24
25
 
25
26
  type TChallengeWalletBalance = {
package/dist/index.d.cts CHANGED
@@ -4,5 +4,5 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, getBybi
4
4
  export { TSyncResponse } from './types/index.cjs';
5
5
  export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitPositionInfoRequest, IBybitPositionInfoResponse, IBybitServerTime, IBybitSignRequest, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.cjs';
6
6
  export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeRuleGroup, TChallengeStatistics, TChallengeStatus, TChallengeTier, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.cjs';
7
- export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-Mn8KAQZD.cjs';
7
+ export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-Cg8bg3uq.cjs';
8
8
  export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums-Dmg2vIi2.cjs';
package/dist/index.d.ts CHANGED
@@ -4,5 +4,5 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, getBybi
4
4
  export { TSyncResponse } from './types/index.js';
5
5
  export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitPositionInfoRequest, IBybitPositionInfoResponse, IBybitServerTime, IBybitSignRequest, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.js';
6
6
  export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeRuleGroup, TChallengeStatistics, TChallengeStatus, TChallengeTier, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.js';
7
- export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-fzrL5fPE.js';
7
+ export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-DWLlui_L.js';
8
8
  export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums-Dmg2vIi2.js';
@@ -1,6 +1,6 @@
1
1
  import { a as IBybitApiKeyVipLevel, b as IBybitCoinType } from '../../enums-Dmg2vIi2.cjs';
2
- import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-Mn8KAQZD.cjs';
3
- export { T as TChallengeClosedPnl } from '../../TChallengeProgress-Mn8KAQZD.cjs';
2
+ import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-Cg8bg3uq.cjs';
3
+ export { T as TChallengeClosedPnl } from '../../TChallengeProgress-Cg8bg3uq.cjs';
4
4
  export { TSyncResponse } from '../index.cjs';
5
5
 
6
6
  type TChallengeType = "ONE_STEP" | "TWO_STEPS" | "THREE_STEPS";
@@ -17,10 +17,10 @@ type TChallengeRule = {
17
17
  mode: TChallengeMode;
18
18
  tradingPeriod: string;
19
19
  minTradingDays: number;
20
- stopLossRequired: boolean;
21
- dailyDrawdownPct: number;
20
+ stopLossPct: number;
22
21
  maxLossPct: number;
23
22
  minLossPct: number;
23
+ dailyDrawdownPct: number;
24
24
  profitTargetPct: number;
25
25
  feePolicy: string;
26
26
  prohibitedActions: string[];
@@ -1,6 +1,6 @@
1
1
  import { a as IBybitApiKeyVipLevel, b as IBybitCoinType } from '../../enums-Dmg2vIi2.js';
2
- import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-fzrL5fPE.js';
3
- export { T as TChallengeClosedPnl } from '../../TChallengeProgress-fzrL5fPE.js';
2
+ import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-DWLlui_L.js';
3
+ export { T as TChallengeClosedPnl } from '../../TChallengeProgress-DWLlui_L.js';
4
4
  export { TSyncResponse } from '../index.js';
5
5
 
6
6
  type TChallengeType = "ONE_STEP" | "TWO_STEPS" | "THREE_STEPS";
@@ -17,10 +17,10 @@ type TChallengeRule = {
17
17
  mode: TChallengeMode;
18
18
  tradingPeriod: string;
19
19
  minTradingDays: number;
20
- stopLossRequired: boolean;
21
- dailyDrawdownPct: number;
20
+ stopLossPct: number;
22
21
  maxLossPct: number;
23
22
  minLossPct: number;
23
+ dailyDrawdownPct: number;
24
24
  profitTargetPct: number;
25
25
  feePolicy: string;
26
26
  prohibitedActions: string[];
@@ -1,5 +1,5 @@
1
1
  import { IBybitSignRequest } from '../types/bybit/index.cjs';
2
- import { a as TChallengeProgress, b as TChallengeWalletBalance, T as TChallengeClosedPnl } from '../TChallengeProgress-Mn8KAQZD.cjs';
2
+ import { a as TChallengeProgress, b as TChallengeWalletBalance, T as TChallengeClosedPnl } from '../TChallengeProgress-Cg8bg3uq.cjs';
3
3
  import '../enums-Dmg2vIi2.cjs';
4
4
 
5
5
  declare function signBybitRequest(request: IBybitSignRequest): {
@@ -1,5 +1,5 @@
1
1
  import { IBybitSignRequest } from '../types/bybit/index.js';
2
- import { a as TChallengeProgress, b as TChallengeWalletBalance, T as TChallengeClosedPnl } from '../TChallengeProgress-fzrL5fPE.js';
2
+ import { a as TChallengeProgress, b as TChallengeWalletBalance, T as TChallengeClosedPnl } from '../TChallengeProgress-DWLlui_L.js';
3
3
  import '../enums-Dmg2vIi2.js';
4
4
 
5
5
  declare function signBybitRequest(request: IBybitSignRequest): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anrmk/str-package",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Shared providers, types, and utils for STR services",
5
5
  "license": "MIT",
6
6
  "type": "module",