@pear-protocol/hyperliquid-sdk 0.0.49-hip3-alpha → 0.0.50

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.
@@ -1,8 +1,8 @@
1
- import type { ApiResponse, CandleInterval, CandleData, ExternalFillDto, AllPerpMetasResponse } from '../types';
1
+ import type { ApiResponse, CandleInterval, CandleData, ExternalFillDto, AllPerpMetasResponse, ExtraAgent } from '../types';
2
2
  /**
3
3
  * Fetch historical candle data from HyperLiquid API
4
4
  */
5
- export declare const fetchHistoricalCandles: (coin: string, startTime: number, endTime: number, interval: CandleInterval) => Promise<ApiResponse<CandleData[]>>;
5
+ export declare const fetchHistoricalCandles: (coin: string, startTime: number, endTime: number, interval: CandleInterval, displayToFull: Map<string, string>) => Promise<ApiResponse<CandleData[]>>;
6
6
  /**
7
7
  * Retrieve recent user fills from HyperLiquid and map to ExternalFillDto[]
8
8
  */
@@ -13,3 +13,9 @@ export declare const fetchUserFillsFromHyperliquid: (user: string, startTime: nu
13
13
  * Payload: { "type": "allPerpMetas" }
14
14
  */
15
15
  export declare const fetchAllPerpMetas: () => Promise<ApiResponse<AllPerpMetasResponse>>;
16
+ /**
17
+ * Fetch extra agent approvals for a given user from HyperLiquid API
18
+ * Endpoint: https://api.hyperliquid.xyz/info
19
+ * Payload: { "type": "extraAgents", "user": "0x..." }
20
+ */
21
+ export declare const fetchExtraAgents: (user: string) => Promise<ApiResponse<ExtraAgent[]>>;
@@ -56,7 +56,7 @@ export interface CreatePositionResponseDto {
56
56
  * Caller should supply an accessToken from localStorage.getItem('accessToken')
57
57
  * @throws MinimumPositionSizeError if any asset has less than $11 USD value
58
58
  */
59
- export declare function createPosition(baseUrl: string, accessToken: string, payload: CreatePositionRequestInput): Promise<ApiResponse<CreatePositionResponseDto>>;
59
+ export declare function createPosition(baseUrl: string, accessToken: string, payload: CreatePositionRequestInput, displayToFull: Map<string, string>): Promise<ApiResponse<CreatePositionResponseDto>>;
60
60
  export interface UpdateRiskParametersRequestInput {
61
61
  stopLoss?: TpSlThresholdInput | null;
62
62
  takeProfit?: TpSlThresholdInput | null;
@@ -6,4 +6,4 @@ export declare const syncFills: (baseUrl: string, accessToken: string, payload:
6
6
  /**
7
7
  * Convenience: fetch user fills from HyperLiquid, then sync them to Pear backend
8
8
  */
9
- export declare const syncUserFillsFromHyperliquid: (baseUrl: string, accessToken: string, user: string, aggregateByTime?: boolean) => Promise<ApiResponse<SyncFillsResponseDto>>;
9
+ export declare const syncUserFillsFromHyperliquid: (baseUrl: string, accessToken: string, user: string, aggregateByTime?: boolean, lastSyncAt?: number | null) => Promise<ApiResponse<SyncFillsResponseDto>>;
@@ -1,2 +1,2 @@
1
1
  import type { ApiResponse, ToggleWatchlistResponseDto, WatchlistAssetDto } from '../types';
2
- export declare function toggleWatchlist(baseUrl: string, accessToken: string, longAssets: WatchlistAssetDto[], shortAssets: WatchlistAssetDto[]): Promise<ApiResponse<ToggleWatchlistResponseDto>>;
2
+ export declare function toggleWatchlist(baseUrl: string, accessToken: string, longAssets: WatchlistAssetDto[], shortAssets: WatchlistAssetDto[], displayToFull: Map<string, string>): Promise<ApiResponse<ToggleWatchlistResponseDto>>;
@@ -1,4 +1,4 @@
1
- export * from './useAddress';
1
+ export * from './useAccountSummary';
2
2
  export * from './useTrading';
3
3
  export * from './useUserSelection';
4
4
  export * from './useWebData';
@@ -0,0 +1,5 @@
1
+ import { AccountSummaryResponseDto } from "../types";
2
+ export declare const useAccountSummary: () => {
3
+ data: AccountSummaryResponseDto | null;
4
+ isLoading: boolean;
5
+ };
@@ -1,10 +1,5 @@
1
- import type { GetAgentWalletResponseDto, CreateAgentWalletResponseDto, UseAgentWalletOptions, AgentWalletState } from '../types';
2
- export declare function useAgentWallet({ baseUrl }: UseAgentWalletOptions): {
3
- readonly agentWallet: AgentWalletState;
4
- readonly isReady: boolean;
5
- readonly loading: false;
6
- readonly error: null;
7
- readonly refreshAgentWalletStatus: () => Promise<GetAgentWalletResponseDto>;
8
- readonly createAgentWallet: () => Promise<CreateAgentWalletResponseDto>;
9
- readonly notifyAgentWalletApproved: () => Promise<GetAgentWalletResponseDto>;
1
+ export declare function useAgentWallet(): {
2
+ readonly refreshAgentWalletStatus: () => Promise<void>;
3
+ readonly createAgentWallet: () => Promise<import("../types").CreateAgentWalletResponseDto>;
4
+ readonly notifyAgentWalletApproved: () => Promise<void>;
10
5
  };
@@ -8,6 +8,6 @@ export interface UsePortfolioResult {
8
8
  /**
9
9
  * Hook to fetch and manage portfolio data
10
10
  * Returns bucketed volume, open interest snapshot, win/loss trade counts,
11
- * and overall metrics filtered to PEAR fills (cloid LIKE 0x50454152%)
11
+ * and overall metrics
12
12
  */
13
13
  export declare function usePortfolio(): UsePortfolioResult;
@@ -1,4 +1,4 @@
1
- import type { AccountSummaryResponseDto, OpenLimitOrderDto } from '../types';
1
+ import type { OpenLimitOrderDto } from '../types';
2
2
  import type { TradeHistoryDataDto } from '../types';
3
3
  export declare const useTradeHistories: () => {
4
4
  data: TradeHistoryDataDto[] | null;
@@ -11,10 +11,3 @@ export declare const useOpenOrders: () => {
11
11
  data: OpenLimitOrderDto[] | null;
12
12
  isLoading: boolean;
13
13
  };
14
- /**
15
- * Hook to access account summary with real-time calculations and loading state
16
- */
17
- export declare const useAccountSummary: () => {
18
- data: AccountSummaryResponseDto | null;
19
- isLoading: boolean;
20
- };
@@ -3,9 +3,10 @@ import type { AssetMarketData, ClearinghouseState } from '../types';
3
3
  * Hook to access webData and native WebSocket state
4
4
  */
5
5
  export declare const useWebData: () => {
6
- clearinghouseState: ClearinghouseState | undefined;
7
- perpsAtOpenInterestCap: string[] | undefined;
6
+ clearinghouseState: ClearinghouseState | null;
7
+ perpsAtOpenInterestCap: string[] | null;
8
8
  marketDataBySymbol: Record<string, AssetMarketData>;
9
+ hip3Assets: Map<string, string>;
9
10
  isConnected: boolean;
10
11
  error: string | null;
11
12
  };
@@ -1,9 +1,10 @@
1
1
  export interface UseHyperliquidNativeWebSocketProps {
2
2
  address: string | null;
3
3
  tokens?: string[];
4
+ enabled?: boolean;
4
5
  }
5
6
  export interface UseHyperliquidNativeWebSocketReturn {
6
7
  isConnected: boolean;
7
8
  lastError: string | null;
8
9
  }
9
- export declare const useHyperliquidNativeWebSocket: ({ address, }: UseHyperliquidNativeWebSocketProps) => UseHyperliquidNativeWebSocketReturn;
10
+ export declare const useHyperliquidNativeWebSocket: ({ address, enabled, }: UseHyperliquidNativeWebSocketProps) => UseHyperliquidNativeWebSocketReturn;
package/dist/index.d.ts CHANGED
@@ -272,15 +272,22 @@ interface BalanceSummaryDto {
272
272
  * Agent wallet information
273
273
  */
274
274
  interface AgentWalletDto {
275
- address: string;
275
+ address?: string;
276
276
  status: string;
277
277
  }
278
+ interface PlatformAccountSummaryResponseDto {
279
+ agentWalletAddress: string | null;
280
+ totalClosedTrades: number;
281
+ totalLimitOrderUsdValue?: number;
282
+ totalTwapChunkUsdValue?: number;
283
+ lastSyncedAt?: number;
284
+ }
278
285
  /**
279
286
  * Account balance response (renamed to AccountSummaryResponseDto for consistency)
280
287
  */
281
288
  interface AccountSummaryResponseDto {
282
289
  balanceSummary: BalanceSummaryDto;
283
- agentWallet: AgentWalletDto;
290
+ agentWallet?: AgentWalletDto;
284
291
  }
285
292
  declare enum AuthStatus {
286
293
  Idle = "idle",
@@ -298,17 +305,14 @@ interface UserProfile {
298
305
  appId: string;
299
306
  }
300
307
  type AgentWalletStatus = 'ACTIVE' | 'EXPIRED' | 'NOT_FOUND';
301
- interface GetAgentWalletResponseDto {
302
- agentWalletAddress?: string;
303
- agentName: string;
304
- status: AgentWalletStatus;
305
- }
306
308
  interface CreateAgentWalletResponseDto {
307
309
  agentWalletAddress: string;
308
310
  message: string;
309
311
  }
310
- interface UseAgentWalletOptions {
311
- baseUrl: string;
312
+ interface ExtraAgent {
313
+ name: string;
314
+ address: string;
315
+ validUntil: number;
312
316
  }
313
317
  interface AgentWalletState {
314
318
  address: string | null;
@@ -626,13 +630,6 @@ interface PearHyperliquidContextType {
626
630
  loginWithPrivyToken: (address: string, appId: string, accessToken: string) => Promise<void>;
627
631
  refreshTokens: () => Promise<any>;
628
632
  logout: () => Promise<void>;
629
- agentWallet: AgentWalletState;
630
- isAgentWalletReady: boolean;
631
- agentWalletError: string | null;
632
- agentWalletLoading: boolean;
633
- refreshAgentWalletStatus: () => Promise<any>;
634
- createAgentWallet: () => Promise<any>;
635
- notifyAgentWalletApproved: () => Promise<any>;
636
633
  }
637
634
  interface PearHyperliquidProviderProps {
638
635
  children: ReactNode;
@@ -664,27 +661,10 @@ declare function usePearAuth(): {
664
661
  readonly refreshTokens: () => Promise<any>;
665
662
  readonly logout: () => Promise<void>;
666
663
  };
667
- /**
668
- * Provider-aware Agent Wallet hook. Uses agent wallet state/actions provided by PearHyperliquidProvider.
669
- */
670
- declare function usePearAgentWallet(): {
671
- readonly agentWallet: AgentWalletState;
672
- readonly isReady: boolean;
673
- readonly loading: boolean;
674
- readonly error: string | null;
675
- readonly refreshAgentWalletStatus: () => Promise<any>;
676
- readonly createAgentWallet: () => Promise<any>;
677
- readonly notifyAgentWalletApproved: () => Promise<any>;
678
- };
679
664
 
680
- /**
681
- * Hook to manage address (login/logout functionality)
682
- */
683
- declare const useAddress: () => {
684
- address: string | null;
685
- setAddress: (address: string | null) => void;
686
- clearAddress: () => void;
687
- isLoggedIn: boolean;
665
+ declare const useAccountSummary: () => {
666
+ data: AccountSummaryResponseDto | null;
667
+ isLoading: boolean;
688
668
  };
689
669
 
690
670
  declare const useTradeHistories: () => {
@@ -698,13 +678,6 @@ declare const useOpenOrders: () => {
698
678
  data: OpenLimitOrderDto[] | null;
699
679
  isLoading: boolean;
700
680
  };
701
- /**
702
- * Hook to access account summary with real-time calculations and loading state
703
- */
704
- declare const useAccountSummary: () => {
705
- data: AccountSummaryResponseDto | null;
706
- isLoading: boolean;
707
- };
708
681
 
709
682
  interface UserSelectionState {
710
683
  longTokens: TokenSelection[];
@@ -736,9 +709,10 @@ declare const useUserSelection: () => UserSelectionState;
736
709
  * Hook to access webData and native WebSocket state
737
710
  */
738
711
  declare const useWebData: () => {
739
- clearinghouseState: ClearinghouseState | undefined;
740
- perpsAtOpenInterestCap: string[] | undefined;
712
+ clearinghouseState: ClearinghouseState | null;
713
+ perpsAtOpenInterestCap: string[] | null;
741
714
  marketDataBySymbol: Record<string, AssetMarketData>;
715
+ hip3Assets: Map<string, string>;
742
716
  isConnected: boolean;
743
717
  error: string | null;
744
718
  };
@@ -824,14 +798,10 @@ interface UsePerformanceOverlaysReturn {
824
798
  }
825
799
  declare const usePerformanceOverlays: () => UsePerformanceOverlaysReturn;
826
800
 
827
- declare function useAgentWallet({ baseUrl }: UseAgentWalletOptions): {
828
- readonly agentWallet: AgentWalletState;
829
- readonly isReady: boolean;
830
- readonly loading: false;
831
- readonly error: null;
832
- readonly refreshAgentWalletStatus: () => Promise<GetAgentWalletResponseDto>;
801
+ declare function useAgentWallet(): {
802
+ readonly refreshAgentWalletStatus: () => Promise<void>;
833
803
  readonly createAgentWallet: () => Promise<CreateAgentWalletResponseDto>;
834
- readonly notifyAgentWalletApproved: () => Promise<GetAgentWalletResponseDto>;
804
+ readonly notifyAgentWalletApproved: () => Promise<void>;
835
805
  };
836
806
 
837
807
  interface AutoSyncFillsOptions {
@@ -935,7 +905,7 @@ interface CreatePositionResponseDto {
935
905
  * Caller should supply an accessToken from localStorage.getItem('accessToken')
936
906
  * @throws MinimumPositionSizeError if any asset has less than $11 USD value
937
907
  */
938
- declare function createPosition(baseUrl: string, accessToken: string, payload: CreatePositionRequestInput): Promise<ApiResponse<CreatePositionResponseDto>>;
908
+ declare function createPosition(baseUrl: string, accessToken: string, payload: CreatePositionRequestInput, displayToFull: Map<string, string>): Promise<ApiResponse<CreatePositionResponseDto>>;
939
909
  interface UpdateRiskParametersRequestInput {
940
910
  stopLoss?: TpSlThresholdInput | null;
941
911
  takeProfit?: TpSlThresholdInput | null;
@@ -1094,15 +1064,16 @@ interface UsePortfolioResult {
1094
1064
  /**
1095
1065
  * Hook to fetch and manage portfolio data
1096
1066
  * Returns bucketed volume, open interest snapshot, win/loss trade counts,
1097
- * and overall metrics filtered to PEAR fills (cloid LIKE 0x50454152%)
1067
+ * and overall metrics
1098
1068
  */
1099
1069
  declare function usePortfolio(): UsePortfolioResult;
1100
1070
 
1101
1071
  interface UseHyperliquidWebSocketProps {
1102
1072
  wsUrl: string;
1103
1073
  address: string | null;
1074
+ enabled?: boolean;
1104
1075
  }
1105
- declare const useHyperliquidWebSocket: ({ wsUrl, address }: UseHyperliquidWebSocketProps) => {
1076
+ declare const useHyperliquidWebSocket: ({ wsUrl, address, enabled, }: UseHyperliquidWebSocketProps) => {
1106
1077
  isConnected: boolean;
1107
1078
  lastError: string | null;
1108
1079
  };
@@ -1110,12 +1081,13 @@ declare const useHyperliquidWebSocket: ({ wsUrl, address }: UseHyperliquidWebSoc
1110
1081
  interface UseHyperliquidNativeWebSocketProps {
1111
1082
  address: string | null;
1112
1083
  tokens?: string[];
1084
+ enabled?: boolean;
1113
1085
  }
1114
1086
  interface UseHyperliquidNativeWebSocketReturn {
1115
1087
  isConnected: boolean;
1116
1088
  lastError: string | null;
1117
1089
  }
1118
- declare const useHyperliquidNativeWebSocket: ({ address, }: UseHyperliquidNativeWebSocketProps) => UseHyperliquidNativeWebSocketReturn;
1090
+ declare const useHyperliquidNativeWebSocket: ({ address, enabled, }: UseHyperliquidNativeWebSocketProps) => UseHyperliquidNativeWebSocketReturn;
1119
1091
 
1120
1092
  /**
1121
1093
  * Mark notifications as read up to a given timestamp (ms)
@@ -1130,7 +1102,7 @@ declare function markNotificationReadById(baseUrl: string, accessToken: string,
1130
1102
  updated: number;
1131
1103
  }>>;
1132
1104
 
1133
- declare function toggleWatchlist(baseUrl: string, accessToken: string, longAssets: WatchlistAssetDto[], shortAssets: WatchlistAssetDto[]): Promise<ApiResponse<ToggleWatchlistResponseDto>>;
1105
+ declare function toggleWatchlist(baseUrl: string, accessToken: string, longAssets: WatchlistAssetDto[], shortAssets: WatchlistAssetDto[], displayToFull: Map<string, string>): Promise<ApiResponse<ToggleWatchlistResponseDto>>;
1134
1106
 
1135
1107
  /**
1136
1108
  * Account summary calculation utility class
@@ -1141,11 +1113,7 @@ declare class AccountSummaryCalculator {
1141
1113
  /**
1142
1114
  * Calculate account summary from real-time clearinghouse state and platform orders
1143
1115
  */
1144
- calculateAccountSummary(platformAccountSummary: AccountSummaryResponseDto | null, platformOpenOrders: OpenLimitOrderDto[] | null, agentWalletAddress?: string, agentWalletStatus?: string): AccountSummaryResponseDto | null;
1145
- /**
1146
- * Calculate total USD value of open limit orders
1147
- */
1148
- private calculateTotalLimitOrderValue;
1116
+ calculateAccountSummary(platformAccountSummary: PlatformAccountSummaryResponseDto | null, registeredAgentWallets: ExtraAgent[]): AccountSummaryResponseDto | null;
1149
1117
  getClearinghouseState(): ClearinghouseState | null;
1150
1118
  /**
1151
1119
  * Check if real-time data is available
@@ -1276,5 +1244,5 @@ declare function validatePositionSize(usdValue: number, longAssets?: PairAssetIn
1276
1244
 
1277
1245
  declare const useMarketData: any;
1278
1246
 
1279
- export { AccountSummaryCalculator, AuthStatus, ConflictDetector, MINIMUM_ASSET_USD_VALUE, MinimumPositionSizeError, PearHyperliquidProvider, TokenMetadataExtractor, adjustOrder, adjustPosition, calculateMinimumPositionValue, calculateWeightedRatio, cancelOrder, cancelTwap, cancelTwapOrder, closeAllPositions, closePosition, computeBasketCandles, createCandleLookups, createPosition, getCompleteTimestamps, getPortfolio, mapCandleIntervalToTradingViewInterval, mapTradingViewIntervalToCandleInterval, markNotificationReadById, markNotificationsRead, toggleWatchlist, updateRiskParameters, useAccountSummary, useActiveBaskets, useAddress, useAgentWallet, useAllBaskets, useAutoSyncFills, useBasketCandles, useFindBasket, useHighlightedBaskets, useHistoricalPriceData, useHistoricalPriceDataStore, useHyperliquidNativeWebSocket, useHyperliquidWebSocket, useMarketData, useMarketDataAllPayload, useMarketDataPayload, useNotifications, useOpenOrders, useOrders, usePearAgentWallet, usePearAuth, usePearHyperliquid, usePerformanceOverlays, usePortfolio, usePosition, useTokenSelectionMetadata, useTopGainers, useTopLosers, useTradeHistories, useTwap, useUserSelection, useWatchlist, useWatchlistBaskets, useWebData, validateMinimumAssetSize, validatePositionSize };
1280
- export type { AccountSummaryResponseDto, ActiveAssetGroupItem, ActiveAssetsResponse, AdjustExecutionType, AdjustOrderRequestInput, AdjustOrderResponseDto, AdjustPositionRequestInput, AdjustPositionResponseDto, AgentWalletDto, AgentWalletState, ApiErrorResponse, ApiResponse, AssetCtx, AssetInformationDetail, AssetMarketData, AssetPosition, AutoSyncFillsOptions, AutoSyncFillsState, BalanceSummaryDto, CancelOrderResponseDto, CancelTwapResponseDto, CandleChartData, CandleData, CandleInterval, CandleSnapshotRequest, ClearinghouseState, CloseAllPositionsResponseDto, CloseAllPositionsResultDto, CloseExecutionType, ClosePositionRequestInput, ClosePositionResponseDto, CreatePositionRequestInput, CreatePositionResponseDto, CrossMarginSummaryDto, CumFundingDto, ExecutionType, HLWebSocketResponse, HistoricalRange, LadderConfigInput, MarginSummaryDto, NotificationCategory, NotificationDto, OpenLimitOrderDto, OpenPositionDto, OrderAssetDto, OrderStatus, PairAssetDto, PairAssetInput, PerformanceOverlay, PortfolioBucketDto, PortfolioInterval, PortfolioIntervalsDto, PortfolioOverallDto, PortfolioResponseDto, PositionAdjustmentType, PositionAssetDetailDto, PositionAssetSummaryDto, PositionResponseStatus, RealtimeBar, RealtimeBarsCallback, ToggleWatchlistResponseDto, TokenConflict, TokenHistoricalPriceData, TokenMetadata, TokenSelection, TpSlThresholdInput, TpSlThresholdType, TradeHistoryAssetDataDto, TradeHistoryDataDto, TwapChunkStatusDto, TwapMonitoringDto, UniverseAsset, UpdateRiskParametersRequestInput, UpdateRiskParametersResponseDto, UseAgentWalletOptions, UseAuthOptions, UseBasketCandlesReturn, UseHistoricalPriceDataReturn, UseNotificationsResult, UsePerformanceOverlaysReturn, UsePortfolioResult, UseTokenSelectionMetadataReturn, UserProfile, UserSelectionState, WatchlistItemDto, WebSocketAckResponse, WebSocketChannel, WebSocketConnectionState, WebSocketDataMessage, WebSocketMessage, WebSocketSubscribeMessage, WsAllMidsData };
1247
+ export { AccountSummaryCalculator, AuthStatus, ConflictDetector, MINIMUM_ASSET_USD_VALUE, MinimumPositionSizeError, PearHyperliquidProvider, TokenMetadataExtractor, adjustOrder, adjustPosition, calculateMinimumPositionValue, calculateWeightedRatio, cancelOrder, cancelTwap, cancelTwapOrder, closeAllPositions, closePosition, computeBasketCandles, createCandleLookups, createPosition, getCompleteTimestamps, getPortfolio, mapCandleIntervalToTradingViewInterval, mapTradingViewIntervalToCandleInterval, markNotificationReadById, markNotificationsRead, toggleWatchlist, updateRiskParameters, useAccountSummary, useActiveBaskets, useAgentWallet, useAllBaskets, useAutoSyncFills, useBasketCandles, useFindBasket, useHighlightedBaskets, useHistoricalPriceData, useHistoricalPriceDataStore, useHyperliquidNativeWebSocket, useHyperliquidWebSocket, useMarketData, useMarketDataAllPayload, useMarketDataPayload, useNotifications, useOpenOrders, useOrders, usePearAuth, usePearHyperliquid, usePerformanceOverlays, usePortfolio, usePosition, useTokenSelectionMetadata, useTopGainers, useTopLosers, useTradeHistories, useTwap, useUserSelection, useWatchlist, useWatchlistBaskets, useWebData, validateMinimumAssetSize, validatePositionSize };
1248
+ export type { AccountSummaryResponseDto, ActiveAssetGroupItem, ActiveAssetsResponse, AdjustExecutionType, AdjustOrderRequestInput, AdjustOrderResponseDto, AdjustPositionRequestInput, AdjustPositionResponseDto, AgentWalletDto, AgentWalletState, ApiErrorResponse, ApiResponse, AssetCtx, AssetInformationDetail, AssetMarketData, AssetPosition, AutoSyncFillsOptions, AutoSyncFillsState, BalanceSummaryDto, CancelOrderResponseDto, CancelTwapResponseDto, CandleChartData, CandleData, CandleInterval, CandleSnapshotRequest, ClearinghouseState, CloseAllPositionsResponseDto, CloseAllPositionsResultDto, CloseExecutionType, ClosePositionRequestInput, ClosePositionResponseDto, CreatePositionRequestInput, CreatePositionResponseDto, CrossMarginSummaryDto, CumFundingDto, ExecutionType, ExtraAgent, HLWebSocketResponse, HistoricalRange, LadderConfigInput, MarginSummaryDto, NotificationCategory, NotificationDto, OpenLimitOrderDto, OpenPositionDto, OrderAssetDto, OrderStatus, PairAssetDto, PairAssetInput, PerformanceOverlay, PlatformAccountSummaryResponseDto, PortfolioBucketDto, PortfolioInterval, PortfolioIntervalsDto, PortfolioOverallDto, PortfolioResponseDto, PositionAdjustmentType, PositionAssetDetailDto, PositionAssetSummaryDto, PositionResponseStatus, RealtimeBar, RealtimeBarsCallback, ToggleWatchlistResponseDto, TokenConflict, TokenHistoricalPriceData, TokenMetadata, TokenSelection, TpSlThresholdInput, TpSlThresholdType, TradeHistoryAssetDataDto, TradeHistoryDataDto, TwapChunkStatusDto, TwapMonitoringDto, UniverseAsset, UpdateRiskParametersRequestInput, UpdateRiskParametersResponseDto, UseAuthOptions, UseBasketCandlesReturn, UseHistoricalPriceDataReturn, UseNotificationsResult, UsePerformanceOverlaysReturn, UsePortfolioResult, UseTokenSelectionMetadataReturn, UserProfile, UserSelectionState, WatchlistItemDto, WebSocketAckResponse, WebSocketChannel, WebSocketConnectionState, WebSocketDataMessage, WebSocketMessage, WebSocketSubscribeMessage, WsAllMidsData };