@grvt/client 1.6.19 → 1.6.21

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.
Files changed (24) hide show
  1. package/interfaces/codegen/data.interface.d.ts +29 -0
  2. package/interfaces/codegen/enums/cluster-config-type.d.ts +2 -1
  3. package/interfaces/codegen/enums/cluster-config-type.js +4 -1
  4. package/interfaces/codegen/enums/portfolio-currency.d.ts +5 -0
  5. package/interfaces/codegen/enums/portfolio-currency.js +14 -0
  6. package/interfaces/codegen/schema-maps/aggregated_account_performance.js +4 -2
  7. package/interfaces/codegen/schema-maps/api_funding_payment_history_request.js +8 -2
  8. package/interfaces/codegen/schema-maps/api_get_cev_access_tiers_response.js +5 -2
  9. package/interfaces/codegen/schema-maps/api_query_account_daily_performance_request.js +2 -0
  10. package/interfaces/codegen/schema-maps/api_query_account_today_performance_request.d.ts +2 -0
  11. package/interfaces/codegen/schema-maps/api_query_account_today_performance_request.js +12 -0
  12. package/interfaces/codegen/schema-maps/api_query_list_sub_account_summary_request.js +6 -2
  13. package/interfaces/codegen/schema-maps/api_query_list_vault_sub_account_summary_request.js +6 -2
  14. package/interfaces/codegen/schema-maps/api_query_sub_account_daily_performance_request.js +2 -0
  15. package/interfaces/codegen/schema-maps/api_query_sub_account_today_performance_request.js +4 -2
  16. package/interfaces/codegen/schema-maps/api_query_trading_performance_trend_request.js +6 -2
  17. package/interfaces/codegen/schema-maps/api_query_vault_performance_trend_request.js +6 -2
  18. package/interfaces/codegen/schema-maps/api_query_vault_summary_history_request.js +6 -2
  19. package/interfaces/codegen/schema-maps/api_timed_asset_exposure_request.js +6 -2
  20. package/interfaces/codegen/schema-maps/api_timed_vault_asset_exposure_request.js +6 -2
  21. package/interfaces/codegen/schema-maps/instrument_display.js +4 -2
  22. package/interfaces/codegen/schema-maps/snap_sub_account_history.js +4 -2
  23. package/interfaces/codegen/schema-maps/sub_account_performance.js +4 -2
  24. package/package.json +1 -1
@@ -20,6 +20,7 @@ import type { EMetricType } from './enums/metric-type.ts';
20
20
  import type { EOrderRejectReason } from './enums/order-reject-reason.ts';
21
21
  import type { EOrderStatus } from './enums/order-status.ts';
22
22
  import type { EPointType } from './enums/point-type.ts';
23
+ import type { EPortfolioCurrency } from './enums/portfolio-currency.ts';
23
24
  import type { EPositionMarginType } from './enums/position-margin-type.ts';
24
25
  import type { EQueryMainAccountLeaderboardOrderBy } from './enums/query-main-account-leaderboard-order-by.ts';
25
26
  import type { ERewardEpochStatus } from './enums/reward-epoch-status.ts';
@@ -84,6 +85,7 @@ export interface IAggregatedAccountPerformance {
84
85
  investment_balance_start?: string;
85
86
  investment_balance_end?: string;
86
87
  net_investment?: string;
88
+ currency?: number;
87
89
  }
88
90
  export interface IAggregatedAccountSummary {
89
91
  main_account_id?: string;
@@ -482,6 +484,9 @@ export interface IApiFundingPaymentHistoryRequest {
482
484
  end_time?: string;
483
485
  limit?: number;
484
486
  cursor?: string;
487
+ kind?: EKind[];
488
+ base?: string[];
489
+ quote?: string[];
485
490
  }
486
491
  export interface IApiFundingPaymentHistoryResponse {
487
492
  result?: IFundingPayment[];
@@ -542,6 +547,7 @@ export interface IApiGetAuthorizedBuildersResponse {
542
547
  export interface IApiGetCEVAccessTiersResponse {
543
548
  enabled?: boolean;
544
549
  tiers?: ICEVAccessTier[];
550
+ overwrites?: ICEVAccessTierOverwrite[];
545
551
  }
546
552
  export interface IApiGetClientTiersResponse {
547
553
  tiers?: IClientTier[];
@@ -872,6 +878,7 @@ export interface IApiPreOrderCheckResponse {
872
878
  results?: IPreOrderCheckResult[];
873
879
  }
874
880
  export interface IApiQueryAccountDailyPerformanceRequest {
881
+ currency?: EPortfolioCurrency;
875
882
  start_time?: string;
876
883
  end_time?: string;
877
884
  }
@@ -891,6 +898,9 @@ export interface IApiQueryAccountPerformanceTrendResponse {
891
898
  result?: IApiAccountPerformanceTrend[];
892
899
  interval?: ESubAccountTradeInterval;
893
900
  }
901
+ export interface IApiQueryAccountTodayPerformanceRequest {
902
+ currency?: EPortfolioCurrency;
903
+ }
894
904
  export interface IApiQueryAccountTodayPerformanceResponse {
895
905
  aggregated_pnl?: string;
896
906
  investment_pnl?: string;
@@ -914,6 +924,8 @@ export interface IApiQueryListFundingAccountSummaryResponse {
914
924
  export interface IApiQueryListSubAccountSummaryRequest {
915
925
  time_interval?: ETimeInterval;
916
926
  sub_account_id?: string;
927
+ start_time?: string;
928
+ end_time?: string;
917
929
  }
918
930
  export interface IApiQueryListSubAccountSummaryResponse {
919
931
  result?: ISnapSubAccountSummary[];
@@ -922,6 +934,8 @@ export interface IApiQueryListSubAccountSummaryResponse {
922
934
  export interface IApiQueryListVaultSubAccountSummaryRequest {
923
935
  vault_id?: string;
924
936
  time_interval?: ETimeInterval;
937
+ start_time?: string;
938
+ end_time?: string;
925
939
  }
926
940
  export interface IApiQueryListVaultSubAccountSummaryResponse {
927
941
  result?: IApiVaultSubAccountSummary[];
@@ -934,6 +948,7 @@ export interface IApiQuerySnapVaultPositionResponse {
934
948
  positions?: IPositionSummary[];
935
949
  }
936
950
  export interface IApiQuerySubAccountDailyPerformanceRequest {
951
+ currency?: EPortfolioCurrency;
937
952
  sub_account_id?: string;
938
953
  start_time?: string;
939
954
  end_time?: string;
@@ -943,6 +958,7 @@ export interface IApiQuerySubAccountDailyPerformanceResponse {
943
958
  }
944
959
  export interface IApiQuerySubAccountTodayPerformanceRequest {
945
960
  sub_account_id?: string;
961
+ currency?: EPortfolioCurrency;
946
962
  }
947
963
  export interface IApiQuerySubAccountTodayPerformanceResponse {
948
964
  pnl?: string;
@@ -979,6 +995,8 @@ export interface IApiQueryTradingPerformanceSummaryResponse {
979
995
  export interface IApiQueryTradingPerformanceTrendRequest {
980
996
  sub_account_id?: string;
981
997
  time_interval?: ETimeInterval;
998
+ start_time?: string;
999
+ end_time?: string;
982
1000
  }
983
1001
  export interface IApiQueryTradingPerformanceTrendResponse {
984
1002
  result?: IApiTradingPerformanceTrend[];
@@ -1013,6 +1031,8 @@ export interface IApiQueryVaultPerformanceResponse {
1013
1031
  export interface IApiQueryVaultPerformanceTrendRequest {
1014
1032
  vault_id?: string;
1015
1033
  time_interval?: ETimeInterval;
1034
+ start_time?: string;
1035
+ end_time?: string;
1016
1036
  }
1017
1037
  export interface IApiQueryVaultPerformanceTrendResponse {
1018
1038
  result?: IApiVaultPerformanceTrend[];
@@ -1029,6 +1049,8 @@ export interface IApiQueryVaultRiskMetricResponse {
1029
1049
  export interface IApiQueryVaultSummaryHistoryRequest {
1030
1050
  vault_id?: string;
1031
1051
  time_interval?: ETimeInterval;
1052
+ start_time?: string;
1053
+ end_time?: string;
1032
1054
  }
1033
1055
  export interface IApiQueryVaultSummaryHistoryResponse {
1034
1056
  result?: IApiVaultSummary[];
@@ -1152,6 +1174,8 @@ export interface IApiTimedAssetExposureRequest {
1152
1174
  is_gross_exposure?: boolean;
1153
1175
  time_interval?: ETimeInterval;
1154
1176
  sub_account_id?: string;
1177
+ start_time?: string;
1178
+ end_time?: string;
1155
1179
  }
1156
1180
  export interface IApiTimedAssetExposureResponse {
1157
1181
  result?: ITimedAssetExposureSummary[];
@@ -1161,6 +1185,8 @@ export interface IApiTimedVaultAssetExposureRequest {
1161
1185
  vault_id?: string;
1162
1186
  is_gross_exposure?: boolean;
1163
1187
  time_interval?: ETimeInterval;
1188
+ start_time?: string;
1189
+ end_time?: string;
1164
1190
  }
1165
1191
  export interface IApiTradeHistoryRequest {
1166
1192
  instrument?: string;
@@ -1740,6 +1766,7 @@ export interface IInstrumentDisplay {
1740
1766
  funding_interval_hours?: number;
1741
1767
  adjusted_funding_rate_cap?: string;
1742
1768
  adjusted_funding_rate_floor?: string;
1769
+ min_notional?: string;
1743
1770
  }
1744
1771
  export interface IJSONRPCRequest {
1745
1772
  jsonrpc?: string;
@@ -2166,6 +2193,7 @@ export interface ISnapSubAccountHistory {
2166
2193
  total_equity?: string;
2167
2194
  unrealized_pnl?: string;
2168
2195
  is_vault?: boolean;
2196
+ event_time?: string;
2169
2197
  }
2170
2198
  export interface ISnapSubAccountSummary {
2171
2199
  event_time?: string;
@@ -2223,6 +2251,7 @@ export interface ISubAccountPerformance {
2223
2251
  equity_start?: string;
2224
2252
  equity_end?: string;
2225
2253
  net_transfer?: string;
2254
+ currency?: number;
2226
2255
  }
2227
2256
  export interface ISubAccountTradingPerformance {
2228
2257
  start_interval?: string;
@@ -63,6 +63,7 @@ export declare enum EClusterConfigType {
63
63
  FLAG_ENABLE_ADD_ISOLATED_POSITION_MARGIN = "FLAG_ENABLE_ADD_ISOLATED_POSITION_MARGIN",
64
64
  FLAG_BUILDER_CODE = "FLAG_BUILDER_CODE",
65
65
  FLAG_ENABLE_ADJUST_IS_REDUCING_POSITION = "FLAG_ENABLE_ADJUST_IS_REDUCING_POSITION",
66
- FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE = "FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE"
66
+ FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE = "FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE",
67
+ FLAG_KEEP_EXPIRED_SESSION_KEYS_FOR_180_DAYS = "FLAG_KEEP_EXPIRED_SESSION_KEYS_FOR_180_DAYS"
67
68
  }
68
69
  export declare const EClusterConfigTypeInt: Record<EClusterConfigType, number>;
@@ -133,6 +133,8 @@ var EClusterConfigType;
133
133
  EClusterConfigType["FLAG_ENABLE_ADJUST_IS_REDUCING_POSITION"] = "FLAG_ENABLE_ADJUST_IS_REDUCING_POSITION";
134
134
  // Flag to fix cross liquidation post trade
135
135
  EClusterConfigType["FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE"] = "FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE";
136
+ // Flag to allow keeping session keys for 180 days
137
+ EClusterConfigType["FLAG_KEEP_EXPIRED_SESSION_KEYS_FOR_180_DAYS"] = "FLAG_KEEP_EXPIRED_SESSION_KEYS_FOR_180_DAYS";
136
138
  })(EClusterConfigType || (exports.EClusterConfigType = EClusterConfigType = {}));
137
139
  exports.EClusterConfigTypeInt = Object.freeze({
138
140
  [EClusterConfigType.CLIENT_TIER]: 1,
@@ -199,5 +201,6 @@ exports.EClusterConfigTypeInt = Object.freeze({
199
201
  [EClusterConfigType.FLAG_ENABLE_ADD_ISOLATED_POSITION_MARGIN]: 62,
200
202
  [EClusterConfigType.FLAG_BUILDER_CODE]: 63,
201
203
  [EClusterConfigType.FLAG_ENABLE_ADJUST_IS_REDUCING_POSITION]: 64,
202
- [EClusterConfigType.FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE]: 65
204
+ [EClusterConfigType.FLAG_FIX_CROSS_LIQUIDATION_POST_TRADE]: 65,
205
+ [EClusterConfigType.FLAG_KEEP_EXPIRED_SESSION_KEYS_FOR_180_DAYS]: 66
203
206
  });
@@ -0,0 +1,5 @@
1
+ export declare enum EPortfolioCurrency {
2
+ USD = "USD",
3
+ USDT = "USDT"
4
+ }
5
+ export declare const EPortfolioCurrencyInt: Record<EPortfolioCurrency, number>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPortfolioCurrencyInt = exports.EPortfolioCurrency = void 0;
4
+ var EPortfolioCurrency;
5
+ (function (EPortfolioCurrency) {
6
+ // the USD portfolio currency, defaults to USDT
7
+ EPortfolioCurrency["USD"] = "USD";
8
+ // the USDT portfolio currency
9
+ EPortfolioCurrency["USDT"] = "USDT";
10
+ })(EPortfolioCurrency || (exports.EPortfolioCurrency = EPortfolioCurrency = {}));
11
+ exports.EPortfolioCurrencyInt = Object.freeze({
12
+ [EPortfolioCurrency.USD]: 1,
13
+ [EPortfolioCurrency.USDT]: 2
14
+ });
@@ -13,7 +13,8 @@ exports.AGGREGATED_ACCOUNT_PERFORMANCE_MAP = Object.freeze({
13
13
  net_transfer: 'nt',
14
14
  investment_balance_start: 'ib',
15
15
  investment_balance_end: 'ib1',
16
- net_investment: 'ni'
16
+ net_investment: 'ni',
17
+ currency: 'c'
17
18
  },
18
19
  LITE_TO_FULL: {
19
20
  si: 'start_interval',
@@ -25,6 +26,7 @@ exports.AGGREGATED_ACCOUNT_PERFORMANCE_MAP = Object.freeze({
25
26
  nt: 'net_transfer',
26
27
  ib: 'investment_balance_start',
27
28
  ib1: 'investment_balance_end',
28
- ni: 'net_investment'
29
+ ni: 'net_investment',
30
+ c: 'currency'
29
31
  }
30
32
  });
@@ -9,7 +9,10 @@ exports.API_FUNDING_PAYMENT_HISTORY_REQUEST_MAP = Object.freeze({
9
9
  start_time: 'st',
10
10
  end_time: 'et',
11
11
  limit: 'l',
12
- cursor: 'c'
12
+ cursor: 'c',
13
+ kind: 'k',
14
+ base: 'b',
15
+ quote: 'q'
13
16
  },
14
17
  LITE_TO_FULL: {
15
18
  sa: 'sub_account_id',
@@ -17,6 +20,9 @@ exports.API_FUNDING_PAYMENT_HISTORY_REQUEST_MAP = Object.freeze({
17
20
  st: 'start_time',
18
21
  et: 'end_time',
19
22
  l: 'limit',
20
- c: 'cursor'
23
+ c: 'cursor',
24
+ k: 'kind',
25
+ b: 'base',
26
+ q: 'quote'
21
27
  }
22
28
  });
@@ -2,14 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_GET_CEV_ACCESS_TIERS_RESPONSE_MAP = void 0;
4
4
  const cev_access_tier_1 = require("./cev_access_tier");
5
+ const cev_access_tier_overwrite_1 = require("./cev_access_tier_overwrite");
5
6
  // Schema map for the 'API_GET_CEV_ACCESS_TIERS_RESPONSE' struct.
6
7
  exports.API_GET_CEV_ACCESS_TIERS_RESPONSE_MAP = Object.freeze({
7
8
  FULL_TO_LITE: {
8
9
  enabled: 'e',
9
- tiers: ['t', [cev_access_tier_1.CEV_ACCESS_TIER_MAP.FULL_TO_LITE]]
10
+ tiers: ['t', [cev_access_tier_1.CEV_ACCESS_TIER_MAP.FULL_TO_LITE]],
11
+ overwrites: ['o', [cev_access_tier_overwrite_1.CEV_ACCESS_TIER_OVERWRITE_MAP.FULL_TO_LITE]]
10
12
  },
11
13
  LITE_TO_FULL: {
12
14
  e: 'enabled',
13
- t: ['tiers', [cev_access_tier_1.CEV_ACCESS_TIER_MAP.LITE_TO_FULL]]
15
+ t: ['tiers', [cev_access_tier_1.CEV_ACCESS_TIER_MAP.LITE_TO_FULL]],
16
+ o: ['overwrites', [cev_access_tier_overwrite_1.CEV_ACCESS_TIER_OVERWRITE_MAP.LITE_TO_FULL]]
14
17
  }
15
18
  });
@@ -4,10 +4,12 @@ exports.API_QUERY_ACCOUNT_DAILY_PERFORMANCE_REQUEST_MAP = void 0;
4
4
  // Schema map for the 'API_QUERY_ACCOUNT_DAILY_PERFORMANCE_REQUEST' struct.
5
5
  exports.API_QUERY_ACCOUNT_DAILY_PERFORMANCE_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
+ currency: 'c',
7
8
  start_time: 'st',
8
9
  end_time: 'et'
9
10
  },
10
11
  LITE_TO_FULL: {
12
+ c: 'currency',
11
13
  st: 'start_time',
12
14
  et: 'end_time'
13
15
  }
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_QUERY_ACCOUNT_TODAY_PERFORMANCE_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_QUERY_ACCOUNT_TODAY_PERFORMANCE_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_QUERY_ACCOUNT_TODAY_PERFORMANCE_REQUEST' struct.
5
+ exports.API_QUERY_ACCOUNT_TODAY_PERFORMANCE_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ currency: 'c'
8
+ },
9
+ LITE_TO_FULL: {
10
+ c: 'currency'
11
+ }
12
+ });
@@ -5,10 +5,14 @@ exports.API_QUERY_LIST_SUB_ACCOUNT_SUMMARY_REQUEST_MAP = void 0;
5
5
  exports.API_QUERY_LIST_SUB_ACCOUNT_SUMMARY_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  time_interval: 'ti',
8
- sub_account_id: 'sa'
8
+ sub_account_id: 'sa',
9
+ start_time: 'st',
10
+ end_time: 'et'
9
11
  },
10
12
  LITE_TO_FULL: {
11
13
  ti: 'time_interval',
12
- sa: 'sub_account_id'
14
+ sa: 'sub_account_id',
15
+ st: 'start_time',
16
+ et: 'end_time'
13
17
  }
14
18
  });
@@ -5,10 +5,14 @@ exports.API_QUERY_LIST_VAULT_SUB_ACCOUNT_SUMMARY_REQUEST_MAP = void 0;
5
5
  exports.API_QUERY_LIST_VAULT_SUB_ACCOUNT_SUMMARY_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  vault_id: 'vi',
8
- time_interval: 'ti'
8
+ time_interval: 'ti',
9
+ start_time: 'st',
10
+ end_time: 'et'
9
11
  },
10
12
  LITE_TO_FULL: {
11
13
  vi: 'vault_id',
12
- ti: 'time_interval'
14
+ ti: 'time_interval',
15
+ st: 'start_time',
16
+ et: 'end_time'
13
17
  }
14
18
  });
@@ -4,11 +4,13 @@ exports.API_QUERY_SUB_ACCOUNT_DAILY_PERFORMANCE_REQUEST_MAP = void 0;
4
4
  // Schema map for the 'API_QUERY_SUB_ACCOUNT_DAILY_PERFORMANCE_REQUEST' struct.
5
5
  exports.API_QUERY_SUB_ACCOUNT_DAILY_PERFORMANCE_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
+ currency: 'c',
7
8
  sub_account_id: 'sa',
8
9
  start_time: 'st',
9
10
  end_time: 'et'
10
11
  },
11
12
  LITE_TO_FULL: {
13
+ c: 'currency',
12
14
  sa: 'sub_account_id',
13
15
  st: 'start_time',
14
16
  et: 'end_time'
@@ -4,9 +4,11 @@ exports.API_QUERY_SUB_ACCOUNT_TODAY_PERFORMANCE_REQUEST_MAP = void 0;
4
4
  // Schema map for the 'API_QUERY_SUB_ACCOUNT_TODAY_PERFORMANCE_REQUEST' struct.
5
5
  exports.API_QUERY_SUB_ACCOUNT_TODAY_PERFORMANCE_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
- sub_account_id: 'sa'
7
+ sub_account_id: 'sa',
8
+ currency: 'c'
8
9
  },
9
10
  LITE_TO_FULL: {
10
- sa: 'sub_account_id'
11
+ sa: 'sub_account_id',
12
+ c: 'currency'
11
13
  }
12
14
  });
@@ -5,10 +5,14 @@ exports.API_QUERY_TRADING_PERFORMANCE_TREND_REQUEST_MAP = void 0;
5
5
  exports.API_QUERY_TRADING_PERFORMANCE_TREND_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  sub_account_id: 'sa',
8
- time_interval: 'ti'
8
+ time_interval: 'ti',
9
+ start_time: 'st',
10
+ end_time: 'et'
9
11
  },
10
12
  LITE_TO_FULL: {
11
13
  sa: 'sub_account_id',
12
- ti: 'time_interval'
14
+ ti: 'time_interval',
15
+ st: 'start_time',
16
+ et: 'end_time'
13
17
  }
14
18
  });
@@ -5,10 +5,14 @@ exports.API_QUERY_VAULT_PERFORMANCE_TREND_REQUEST_MAP = void 0;
5
5
  exports.API_QUERY_VAULT_PERFORMANCE_TREND_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  vault_id: 'vi',
8
- time_interval: 'ti'
8
+ time_interval: 'ti',
9
+ start_time: 'st',
10
+ end_time: 'et'
9
11
  },
10
12
  LITE_TO_FULL: {
11
13
  vi: 'vault_id',
12
- ti: 'time_interval'
14
+ ti: 'time_interval',
15
+ st: 'start_time',
16
+ et: 'end_time'
13
17
  }
14
18
  });
@@ -5,10 +5,14 @@ exports.API_QUERY_VAULT_SUMMARY_HISTORY_REQUEST_MAP = void 0;
5
5
  exports.API_QUERY_VAULT_SUMMARY_HISTORY_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  vault_id: 'vi',
8
- time_interval: 'ti'
8
+ time_interval: 'ti',
9
+ start_time: 'st',
10
+ end_time: 'et'
9
11
  },
10
12
  LITE_TO_FULL: {
11
13
  vi: 'vault_id',
12
- ti: 'time_interval'
14
+ ti: 'time_interval',
15
+ st: 'start_time',
16
+ et: 'end_time'
13
17
  }
14
18
  });
@@ -6,11 +6,15 @@ exports.API_TIMED_ASSET_EXPOSURE_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  is_gross_exposure: 'ig',
8
8
  time_interval: 'ti',
9
- sub_account_id: 'sa'
9
+ sub_account_id: 'sa',
10
+ start_time: 'st',
11
+ end_time: 'et'
10
12
  },
11
13
  LITE_TO_FULL: {
12
14
  ig: 'is_gross_exposure',
13
15
  ti: 'time_interval',
14
- sa: 'sub_account_id'
16
+ sa: 'sub_account_id',
17
+ st: 'start_time',
18
+ et: 'end_time'
15
19
  }
16
20
  });
@@ -6,11 +6,15 @@ exports.API_TIMED_VAULT_ASSET_EXPOSURE_REQUEST_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  vault_id: 'vi',
8
8
  is_gross_exposure: 'ig',
9
- time_interval: 'ti'
9
+ time_interval: 'ti',
10
+ start_time: 'st',
11
+ end_time: 'et'
10
12
  },
11
13
  LITE_TO_FULL: {
12
14
  vi: 'vault_id',
13
15
  ig: 'is_gross_exposure',
14
- ti: 'time_interval'
16
+ ti: 'time_interval',
17
+ st: 'start_time',
18
+ et: 'end_time'
15
19
  }
16
20
  });
@@ -23,7 +23,8 @@ exports.INSTRUMENT_DISPLAY_MAP = Object.freeze({
23
23
  funding_methodology_version: 'fm',
24
24
  funding_interval_hours: 'fi',
25
25
  adjusted_funding_rate_cap: 'af',
26
- adjusted_funding_rate_floor: 'af1'
26
+ adjusted_funding_rate_floor: 'af1',
27
+ min_notional: 'mn'
27
28
  },
28
29
  LITE_TO_FULL: {
29
30
  i: 'instrument',
@@ -45,6 +46,7 @@ exports.INSTRUMENT_DISPLAY_MAP = Object.freeze({
45
46
  fm: 'funding_methodology_version',
46
47
  fi: 'funding_interval_hours',
47
48
  af: 'adjusted_funding_rate_cap',
48
- af1: 'adjusted_funding_rate_floor'
49
+ af1: 'adjusted_funding_rate_floor',
50
+ mn: 'min_notional'
49
51
  }
50
52
  });
@@ -8,13 +8,15 @@ exports.SNAP_SUB_ACCOUNT_HISTORY_MAP = Object.freeze({
8
8
  sub_account_id: 'sa',
9
9
  total_equity: 'te',
10
10
  unrealized_pnl: 'up',
11
- is_vault: 'iv'
11
+ is_vault: 'iv',
12
+ event_time: 'et'
12
13
  },
13
14
  LITE_TO_FULL: {
14
15
  si: 'start_interval',
15
16
  sa: 'sub_account_id',
16
17
  te: 'total_equity',
17
18
  up: 'unrealized_pnl',
18
- iv: 'is_vault'
19
+ iv: 'is_vault',
20
+ et: 'event_time'
19
21
  }
20
22
  });
@@ -9,7 +9,8 @@ exports.SUB_ACCOUNT_PERFORMANCE_MAP = Object.freeze({
9
9
  pnl: 'p',
10
10
  equity_start: 'es',
11
11
  equity_end: 'ee',
12
- net_transfer: 'nt'
12
+ net_transfer: 'nt',
13
+ currency: 'c'
13
14
  },
14
15
  LITE_TO_FULL: {
15
16
  si: 'start_interval',
@@ -17,6 +18,7 @@ exports.SUB_ACCOUNT_PERFORMANCE_MAP = Object.freeze({
17
18
  p: 'pnl',
18
19
  es: 'equity_start',
19
20
  ee: 'equity_end',
20
- nt: 'net_transfer'
21
+ nt: 'net_transfer',
22
+ c: 'currency'
21
23
  }
22
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.6.19",
3
+ "version": "1.6.21",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",