@nadohq/nuanze-client 0.62.0 → 0.64.0

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 (64) hide show
  1. package/dist/{NuanzeClient-C9yQILjc.cjs → NuanzeClient-Br6paVRj.cjs} +7 -4
  2. package/dist/NuanzeClient-Br6paVRj.cjs.map +1 -0
  3. package/dist/NuanzeClient.cjs +1 -1
  4. package/dist/NuanzeClient.d.cts +7 -4
  5. package/dist/NuanzeClient.d.cts.map +1 -1
  6. package/dist/NuanzeClient.d.ts +7 -4
  7. package/dist/NuanzeClient.d.ts.map +1 -1
  8. package/dist/NuanzeClient.js +6 -3
  9. package/dist/NuanzeClient.js.map +1 -1
  10. package/dist/{NuanzeServerFailureError-DSY-xKVx.d.cts → NuanzeServerFailureError-BvCgAQBY.d.cts} +2 -2
  11. package/dist/{NuanzeServerFailureError-DSY-xKVx.d.cts.map → NuanzeServerFailureError-BvCgAQBY.d.cts.map} +1 -1
  12. package/dist/{NuanzeServerFailureError-DckOXwP0.d.ts → NuanzeServerFailureError-D6KPGUg9.d.ts} +2 -2
  13. package/dist/{NuanzeServerFailureError-DckOXwP0.d.ts.map → NuanzeServerFailureError-D6KPGUg9.d.ts.map} +1 -1
  14. package/dist/{clientModelTypes-B22P2pH3.d.ts → clientModelTypes-Cu7A2-_S.d.cts} +7 -1
  15. package/dist/clientModelTypes-Cu7A2-_S.d.cts.map +1 -0
  16. package/dist/{clientModelTypes-B22P2pH3.d.cts → clientModelTypes-Cu7A2-_S.d.ts} +7 -1
  17. package/dist/clientModelTypes-Cu7A2-_S.d.ts.map +1 -0
  18. package/dist/{clientTypes-CJWiS0sM.d.ts → clientTypes-CIJscdmP.d.ts} +2 -2
  19. package/dist/{clientTypes-CJWiS0sM.d.ts.map → clientTypes-CIJscdmP.d.ts.map} +1 -1
  20. package/dist/{clientTypes-C_PGq9TZ.d.cts → clientTypes-hrCFTuWK.d.cts} +2 -2
  21. package/dist/{clientTypes-C_PGq9TZ.d.cts.map → clientTypes-hrCFTuWK.d.cts.map} +1 -1
  22. package/dist/dataMappers.cjs +3 -0
  23. package/dist/dataMappers.cjs.map +1 -1
  24. package/dist/dataMappers.d.cts +4 -4
  25. package/dist/dataMappers.d.cts.map +1 -1
  26. package/dist/dataMappers.d.ts +4 -4
  27. package/dist/dataMappers.d.ts.map +1 -1
  28. package/dist/dataMappers.js +3 -0
  29. package/dist/dataMappers.js.map +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +5 -5
  32. package/dist/index.d.ts +5 -5
  33. package/dist/{serverModelTypes-D0JfVkqd.d.ts → serverModelTypes-CMwhkBLQ.d.cts} +5 -2
  34. package/dist/serverModelTypes-CMwhkBLQ.d.cts.map +1 -0
  35. package/dist/{serverModelTypes-D8vC-W1m.d.cts → serverModelTypes-CkEG2EjE.d.ts} +5 -2
  36. package/dist/serverModelTypes-CkEG2EjE.d.ts.map +1 -0
  37. package/dist/{serverQueryTypes-DS0PzfC8.d.cts → serverQueryTypes-C714Xx6q.d.cts} +3 -3
  38. package/dist/{serverQueryTypes-DS0PzfC8.d.cts.map → serverQueryTypes-C714Xx6q.d.cts.map} +1 -1
  39. package/dist/{serverQueryTypes-CflQbxsI.d.ts → serverQueryTypes-Cyt-sd02.d.ts} +3 -3
  40. package/dist/{serverQueryTypes-CflQbxsI.d.ts.map → serverQueryTypes-Cyt-sd02.d.ts.map} +1 -1
  41. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  42. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  43. package/dist/types/clientModelTypes.cjs.map +1 -1
  44. package/dist/types/clientModelTypes.d.cts +1 -1
  45. package/dist/types/clientModelTypes.d.ts +1 -1
  46. package/dist/types/clientModelTypes.js.map +1 -1
  47. package/dist/types/clientTypes.d.cts +1 -1
  48. package/dist/types/clientTypes.d.ts +1 -1
  49. package/dist/types/index.d.cts +5 -5
  50. package/dist/types/index.d.ts +5 -5
  51. package/dist/types/serverModelTypes.d.cts +1 -1
  52. package/dist/types/serverModelTypes.d.ts +1 -1
  53. package/dist/types/serverQueryTypes.d.cts +1 -1
  54. package/dist/types/serverQueryTypes.d.ts +1 -1
  55. package/package.json +3 -3
  56. package/src/NuanzeClient.ts +6 -3
  57. package/src/dataMappers.ts +3 -0
  58. package/src/types/clientModelTypes.ts +6 -0
  59. package/src/types/serverModelTypes.ts +3 -0
  60. package/dist/NuanzeClient-C9yQILjc.cjs.map +0 -1
  61. package/dist/clientModelTypes-B22P2pH3.d.cts.map +0 -1
  62. package/dist/clientModelTypes-B22P2pH3.d.ts.map +0 -1
  63. package/dist/serverModelTypes-D0JfVkqd.d.ts.map +0 -1
  64. package/dist/serverModelTypes-D8vC-W1m.d.cts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"clientModelTypes.cjs","names":[],"sources":["../../src/types/clientModelTypes.ts"],"sourcesContent":["import BigNumber from 'bignumber.js';\n\n/**\n * Every {@link NuanzeMarketVenue} the API can report, for callers that need the values at runtime\n * (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_VENUES = ['perp', 'spot'] as const;\n\n/**\n * Venue a market is listed on. Perpetuals use even product IDs, spot markets odd ones.\n */\nexport type NuanzeMarketVenue = (typeof NUANZE_MARKET_VENUES)[number];\n\n/**\n * Every {@link NuanzeMarketTradingStatus} the API can report, for callers that need the values at\n * runtime (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_TRADING_STATUSES = [\n 'live',\n 'notTradable',\n 'reduceOnly',\n 'postOnly',\n 'softReduceOnly',\n] as const;\n\n/**\n * Normalized tradability state of a market. The API camelCases the engine's snake_case source values,\n * so `not_tradable` arrives as `notTradable`.\n */\nexport type NuanzeMarketTradingStatus =\n (typeof NUANZE_MARKET_TRADING_STATUSES)[number];\n\n/**\n * Every {@link NuanzeNewsSentiment} the API can report.\n */\nexport const NUANZE_NEWS_SENTIMENTS = [\n 'bearish',\n 'bullish',\n 'neutral',\n] as const;\n\n/**\n * Editorial sentiment of a published news story.\n */\nexport type NuanzeNewsSentiment = (typeof NUANZE_NEWS_SENTIMENTS)[number];\n\n/**\n * Every {@link NuanzeNewsEventType} the API can report.\n */\nexport const NUANZE_NEWS_EVENT_TYPES = [\n 'earnings',\n 'guidance',\n 'ma',\n 'regulatory',\n 'product',\n 'analyst',\n 'macro',\n 'personnel',\n 'legal',\n 'other',\n] as const;\n\n/**\n * Editorial event classification of a published news story.\n */\nexport type NuanzeNewsEventType = (typeof NUANZE_NEWS_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeNewsTier} the API can report.\n */\nexport const NUANZE_NEWS_TIERS = ['core', 'us', 'global'] as const;\n\n/**\n * Geographic/priority tier of a published news story, or null when unassigned.\n */\nexport type NuanzeNewsTier = (typeof NUANZE_NEWS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNewsEntityRole} the API can report. Values are the wire strings; `read_across`\n * is not camelCased.\n */\nexport const NUANZE_NEWS_ENTITY_ROLES = ['subject', 'read_across'] as const;\n\n/**\n * Role of a market entity on a news story.\n */\nexport type NuanzeNewsEntityRole = (typeof NUANZE_NEWS_ENTITY_ROLES)[number];\n\n/**\n * Every {@link NuanzePnlWindow} the API can report.\n */\nexport const NUANZE_PNL_WINDOWS = ['24h', '7d', '30d', '90d', 'all'] as const;\n\n/**\n * Account PnL lookback window.\n */\nexport type NuanzePnlWindow = (typeof NUANZE_PNL_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeLeaderboardTimeframe} the API can report.\n */\nexport const NUANZE_LEADERBOARD_TIMEFRAMES = [\n '24h',\n '7d',\n '30d',\n 'all',\n] as const;\n\n/**\n * Leaderboard ranking window.\n */\nexport type NuanzeLeaderboardTimeframe =\n (typeof NUANZE_LEADERBOARD_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzePlatformWindow} the API can report.\n */\nexport const NUANZE_PLATFORM_WINDOWS = ['7d', '30d', '90d'] as const;\n\n/**\n * Selected comparison window for platform activity aggregates.\n */\nexport type NuanzePlatformWindow = (typeof NUANZE_PLATFORM_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeFlowTimeframe} the API can report.\n */\nexport const NUANZE_FLOW_TIMEFRAMES = ['24h', '7d', '30d', 'all'] as const;\n\n/**\n * Collateral-flow lookback window.\n */\nexport type NuanzeFlowTimeframe = (typeof NUANZE_FLOW_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzeFlowEventTypeFilter} the API accepts as a query filter.\n */\nexport const NUANZE_FLOW_EVENT_TYPE_FILTERS = [\n 'all',\n 'deposit',\n 'withdrawal',\n] as const;\n\n/**\n * Collateral event type filter. `all` includes both deposits and withdrawals.\n */\nexport type NuanzeFlowEventTypeFilter =\n (typeof NUANZE_FLOW_EVENT_TYPE_FILTERS)[number];\n\n/**\n * Every {@link NuanzeFlowEventType} a collateral event can have.\n */\nexport const NUANZE_FLOW_EVENT_TYPES = ['deposit', 'withdrawal'] as const;\n\n/**\n * On-chain collateral event kind.\n */\nexport type NuanzeFlowEventType = (typeof NUANZE_FLOW_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeFlowBucket} the API can report.\n */\nexport const NUANZE_FLOW_BUCKETS = ['hour', 'day'] as const;\n\n/**\n * UTC bucket size for collateral flow series. Allowed pairs are 24h/hour, 7d/hour or day\n * (default hour), 30d/day, and all/day.\n */\nexport type NuanzeFlowBucket = (typeof NUANZE_FLOW_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeCandleInterval} the API can report.\n */\nexport const NUANZE_CANDLE_INTERVALS = ['1h', '4h', '1d'] as const;\n\n/**\n * Candle bar interval. Source storage is 1h; 4h and 1d are UTC-aligned rollups.\n */\nexport type NuanzeCandleInterval = (typeof NUANZE_CANDLE_INTERVALS)[number];\n\n/**\n * Every {@link NuanzeSeriesMetric} the API can report.\n */\nexport const NUANZE_SERIES_METRICS = ['pnl', 'equity', 'volume'] as const;\n\n/**\n * Wallet series metric.\n */\nexport type NuanzeSeriesMetric = (typeof NUANZE_SERIES_METRICS)[number];\n\n/**\n * Every {@link NuanzeCoverage} the API can report.\n */\nexport const NUANZE_COVERAGES = ['complete', 'partial'] as const;\n\n/**\n * Whether a snapshot or window has full historical coverage.\n */\nexport type NuanzeCoverage = (typeof NUANZE_COVERAGES)[number];\n\n/**\n * Every {@link NuanzePositionSide} the API can report.\n */\nexport const NUANZE_POSITION_SIDES = ['long', 'short'] as const;\n\n/**\n * Direction of an open position.\n */\nexport type NuanzePositionSide = (typeof NUANZE_POSITION_SIDES)[number];\n\n/**\n * Every {@link NuanzeTradeSide} the API can report.\n */\nexport const NUANZE_TRADE_SIDES = ['buy', 'sell'] as const;\n\n/**\n * Aggressor side of a match.\n */\nexport type NuanzeTradeSide = (typeof NUANZE_TRADE_SIDES)[number];\n\n/**\n * Every {@link NuanzeMarginKind} the API can report.\n */\nexport const NUANZE_MARGIN_KINDS = ['cross', 'isolated'] as const;\n\n/**\n * Margin mode of a perpetual position leg.\n */\nexport type NuanzeMarginKind = (typeof NUANZE_MARGIN_KINDS)[number];\n\n/**\n * Every field accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_BYS = [\n 'notional',\n 'pnl',\n 'amount',\n] as const;\n\n/**\n * Primary field used to order market positions. Notional and amount are compared by absolute value;\n * PnL remains signed.\n */\nexport type NuanzeMarketPositionSortBy =\n (typeof NUANZE_MARKET_POSITION_SORT_BYS)[number];\n\n/**\n * Every direction accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_DIRECTIONS = ['asc', 'desc'] as const;\n\n/**\n * Direction used to order market positions.\n */\nexport type NuanzeMarketPositionSortDirection =\n (typeof NUANZE_MARKET_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every direction accepted for globally ranked open positions.\n */\nexport const NUANZE_OPEN_POSITION_SORT_DIRECTIONS =\n NUANZE_MARKET_POSITION_SORT_DIRECTIONS;\n\n/**\n * Signed unrealized-PnL ordering direction for globally ranked open positions.\n */\nexport type NuanzeOpenPositionSortDirection =\n (typeof NUANZE_OPEN_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every {@link NuanzePositioningGroupBy} the API can report.\n */\nexport const NUANZE_POSITIONING_GROUP_BYS = [\n 'side',\n 'cohort',\n 'notionalBucket',\n] as const;\n\n/**\n * Positioning cell grouping.\n */\nexport type NuanzePositioningGroupBy =\n (typeof NUANZE_POSITIONING_GROUP_BYS)[number];\n\n/**\n * Every {@link NuanzeMinPositionUsd} the API accepts. Values are USD threshold strings, not numbers.\n */\nexport const NUANZE_MIN_POSITION_USDS = [\n '10',\n '100',\n '1000',\n '10000',\n '100000',\n] as const;\n\n/**\n * Fixed USD inclusion threshold. Qualification is strictly `abs(netNotional) > minPositionUsd`.\n */\nexport type NuanzeMinPositionUsd = (typeof NUANZE_MIN_POSITION_USDS)[number];\n\n/**\n * Every {@link NuanzeCohortKey} the API can report. Values are the wire strings.\n */\nexport const NUANZE_COHORT_KEYS = [\n 'extremely_profitable',\n 'very_profitable',\n 'profitable',\n 'unprofitable',\n 'very_unprofitable',\n 'rekt',\n] as const;\n\n/**\n * Lifetime account PnL wallet cohort, used by positioning cells and `GET /cohorts`.\n */\nexport type NuanzeCohortKey = (typeof NUANZE_COHORT_KEYS)[number];\n\n/**\n * Every {@link NuanzePointsTier} the API can report: 1 Breeze, 2 Gust, 3 Wind, 4 Storm, and\n * 5 Tornado.\n */\nexport const NUANZE_POINTS_TIERS = [1, 2, 3, 4, 5] as const;\n\n/**\n * Nado Points tier, from 1 Breeze to 5 Tornado.\n */\nexport type NuanzePointsTier = (typeof NUANZE_POINTS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNotionalBucket} the API can report. Frozen USD ranges are small [10, 1000),\n * medium [1000, 10000), large [10000, 100000), and whale [100000, +infinity).\n */\nexport const NUANZE_NOTIONAL_BUCKETS = [\n 'small',\n 'medium',\n 'large',\n 'whale',\n] as const;\n\n/**\n * Notional-bucket key used by positioning cells.\n */\nexport type NuanzeNotionalBucket = (typeof NUANZE_NOTIONAL_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeFundamentalsSource} the API can report.\n */\nexport const NUANZE_FUNDAMENTALS_SOURCES = ['yahoo', 'coingecko'] as const;\n\n/**\n * Provider that populated a fundamentals projection.\n */\nexport type NuanzeFundamentalsSource =\n (typeof NUANZE_FUNDAMENTALS_SOURCES)[number];\n\n/**\n * Every {@link NuanzeSourceInterval} the API can report.\n */\nexport const NUANZE_SOURCE_INTERVALS = ['hour', 'day', 'mixed'] as const;\n\n/**\n * Snapshot grain used for a wallet PnL window or series.\n */\nexport type NuanzeSourceInterval = (typeof NUANZE_SOURCE_INTERVALS)[number];\n\n/**\n * Canonical market identity shared by market-derived objects. `productId` is unambiguous; ticker\n * is a case-insensitive display lookup.\n */\nexport interface NuanzeMarketIdentity {\n /** Public product ID. Perpetuals are even, spot markets odd. */\n productId: number;\n /** Venue-native symbol, for example `ETH-PERP`. */\n symbol: string;\n /** Canonical ticker, for example `ETH`. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n}\n\n/**\n * Latest price snapshot for a market. Every field is null until the first snapshot for that market\n * lands; prices refresh about every minute.\n */\nexport interface NuanzeLatestTicker {\n /** Mid price, or null when no quote is available. */\n midPrice: BigNumber | null;\n /** Best bid, or null when no quote is available. */\n bidPrice: BigNumber | null;\n /** Best ask, or null when no quote is available. */\n askPrice: BigNumber | null;\n /** Rolling 24-hour traded volume, or null when unknown. */\n volume24h: BigNumber | null;\n /** Open interest, or null when unknown. */\n openInterest: BigNumber | null;\n /** Rolling 24-hour price change in percent, or null when unknown. */\n priceChange24hPct: BigNumber | null;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * A market listed on Nado, as served by Nuanze. Timestamps stay UTC ISO 8601 strings rather than\n * `Date`, matching the API contract.\n */\nexport interface NuanzeMarket extends NuanzeMarketIdentity {\n /** Normalized tradability state. */\n tradingStatus: NuanzeMarketTradingStatus;\n /** Minimum price step. */\n priceIncrement: BigNumber;\n /** Minimum size step. */\n sizeIncrement: BigNumber;\n /** Minimum order size. */\n minSize: BigNumber;\n /** Latest price snapshot, or null when none exists yet. */\n latest: NuanzeLatestTicker | null;\n /**\n * Signed perp trader-positioning skew, or null when unavailable. Spot markets always return\n * null.\n *\n * Of the qualifying open perpetual positions in this market, what share is long versus short?\n * Each qualifying owner/subaccount position counts as one, regardless of size. `0.5` means 75%\n * of those positions are long and 25% are short: `(long - short) / (long + short)`. Convert\n * with `longPct = (1 + skew) / 2`. It is not the long share of open interest, capital, or\n * volume — market-wide long and short notional are approximately equal by construction.\n *\n * Classification uses current account-snapshot rows at the owner/subaccount grain. Cross and\n * isolated legs on the same subaccount are one position; subaccounts of the same wallet are\n * not netted, so a hedge is counted on both sides. A row qualifies when `abs(notional) > $10`\n * (equality is excluded). Dust and flat rows drop out of that filter, so there is no separate\n * wallet-level net-flat pass.\n *\n * The value is a current-state snapshot with typical indexer latency of up to about one hour,\n * not a 24-hour or historical series. It does not consolidate sybil wallets or unique people,\n * and it is descriptive context rather than a trading signal.\n */\n skew: BigNumber | null;\n /**\n * When {@link NuanzeMarket.skew} was last calculated from the hourly account-snapshot pass, as\n * a UTC ISO 8601 string, or null when skew is unavailable.\n */\n skewUpdatedAt: string | null;\n /** When market metadata was last synced, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Latest funding observation for a perpetual.\n */\nexport interface NuanzeFundingObservation {\n /** Instantaneous funding rate. */\n rate: BigNumber;\n /** Annualized funding rate. */\n annualizedRate: BigNumber;\n /** When the observation was taken, as a UTC ISO 8601 string. */\n observedAt: string;\n}\n\n/**\n * Latest funding rate for an active perpetual market.\n */\nexport interface NuanzeFundingRate\n extends NuanzeMarketIdentity, NuanzeFundingObservation {}\n\n/**\n * Market entity referenced by a published news story. No decimals.\n */\nexport interface NuanzeNewsEntity {\n /** Stable entity key. */\n key: string;\n /** Display name. */\n name: string;\n /** Whether the entity is the story subject or a read-across market. */\n role: NuanzeNewsEntityRole;\n /** Linked product ID, or null when the entity is not a listed market. */\n productId: number | null;\n}\n\n/**\n * Published editorial story. Raw ingestion, scoring, queue, and newsdesk fields are excluded.\n */\nexport interface NuanzeNewsStory {\n /** Story ID. */\n id: string;\n /** Short headline, or null when unpublished as a headline. */\n headline: string | null;\n /** Story title. */\n title: string;\n /** Short blurb, or null when absent. */\n blurb: string | null;\n /** Canonical story URL. */\n url: string;\n /** Publisher name, or null when unknown. */\n publisher: string | null;\n /** Publication time as a UTC ISO 8601 string, or null when unscheduled. */\n publishedAt: string | null;\n /** Thumbnail URL, or null when absent. */\n thumbnailUrl: string | null;\n /** Event classification, or null when unassigned. */\n eventType: NuanzeNewsEventType | null;\n /** Editorial sentiment. */\n sentiment: NuanzeNewsSentiment;\n /** Geographic/priority tier, or null when unassigned. */\n tier: NuanzeNewsTier | null;\n /** Number of contributing sources. */\n sourceCount: number;\n /** Public entity references only. */\n entities: NuanzeNewsEntity[];\n}\n\n/**\n * Nested key-data block of a fundamentals projection. Employee count stays an integer; every other\n * numeric field is a decimal.\n */\nexport interface NuanzeFundamentalsKeyData {\n /** Dividend yield, or null when unknown. */\n dividendYield: BigNumber | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Enterprise value, or null when unknown. */\n enterpriseValue: BigNumber | null;\n /** Shares outstanding, or null when unknown. */\n sharesOutstanding: BigNumber | null;\n /** Beta, or null when unknown. */\n beta: BigNumber | null;\n /** 52-week high, or null when unknown. */\n fiftyTwoWeekHigh: BigNumber | null;\n /** 52-week low, or null when unknown. */\n fiftyTwoWeekLow: BigNumber | null;\n /** Volume, or null when unknown. */\n volume: BigNumber | null;\n /** Average volume, or null when unknown. */\n averageVolume: BigNumber | null;\n /** Circulating supply, or null when unknown. */\n circulatingSupply: BigNumber | null;\n /** Total supply, or null when unknown. */\n totalSupply: BigNumber | null;\n /** Max supply, or null when unknown. */\n maxSupply: BigNumber | null;\n /** Fully diluted valuation, or null when unknown. */\n fullyDilutedValuation: BigNumber | null;\n /** All-time high, or null when unknown. */\n ath: BigNumber | null;\n /** All-time low, or null when unknown. */\n atl: BigNumber | null;\n /** 24-hour high, or null when unknown. */\n high24h: BigNumber | null;\n /** 24-hour low, or null when unknown. */\n low24h: BigNumber | null;\n}\n\n/**\n * Valuation ratios of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsValuation {\n /** Trailing P/E, or null when unknown. */\n trailingPE: BigNumber | null;\n /** Forward P/E, or null when unknown. */\n forwardPE: BigNumber | null;\n /** Price to book, or null when unknown. */\n priceToBook: BigNumber | null;\n /** Enterprise value to revenue, or null when unknown. */\n enterpriseToRevenue: BigNumber | null;\n /** Enterprise value to EBITDA, or null when unknown. */\n enterpriseToEbitda: BigNumber | null;\n /** Revenue, or null when unknown. */\n revenue: BigNumber | null;\n /** Profit margins, or null when unknown. */\n profitMargins: BigNumber | null;\n}\n\n/**\n * Performance returns of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsPerformance {\n /** One-month return, or null when unknown. */\n oneMonth: BigNumber | null;\n /** Three-month return, or null when unknown. */\n threeMonth: BigNumber | null;\n /** Year-to-date return, or null when unknown. */\n ytd: BigNumber | null;\n /** One-year return, or null when unknown. */\n oneYear: BigNumber | null;\n}\n\n/**\n * Social/link fields of a fundamentals projection. No decimals.\n */\nexport interface NuanzeFundamentalsSocial {\n /** Website URL, or null when unknown. */\n website: string | null;\n /** X/Twitter URL, or null when unknown. */\n x: string | null;\n /** LinkedIn URL, or null when unknown. */\n linkedin: string | null;\n}\n\n/**\n * Approved stock/token fundamentals projection. The entire value is null when no row exists.\n */\nexport interface NuanzeStockFundamentals {\n /** Product the projection belongs to. */\n productId: number;\n /** Provider, or null when unknown. */\n source: NuanzeFundamentalsSource | null;\n /** Quote type, or null when unknown. */\n quoteType: string | null;\n /** Quote currency, or null when unknown. */\n currency: string | null;\n /** Display name, or null when unknown. */\n name: string | null;\n /** Description, or null when unknown. */\n description: string | null;\n /** Sector, or null when unknown. */\n sector: string | null;\n /** Industry, or null when unknown. */\n industry: string | null;\n /** Website URL, or null when unknown. */\n website: string | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Market cap, or null when unknown. */\n marketCap: BigNumber | null;\n /** Nested key-data decimals. */\n keyData: NuanzeFundamentalsKeyData;\n /** Nested valuation decimals. */\n valuation: NuanzeFundamentalsValuation;\n /** Nested performance decimals. */\n performance: NuanzeFundamentalsPerformance;\n /** Nested social links. */\n social: NuanzeFundamentalsSocial;\n /** When the projection was last updated, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Per-component freshness timestamps on a resolved market detail.\n */\nexport interface NuanzeMarketComponentUpdatedAt {\n /** When market metadata was last synced. */\n market: string;\n /** When the latest ticker was last synced. */\n ticker: string;\n /** When funding was last observed, or null when absent. */\n funding: string | null;\n /** When fundamentals were last updated, or null when absent. */\n fundamentals: string | null;\n /** When related news was last updated, or null when absent. */\n news: string | null;\n}\n\n/**\n * Resolved market detail: list market fields plus venue resolution, funding, fundamentals, and\n * recent published news.\n */\nexport interface NuanzeMarketDetail extends NuanzeMarket {\n /** Primary product ID for the asset. */\n primaryProductId: number;\n /** Venues the asset currently lists on. */\n availableVenues: NuanzeMarketVenue[];\n /** Venue used when the request omitted one. */\n primaryVenue: NuanzeMarketVenue;\n /** Latest funding observation, or null for spot or when none exists. */\n funding: NuanzeFundingObservation | null;\n /** Fundamentals projection, or null when no row exists. */\n fundamentals: NuanzeStockFundamentals | null;\n /** Recent published stories, capped by `newsLimit`. */\n news: NuanzeNewsStory[];\n /** Mixed-source freshness timestamps. */\n componentUpdatedAt: NuanzeMarketComponentUpdatedAt;\n}\n\n/**\n * Per-subaccount row from `GET /wallets/leaderboard`. Untraded followed subaccounts are included\n * by default with null PnL/rank/name fields where unavailable, zero counts, and no products.\n */\nexport interface NuanzeFollowedLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the followed subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when the followed subaccount has not claimed one. */\n displayName: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null when the subaccount\n * has no data in the window.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank among all subaccounts by this timeframe's PnL (`1` = highest), or null when\n * the subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl`, or null when the subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Close-event trade extreme from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountCloseTrade {\n /** Fill ID of the closing fill. */\n tradeId: number;\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Close-event realized PnL of the fill. */\n realizedPnl: BigNumber;\n /** When the fill matched, as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Position-based long/short bias from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountLongShortBias {\n /** Share of qualifying current perp notional held long, 0-100. Null when flat. */\n longPct: BigNumber | null;\n /** Share of qualifying current perp notional held short, 0-100. Null when flat. */\n shortPct: BigNumber | null;\n /** Qualifying current long notional in USD. */\n longNotional: BigNumber;\n /** Qualifying current short notional in USD. */\n shortNotional: BigNumber;\n}\n\n/**\n * Most-traded perp market from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountMostTradedMarket {\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Perp fill count in the window. */\n trades: number;\n /** Windowed fill volume in USD. */\n volume: BigNumber;\n}\n\n/**\n * Public subaccount row from `GET /leaderboard/subaccounts`.\n */\nexport interface NuanzeSubaccountLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when unavailable. */\n displayName: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null for an untraded subaccount\n * returned when `includeUntraded` is enabled.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank across all subaccounts for the timeframe, independent of page filters, or null when the\n * subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl` (and as `windowVolume` on `GET /subaccounts/{subaccountHex}`), or null when the\n * subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Leaderboard row. PnL is equity-basis account PnL, not realized PnL.\n */\nexport interface NuanzeLeaderboardItem {\n /** Rank in the selected timeframe. */\n rank: number;\n /** Rank change versus the prior window, or null when unknown. */\n rankDelta: number | null;\n /** Lowercased wallet address. */\n address: string;\n /** Account PnL for the selected timeframe. */\n accountPnl: BigNumber;\n /** Rolling 24-hour account PnL, or null when uncovered. */\n pnl24h: BigNumber | null;\n /** 7-day account PnL, or null when uncovered. */\n pnl7d: BigNumber | null;\n /** 30-day account PnL, or null when uncovered. */\n pnl30d: BigNumber | null;\n /** All-time account PnL. */\n pnlAll: BigNumber;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n}\n\n/**\n * Prior-window percentage deltas on the platform summary.\n */\nexport interface NuanzePlatformDeltas {\n /** Volume change versus the prior equal window, or null when unavailable. */\n volumePct: BigNumber | null;\n /** Trade-count change versus the prior equal window, or null when unavailable. */\n tradesPct: BigNumber | null;\n /** Trader-count change versus the prior equal window, or null when unavailable. */\n tradersPct: BigNumber | null;\n}\n\n/**\n * Four-hourly sample of a wallet cohort's long percentage.\n */\nexport interface NuanzeCohortSeriesPoint {\n /** Sample time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Wallets in the cohort at the sample. */\n walletCount: number;\n /** Share of the cohort's open perp notional held long, 0-100, or null when it was flat. */\n longPct: BigNumber | null;\n}\n\n/**\n * Wallet cohort bucketed by lifetime equity-basis account PnL summed across the wallet's\n * subaccounts. Every wallet that has traded belongs to exactly one cohort.\n */\nexport interface NuanzeCohort {\n /** Cohort key. */\n key: NuanzeCohortKey;\n /** Display label. */\n label: string;\n /** Inclusive lower lifetime PnL bound, or null when unbounded. */\n pnlMin: BigNumber | null;\n /** Exclusive upper lifetime PnL bound, or null when unbounded. */\n pnlMax: BigNumber | null;\n /** Wallets in the cohort. */\n walletCount: number;\n /** Sum of the members' lifetime account PnL. */\n pnl: BigNumber;\n /** Mean lifetime account PnL per wallet, or null when the cohort is empty. */\n averagePnl: BigNumber | null;\n /** Members with lifetime account PnL above zero. */\n walletsInProfit: number;\n /** Members with lifetime account PnL at or below zero. */\n walletsInLoss: number;\n /** Lifetime fill count across the members. */\n trades: number;\n /** Members' current open perp notional held long. */\n longNotional: BigNumber;\n /** Members' current open perp notional held short. */\n shortNotional: BigNumber;\n /** Share of open perp notional held long, 0-100, or null when the cohort is flat. */\n longPct: BigNumber | null;\n /** Share of open perp notional held short, 0-100, or null when the cohort is flat. */\n shortPct: BigNumber | null;\n /** Long percentage every four hours over the last 30 days, oldest first. */\n series: NuanzeCohortSeriesPoint[];\n}\n\n/**\n * Replica-backed wallet position snapshot. Not an execution-grade live feed.\n */\nexport interface NuanzeWalletPosition {\n /** Subaccount that owns the row. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Whether the row is a spot balance. */\n isSpot: boolean;\n /** Signed position size. */\n amount: BigNumber;\n /** Oracle price at snapshot time. */\n oraclePrice: BigNumber;\n /** Absolute notional. */\n notional: BigNumber;\n /** Unrealized PnL. */\n unrealizedPnl: BigNumber;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * Taker-side market tape row. Wallet identity is absent.\n */\nexport interface NuanzeMarketTrade {\n /** Match row ID. */\n id: number;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Aggressor side. */\n side: NuanzeTradeSide;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Open perpetual position leg for a resolved market. Wallet addresses are returned.\n */\nexport interface NuanzeMarketPosition {\n /** Lowercased owner address. */\n subaccountOwner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Claimed username, or null when the subaccount has no synced identity or none claimed. */\n username: string | null;\n /** Display name, or null when the subaccount has no synced identity or none set. */\n displayName: string | null;\n /** Venue-native symbol. */\n symbol: string;\n /** Margin mode. Isolated margin is isolated equity and is null when non-positive. */\n marginKind: NuanzeMarginKind;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Signed exact base amount. Positive is long and negative is short. */\n amount: BigNumber;\n /** Absolute notional. Legs below $10 are excluded by the API. */\n notional: BigNumber;\n /** Unrealized PnL. */\n upnl: BigNumber;\n /**\n * Cross: market implied initial requirement. Isolated: isolated equity, or null when\n * non-positive or unavailable.\n */\n margin: BigNumber | null;\n /** Entry price, or null when unavailable. */\n entryPrice: BigNumber | null;\n /**\n * Effective isolated leverage computed from unrounded notional and isolated equity.\n * Null for cross positions or when isolated equity is unavailable.\n */\n leverage: BigNumber | null;\n}\n\n/**\n * Current open perpetual position leg in the global signed-unrealized-PnL ranking.\n */\nexport interface NuanzeOpenPosition extends NuanzeMarketPosition {\n /** Public product ID for this row's market. */\n productId: number;\n /** Canonical market ticker. */\n ticker: string;\n /** Global open positions contain perpetuals only. */\n venue: 'perp';\n /** Source snapshot time for this position leg, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * OHLCV candle. Missing source bars are not interpolated. A current bucket has `complete=false`.\n */\nexport interface NuanzeCandle {\n /** Bar open time as a UTC ISO 8601 string. */\n openTime: string;\n /** Open price. */\n open: BigNumber;\n /** High price. */\n high: BigNumber;\n /** Low price. */\n low: BigNumber;\n /** Close price. */\n close: BigNumber;\n /** Traded volume. */\n volume: BigNumber;\n /** False when the bar is still accumulating. */\n complete: boolean;\n}\n\n/**\n * Wallet-owned execution row. Unlike market tape, both maker and taker fills are included.\n */\nexport interface NuanzeWalletTrade {\n /** Match row ID. */\n id: number;\n /** Subaccount that filled. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Side of this wallet's fill. */\n side: NuanzeTradeSide;\n /** Whether this wallet was the maker. */\n isMaker: boolean;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Sampled wallet series point. Synthetic points are the boundary anchor or carried-forward tip.\n */\nexport interface NuanzeSeriesPoint {\n /** Point time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Metric value, or null when the bucket has no observation. */\n value: BigNumber | null;\n /** True when the point is a synthetic anchor or tip. */\n synthetic: boolean;\n /** True when the latest bucket is still provisional. */\n provisional: boolean;\n}\n\n/**\n * Public tags on a collateral event. No identity beyond the event's own owner.\n */\nexport interface NuanzeFlowTags {\n /** Whether the owner is tagged as a whale. */\n whale: boolean;\n /** Whether the owner is tagged as smart money. */\n smartMoney: boolean;\n /** Whether the owner is tagged as a fresh wallet. */\n freshWallet: boolean;\n}\n\n/**\n * Public on-chain collateral event. Product 0 and 11 may use fallback symbols.\n */\nexport interface NuanzeCollateralFlow {\n /** Event ID. */\n id: number;\n /** Deposit or withdrawal. */\n eventType: NuanzeFlowEventType;\n /** Public product ID. */\n productId: number;\n /** Asset symbol. */\n symbol: string;\n /** Exact asset amount. */\n assetAmount: BigNumber;\n /** Oracle price at event time, or null when unvalued. */\n oraclePrice: BigNumber | null;\n /** USD valuation, or null when unvalued. */\n usdValue: BigNumber | null;\n /** Lowercased owner address. */\n owner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Event time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Public tags. */\n tags: NuanzeFlowTags;\n}\n\n/**\n * UTC-bucketed collateral flow point.\n */\nexport interface NuanzeCollateralFlowPoint {\n /** Bucket start as a UTC ISO 8601 string. */\n timestamp: string;\n /** Deposited USD in the bucket. */\n deposited: BigNumber;\n /** Withdrawn USD in the bucket. */\n withdrawn: BigNumber;\n /** Net USD in the bucket. */\n net: BigNumber;\n /** Cumulative net USD through this bucket. */\n cumulativeNet: BigNumber;\n /** Event count. */\n eventCount: number;\n /** Count of valued events. */\n valuedCount: number;\n /** Count of unvalued events. */\n unvaluedCount: number;\n}\n\n/**\n * Aggregate long/short totals for a positioning response. All reversible fields are null when any\n * contributing cell required by the grouping is suppressed.\n */\nexport interface NuanzePositioningTotals {\n /** Long position count at the owner/subaccount grain, or null if suppressed. */\n longPositions: number | null;\n /** Short position count at the owner/subaccount grain, or null if suppressed. */\n shortPositions: number | null;\n /** Distinct long owners, or null if suppressed. */\n longOwners: number | null;\n /** Distinct short owners, or null if suppressed. */\n shortOwners: number | null;\n /** Owners netted flat, or null if suppressed. */\n netFlatOwners: number | null;\n /** Long notional, or null if suppressed. */\n longNotional: BigNumber | null;\n /** Short notional, or null if suppressed. */\n shortNotional: BigNumber | null;\n /** Long share of positions, or null if suppressed. */\n longPositionPct: BigNumber | null;\n /** Short share of positions, or null if suppressed. */\n shortPositionPct: BigNumber | null;\n /** Long/short ratio, or null if suppressed. */\n longShortRatio: BigNumber | null;\n}\n\n/**\n * Shared fields of a privacy-preserving positioning cell. For a suppressed cell every reversible\n * value is null; only the label, key, suppressed flag, and threshold remain.\n */\nexport interface NuanzePositioningCellBase {\n /** Display label. */\n label: string;\n /** Side this cell describes, or null when the grouping is not by side. */\n side: NuanzePositionSide | null;\n /** True when complementary or cross-request suppression nulls reversible metrics. */\n suppressed: boolean;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Position count, or null if suppressed. */\n positions: number | null;\n /** Distinct contributing owners, or null if suppressed. */\n owners: number | null;\n /** Cell notional, or null if suppressed. */\n notional: BigNumber | null;\n /** Average notional, or null if suppressed. */\n averageNotional: BigNumber | null;\n /** Share of the grouping, or null if suppressed. */\n percentage: BigNumber | null;\n}\n\n/**\n * Positioning cell grouped by side.\n */\nexport interface NuanzeSidePositioningCell extends NuanzePositioningCellBase {\n /** Side key. */\n key: NuanzePositionSide;\n}\n\n/**\n * Positioning cell grouped by wallet cohort.\n */\nexport interface NuanzeCohortPositioningCell extends NuanzePositioningCellBase {\n /** Cohort key. */\n key: NuanzeCohortKey;\n}\n\n/**\n * Positioning cell grouped by frozen USD notional bucket. Empty buckets are omitted rather than\n * returned with zeros.\n */\nexport interface NuanzeNotionalBucketPositioningCell extends NuanzePositioningCellBase {\n /** Notional-bucket key. */\n key: NuanzeNotionalBucket;\n}\n\n/**\n * Shared fields of every positioning response. Identity, entry price, PnL, margin, and leverage\n * are never returned.\n */\nexport interface NuanzeMarketPositioningBase extends NuanzeMarketIdentity {\n /** Effective inclusion threshold after request validation. */\n effectiveMinPositionUsd: NuanzeMinPositionUsd;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Grouping totals; reversible fields are null when any required cell is suppressed. */\n totals: NuanzePositioningTotals;\n /** Newest contributing snapshot, or null when none. */\n newestSnapshotAt: string | null;\n /** Oldest contributing snapshot, or null when none. */\n oldestSnapshotAt: string | null;\n /** When the response was generated, as a UTC ISO 8601 string. */\n asOf: string;\n}\n\n/**\n * Positioning grouped by side. Always two cells, long then short.\n */\nexport interface NuanzeMarketPositioningSideResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'side';\n /** Long and short cells. */\n cells: NuanzeSidePositioningCell[];\n}\n\n/**\n * Positioning grouped by wallet cohort.\n */\nexport interface NuanzeMarketPositioningCohortResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'cohort';\n /** Cohort cells. */\n cells: NuanzeCohortPositioningCell[];\n}\n\n/**\n * Positioning grouped by notional bucket.\n */\nexport interface NuanzeMarketPositioningNotionalBucketResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'notionalBucket';\n /** Notional-bucket cells. Empty buckets omitted. */\n cells: NuanzeNotionalBucketPositioningCell[];\n}\n"],"mappings":";;;;;;AAMA,MAAa,uBAAuB,CAAC,QAAQ,MAAM;;;;;AAWnD,MAAa,iCAAiC;CAC5C;CACA;CACA;CACA;CACA;AACF;;;;AAYA,MAAa,yBAAyB;CACpC;CACA;CACA;AACF;;;;AAUA,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,oBAAoB;CAAC;CAAQ;CAAM;AAAQ;;;;;AAWxD,MAAa,2BAA2B,CAAC,WAAW,aAAa;;;;AAUjE,MAAa,qBAAqB;CAAC;CAAO;CAAM;CAAO;CAAO;AAAK;;;;AAUnE,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B;CAAC;CAAM;CAAO;AAAK;;;;AAU1D,MAAa,yBAAyB;CAAC;CAAO;CAAM;CAAO;AAAK;;;;AAUhE,MAAa,iCAAiC;CAC5C;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B,CAAC,WAAW,YAAY;;;;AAU/D,MAAa,sBAAsB,CAAC,QAAQ,KAAK;;;;AAWjD,MAAa,0BAA0B;CAAC;CAAM;CAAM;AAAI;;;;AAUxD,MAAa,wBAAwB;CAAC;CAAO;CAAU;AAAQ;;;;AAU/D,MAAa,mBAAmB,CAAC,YAAY,SAAS;;;;AAUtD,MAAa,wBAAwB,CAAC,QAAQ,OAAO;;;;AAUrD,MAAa,qBAAqB,CAAC,OAAO,MAAM;;;;AAUhD,MAAa,sBAAsB,CAAC,SAAS,UAAU;;;;AAUvD,MAAa,kCAAkC;CAC7C;CACA;CACA;AACF;;;;AAYA,MAAa,yCAAyC,CAAC,OAAO,MAAM;;;;AAWpE,MAAa,uCACX;;;;AAWF,MAAa,+BAA+B;CAC1C;CACA;CACA;AACF;;;;AAWA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;AACF;;;;;AAWA,MAAa,sBAAsB;CAAC;CAAG;CAAG;CAAG;CAAG;AAAC;;;;;AAWjD,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,8BAA8B,CAAC,SAAS,WAAW;;;;AAWhE,MAAa,0BAA0B;CAAC;CAAQ;CAAO;AAAO"}
1
+ {"version":3,"file":"clientModelTypes.cjs","names":[],"sources":["../../src/types/clientModelTypes.ts"],"sourcesContent":["import BigNumber from 'bignumber.js';\n\n/**\n * Every {@link NuanzeMarketVenue} the API can report, for callers that need the values at runtime\n * (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_VENUES = ['perp', 'spot'] as const;\n\n/**\n * Venue a market is listed on. Perpetuals use even product IDs, spot markets odd ones.\n */\nexport type NuanzeMarketVenue = (typeof NUANZE_MARKET_VENUES)[number];\n\n/**\n * Every {@link NuanzeMarketTradingStatus} the API can report, for callers that need the values at\n * runtime (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_TRADING_STATUSES = [\n 'live',\n 'notTradable',\n 'reduceOnly',\n 'postOnly',\n 'softReduceOnly',\n] as const;\n\n/**\n * Normalized tradability state of a market. The API camelCases the engine's snake_case source values,\n * so `not_tradable` arrives as `notTradable`.\n */\nexport type NuanzeMarketTradingStatus =\n (typeof NUANZE_MARKET_TRADING_STATUSES)[number];\n\n/**\n * Every {@link NuanzeNewsSentiment} the API can report.\n */\nexport const NUANZE_NEWS_SENTIMENTS = [\n 'bearish',\n 'bullish',\n 'neutral',\n] as const;\n\n/**\n * Editorial sentiment of a published news story.\n */\nexport type NuanzeNewsSentiment = (typeof NUANZE_NEWS_SENTIMENTS)[number];\n\n/**\n * Every {@link NuanzeNewsEventType} the API can report.\n */\nexport const NUANZE_NEWS_EVENT_TYPES = [\n 'earnings',\n 'guidance',\n 'ma',\n 'regulatory',\n 'product',\n 'analyst',\n 'macro',\n 'personnel',\n 'legal',\n 'other',\n] as const;\n\n/**\n * Editorial event classification of a published news story.\n */\nexport type NuanzeNewsEventType = (typeof NUANZE_NEWS_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeNewsTier} the API can report.\n */\nexport const NUANZE_NEWS_TIERS = ['core', 'us', 'global'] as const;\n\n/**\n * Geographic/priority tier of a published news story, or null when unassigned.\n */\nexport type NuanzeNewsTier = (typeof NUANZE_NEWS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNewsEntityRole} the API can report. Values are the wire strings; `read_across`\n * is not camelCased.\n */\nexport const NUANZE_NEWS_ENTITY_ROLES = ['subject', 'read_across'] as const;\n\n/**\n * Role of a market entity on a news story.\n */\nexport type NuanzeNewsEntityRole = (typeof NUANZE_NEWS_ENTITY_ROLES)[number];\n\n/**\n * Every {@link NuanzePnlWindow} the API can report.\n */\nexport const NUANZE_PNL_WINDOWS = ['24h', '7d', '30d', '90d', 'all'] as const;\n\n/**\n * Account PnL lookback window.\n */\nexport type NuanzePnlWindow = (typeof NUANZE_PNL_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeLeaderboardTimeframe} the API can report.\n */\nexport const NUANZE_LEADERBOARD_TIMEFRAMES = [\n '24h',\n '7d',\n '30d',\n 'all',\n] as const;\n\n/**\n * Leaderboard ranking window.\n */\nexport type NuanzeLeaderboardTimeframe =\n (typeof NUANZE_LEADERBOARD_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzePlatformWindow} the API can report.\n */\nexport const NUANZE_PLATFORM_WINDOWS = ['7d', '30d', '90d'] as const;\n\n/**\n * Selected comparison window for platform activity aggregates.\n */\nexport type NuanzePlatformWindow = (typeof NUANZE_PLATFORM_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeFlowTimeframe} the API can report.\n */\nexport const NUANZE_FLOW_TIMEFRAMES = ['24h', '7d', '30d', 'all'] as const;\n\n/**\n * Collateral-flow lookback window.\n */\nexport type NuanzeFlowTimeframe = (typeof NUANZE_FLOW_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzeFlowEventTypeFilter} the API accepts as a query filter.\n */\nexport const NUANZE_FLOW_EVENT_TYPE_FILTERS = [\n 'all',\n 'deposit',\n 'withdrawal',\n] as const;\n\n/**\n * Collateral event type filter. `all` includes both deposits and withdrawals.\n */\nexport type NuanzeFlowEventTypeFilter =\n (typeof NUANZE_FLOW_EVENT_TYPE_FILTERS)[number];\n\n/**\n * Every {@link NuanzeFlowEventType} a collateral event can have.\n */\nexport const NUANZE_FLOW_EVENT_TYPES = ['deposit', 'withdrawal'] as const;\n\n/**\n * On-chain collateral event kind.\n */\nexport type NuanzeFlowEventType = (typeof NUANZE_FLOW_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeFlowBucket} the API can report.\n */\nexport const NUANZE_FLOW_BUCKETS = ['hour', 'day'] as const;\n\n/**\n * UTC bucket size for collateral flow series. Allowed pairs are 24h/hour, 7d/hour or day\n * (default hour), 30d/day, and all/day.\n */\nexport type NuanzeFlowBucket = (typeof NUANZE_FLOW_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeCandleInterval} the API can report.\n */\nexport const NUANZE_CANDLE_INTERVALS = ['1h', '4h', '1d'] as const;\n\n/**\n * Candle bar interval. Source storage is 1h; 4h and 1d are UTC-aligned rollups.\n */\nexport type NuanzeCandleInterval = (typeof NUANZE_CANDLE_INTERVALS)[number];\n\n/**\n * Every {@link NuanzeSeriesMetric} the API can report.\n */\nexport const NUANZE_SERIES_METRICS = ['pnl', 'equity', 'volume'] as const;\n\n/**\n * Wallet series metric.\n */\nexport type NuanzeSeriesMetric = (typeof NUANZE_SERIES_METRICS)[number];\n\n/**\n * Every {@link NuanzeCoverage} the API can report.\n */\nexport const NUANZE_COVERAGES = ['complete', 'partial'] as const;\n\n/**\n * Whether a snapshot or window has full historical coverage.\n */\nexport type NuanzeCoverage = (typeof NUANZE_COVERAGES)[number];\n\n/**\n * Every {@link NuanzePositionSide} the API can report.\n */\nexport const NUANZE_POSITION_SIDES = ['long', 'short'] as const;\n\n/**\n * Direction of an open position.\n */\nexport type NuanzePositionSide = (typeof NUANZE_POSITION_SIDES)[number];\n\n/**\n * Every {@link NuanzeTradeSide} the API can report.\n */\nexport const NUANZE_TRADE_SIDES = ['buy', 'sell'] as const;\n\n/**\n * Aggressor side of a match.\n */\nexport type NuanzeTradeSide = (typeof NUANZE_TRADE_SIDES)[number];\n\n/**\n * Every {@link NuanzeMarginKind} the API can report.\n */\nexport const NUANZE_MARGIN_KINDS = ['cross', 'isolated'] as const;\n\n/**\n * Margin mode of a perpetual position leg.\n */\nexport type NuanzeMarginKind = (typeof NUANZE_MARGIN_KINDS)[number];\n\n/**\n * Every field accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_BYS = [\n 'notional',\n 'pnl',\n 'amount',\n] as const;\n\n/**\n * Primary field used to order market positions. Notional and amount are compared by absolute value;\n * PnL remains signed.\n */\nexport type NuanzeMarketPositionSortBy =\n (typeof NUANZE_MARKET_POSITION_SORT_BYS)[number];\n\n/**\n * Every direction accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_DIRECTIONS = ['asc', 'desc'] as const;\n\n/**\n * Direction used to order market positions.\n */\nexport type NuanzeMarketPositionSortDirection =\n (typeof NUANZE_MARKET_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every direction accepted for globally ranked open positions.\n */\nexport const NUANZE_OPEN_POSITION_SORT_DIRECTIONS =\n NUANZE_MARKET_POSITION_SORT_DIRECTIONS;\n\n/**\n * Signed unrealized-PnL ordering direction for globally ranked open positions.\n */\nexport type NuanzeOpenPositionSortDirection =\n (typeof NUANZE_OPEN_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every {@link NuanzePositioningGroupBy} the API can report.\n */\nexport const NUANZE_POSITIONING_GROUP_BYS = [\n 'side',\n 'cohort',\n 'notionalBucket',\n] as const;\n\n/**\n * Positioning cell grouping.\n */\nexport type NuanzePositioningGroupBy =\n (typeof NUANZE_POSITIONING_GROUP_BYS)[number];\n\n/**\n * Every {@link NuanzeMinPositionUsd} the API accepts. Values are USD threshold strings, not numbers.\n */\nexport const NUANZE_MIN_POSITION_USDS = [\n '10',\n '100',\n '1000',\n '10000',\n '100000',\n] as const;\n\n/**\n * Fixed USD inclusion threshold. Qualification is strictly `abs(netNotional) > minPositionUsd`.\n */\nexport type NuanzeMinPositionUsd = (typeof NUANZE_MIN_POSITION_USDS)[number];\n\n/**\n * Every {@link NuanzeCohortKey} the API can report. Values are the wire strings.\n */\nexport const NUANZE_COHORT_KEYS = [\n 'extremely_profitable',\n 'very_profitable',\n 'profitable',\n 'unprofitable',\n 'very_unprofitable',\n 'rekt',\n] as const;\n\n/**\n * Lifetime account PnL wallet cohort, used by positioning cells and `GET /cohorts`.\n */\nexport type NuanzeCohortKey = (typeof NUANZE_COHORT_KEYS)[number];\n\n/**\n * Every {@link NuanzePointsTier} the API can report: 1 Breeze, 2 Gust, 3 Wind, 4 Storm, and\n * 5 Tornado.\n */\nexport const NUANZE_POINTS_TIERS = [1, 2, 3, 4, 5] as const;\n\n/**\n * Nado Points tier, from 1 Breeze to 5 Tornado.\n */\nexport type NuanzePointsTier = (typeof NUANZE_POINTS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNotionalBucket} the API can report. Frozen USD ranges are small [10, 1000),\n * medium [1000, 10000), large [10000, 100000), and whale [100000, +infinity).\n */\nexport const NUANZE_NOTIONAL_BUCKETS = [\n 'small',\n 'medium',\n 'large',\n 'whale',\n] as const;\n\n/**\n * Notional-bucket key used by positioning cells.\n */\nexport type NuanzeNotionalBucket = (typeof NUANZE_NOTIONAL_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeFundamentalsSource} the API can report.\n */\nexport const NUANZE_FUNDAMENTALS_SOURCES = ['yahoo', 'coingecko'] as const;\n\n/**\n * Provider that populated a fundamentals projection.\n */\nexport type NuanzeFundamentalsSource =\n (typeof NUANZE_FUNDAMENTALS_SOURCES)[number];\n\n/**\n * Every {@link NuanzeSourceInterval} the API can report.\n */\nexport const NUANZE_SOURCE_INTERVALS = ['hour', 'day', 'mixed'] as const;\n\n/**\n * Snapshot grain used for a wallet PnL window or series.\n */\nexport type NuanzeSourceInterval = (typeof NUANZE_SOURCE_INTERVALS)[number];\n\n/**\n * Canonical market identity shared by market-derived objects. `productId` is unambiguous; ticker\n * is a case-insensitive display lookup.\n */\nexport interface NuanzeMarketIdentity {\n /** Public product ID. Perpetuals are even, spot markets odd. */\n productId: number;\n /** Venue-native symbol, for example `ETH-PERP`. */\n symbol: string;\n /** Canonical ticker, for example `ETH`. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n}\n\n/**\n * Latest price snapshot for a market. Every field is null until the first snapshot for that market\n * lands; prices refresh about every minute.\n */\nexport interface NuanzeLatestTicker {\n /** Mid price, or null when no quote is available. */\n midPrice: BigNumber | null;\n /** Best bid, or null when no quote is available. */\n bidPrice: BigNumber | null;\n /** Best ask, or null when no quote is available. */\n askPrice: BigNumber | null;\n /** Rolling 24-hour traded volume, or null when unknown. */\n volume24h: BigNumber | null;\n /** Open interest, or null when unknown. */\n openInterest: BigNumber | null;\n /** Rolling 24-hour price change in percent, or null when unknown. */\n priceChange24hPct: BigNumber | null;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * A market listed on Nado, as served by Nuanze. Timestamps stay UTC ISO 8601 strings rather than\n * `Date`, matching the API contract.\n */\nexport interface NuanzeMarket extends NuanzeMarketIdentity {\n /** Normalized tradability state. */\n tradingStatus: NuanzeMarketTradingStatus;\n /** Minimum price step. */\n priceIncrement: BigNumber;\n /** Minimum size step. */\n sizeIncrement: BigNumber;\n /** Minimum order size. */\n minSize: BigNumber;\n /** Latest price snapshot, or null when none exists yet. */\n latest: NuanzeLatestTicker | null;\n /**\n * Signed perp trader-positioning skew, or null when unavailable. Spot markets always return\n * null.\n *\n * Of the qualifying open perpetual positions in this market, what share is long versus short?\n * Each qualifying owner/subaccount position counts as one, regardless of size. `0.5` means 75%\n * of those positions are long and 25% are short: `(long - short) / (long + short)`. Convert\n * with `longPct = (1 + skew) / 2`. It is not the long share of open interest, capital, or\n * volume — market-wide long and short notional are approximately equal by construction.\n *\n * Classification uses current account-snapshot rows at the owner/subaccount grain. Cross and\n * isolated legs on the same subaccount are one position; subaccounts of the same wallet are\n * not netted, so a hedge is counted on both sides. A row qualifies when `abs(notional) > $10`\n * (equality is excluded). Dust and flat rows drop out of that filter, so there is no separate\n * wallet-level net-flat pass.\n *\n * The value is a current-state snapshot with typical indexer latency of up to about one hour,\n * not a 24-hour or historical series. It does not consolidate sybil wallets or unique people,\n * and it is descriptive context rather than a trading signal.\n */\n skew: BigNumber | null;\n /**\n * When {@link NuanzeMarket.skew} was last calculated from the hourly account-snapshot pass, as\n * a UTC ISO 8601 string, or null when skew is unavailable.\n */\n skewUpdatedAt: string | null;\n /** When market metadata was last synced, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Latest funding observation for a perpetual.\n */\nexport interface NuanzeFundingObservation {\n /** Instantaneous funding rate. */\n rate: BigNumber;\n /** Annualized funding rate. */\n annualizedRate: BigNumber;\n /** When the observation was taken, as a UTC ISO 8601 string. */\n observedAt: string;\n}\n\n/**\n * Latest funding rate for an active perpetual market.\n */\nexport interface NuanzeFundingRate\n extends NuanzeMarketIdentity, NuanzeFundingObservation {}\n\n/**\n * Market entity referenced by a published news story. No decimals.\n */\nexport interface NuanzeNewsEntity {\n /** Stable entity key. */\n key: string;\n /** Display name. */\n name: string;\n /** Whether the entity is the story subject or a read-across market. */\n role: NuanzeNewsEntityRole;\n /** Linked product ID, or null when the entity is not a listed market. */\n productId: number | null;\n}\n\n/**\n * Published editorial story. Raw ingestion, scoring, queue, and newsdesk fields are excluded.\n */\nexport interface NuanzeNewsStory {\n /** Story ID. */\n id: string;\n /** Short headline, or null when unpublished as a headline. */\n headline: string | null;\n /** Story title. */\n title: string;\n /** Short blurb, or null when absent. */\n blurb: string | null;\n /** Canonical story URL. */\n url: string;\n /** Publisher name, or null when unknown. */\n publisher: string | null;\n /** Publication time as a UTC ISO 8601 string, or null when unscheduled. */\n publishedAt: string | null;\n /** Thumbnail URL, or null when absent. */\n thumbnailUrl: string | null;\n /** Event classification, or null when unassigned. */\n eventType: NuanzeNewsEventType | null;\n /** Editorial sentiment. */\n sentiment: NuanzeNewsSentiment;\n /** Geographic/priority tier, or null when unassigned. */\n tier: NuanzeNewsTier | null;\n /** Number of contributing sources. */\n sourceCount: number;\n /** Public entity references only. */\n entities: NuanzeNewsEntity[];\n}\n\n/**\n * Nested key-data block of a fundamentals projection. Employee count stays an integer; every other\n * numeric field is a decimal.\n */\nexport interface NuanzeFundamentalsKeyData {\n /** Dividend yield, or null when unknown. */\n dividendYield: BigNumber | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Enterprise value, or null when unknown. */\n enterpriseValue: BigNumber | null;\n /** Shares outstanding, or null when unknown. */\n sharesOutstanding: BigNumber | null;\n /** Beta, or null when unknown. */\n beta: BigNumber | null;\n /** 52-week high, or null when unknown. */\n fiftyTwoWeekHigh: BigNumber | null;\n /** 52-week low, or null when unknown. */\n fiftyTwoWeekLow: BigNumber | null;\n /** Volume, or null when unknown. */\n volume: BigNumber | null;\n /** Average volume, or null when unknown. */\n averageVolume: BigNumber | null;\n /** Circulating supply, or null when unknown. */\n circulatingSupply: BigNumber | null;\n /** Total supply, or null when unknown. */\n totalSupply: BigNumber | null;\n /** Max supply, or null when unknown. */\n maxSupply: BigNumber | null;\n /** Fully diluted valuation, or null when unknown. */\n fullyDilutedValuation: BigNumber | null;\n /** All-time high, or null when unknown. */\n ath: BigNumber | null;\n /** All-time low, or null when unknown. */\n atl: BigNumber | null;\n /** 24-hour high, or null when unknown. */\n high24h: BigNumber | null;\n /** 24-hour low, or null when unknown. */\n low24h: BigNumber | null;\n}\n\n/**\n * Valuation ratios of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsValuation {\n /** Trailing P/E, or null when unknown. */\n trailingPE: BigNumber | null;\n /** Forward P/E, or null when unknown. */\n forwardPE: BigNumber | null;\n /** Price to book, or null when unknown. */\n priceToBook: BigNumber | null;\n /** Enterprise value to revenue, or null when unknown. */\n enterpriseToRevenue: BigNumber | null;\n /** Enterprise value to EBITDA, or null when unknown. */\n enterpriseToEbitda: BigNumber | null;\n /** Revenue, or null when unknown. */\n revenue: BigNumber | null;\n /** Profit margins, or null when unknown. */\n profitMargins: BigNumber | null;\n}\n\n/**\n * Performance returns of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsPerformance {\n /** One-month return, or null when unknown. */\n oneMonth: BigNumber | null;\n /** Three-month return, or null when unknown. */\n threeMonth: BigNumber | null;\n /** Year-to-date return, or null when unknown. */\n ytd: BigNumber | null;\n /** One-year return, or null when unknown. */\n oneYear: BigNumber | null;\n}\n\n/**\n * Social/link fields of a fundamentals projection. No decimals.\n */\nexport interface NuanzeFundamentalsSocial {\n /** Website URL, or null when unknown. */\n website: string | null;\n /** X/Twitter URL, or null when unknown. */\n x: string | null;\n /** LinkedIn URL, or null when unknown. */\n linkedin: string | null;\n}\n\n/**\n * Approved stock/token fundamentals projection. The entire value is null when no row exists.\n */\nexport interface NuanzeStockFundamentals {\n /** Product the projection belongs to. */\n productId: number;\n /** Provider, or null when unknown. */\n source: NuanzeFundamentalsSource | null;\n /** Quote type, or null when unknown. */\n quoteType: string | null;\n /** Quote currency, or null when unknown. */\n currency: string | null;\n /** Display name, or null when unknown. */\n name: string | null;\n /** Description, or null when unknown. */\n description: string | null;\n /** Sector, or null when unknown. */\n sector: string | null;\n /** Industry, or null when unknown. */\n industry: string | null;\n /** Website URL, or null when unknown. */\n website: string | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Market cap, or null when unknown. */\n marketCap: BigNumber | null;\n /** Nested key-data decimals. */\n keyData: NuanzeFundamentalsKeyData;\n /** Nested valuation decimals. */\n valuation: NuanzeFundamentalsValuation;\n /** Nested performance decimals. */\n performance: NuanzeFundamentalsPerformance;\n /** Nested social links. */\n social: NuanzeFundamentalsSocial;\n /** When the projection was last updated, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Per-component freshness timestamps on a resolved market detail.\n */\nexport interface NuanzeMarketComponentUpdatedAt {\n /** When market metadata was last synced. */\n market: string;\n /** When the latest ticker was last synced. */\n ticker: string;\n /** When funding was last observed, or null when absent. */\n funding: string | null;\n /** When fundamentals were last updated, or null when absent. */\n fundamentals: string | null;\n /** When related news was last updated, or null when absent. */\n news: string | null;\n}\n\n/**\n * Resolved market detail: list market fields plus venue resolution, funding, fundamentals, and\n * recent published news.\n */\nexport interface NuanzeMarketDetail extends NuanzeMarket {\n /** Primary product ID for the asset. */\n primaryProductId: number;\n /** Venues the asset currently lists on. */\n availableVenues: NuanzeMarketVenue[];\n /** Venue used when the request omitted one. */\n primaryVenue: NuanzeMarketVenue;\n /** Latest funding observation, or null for spot or when none exists. */\n funding: NuanzeFundingObservation | null;\n /** Fundamentals projection, or null when no row exists. */\n fundamentals: NuanzeStockFundamentals | null;\n /** Recent published stories, capped by `newsLimit`. */\n news: NuanzeNewsStory[];\n /** Mixed-source freshness timestamps. */\n componentUpdatedAt: NuanzeMarketComponentUpdatedAt;\n}\n\n/**\n * Per-subaccount row from `GET /wallets/leaderboard`. Untraded followed subaccounts are included\n * by default with null PnL/rank/name fields where unavailable, zero counts, and no products.\n */\nexport interface NuanzeFollowedLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the followed subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when the followed subaccount has not claimed one. */\n displayName: string | null;\n /** Avatar image URL, or null when the followed subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null when the subaccount\n * has no data in the window.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank among all subaccounts by this timeframe's PnL (`1` = highest), or null when\n * the subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl`, or null when the subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Close-event trade extreme from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountCloseTrade {\n /** Fill ID of the closing fill. */\n tradeId: number;\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Close-event realized PnL of the fill. */\n realizedPnl: BigNumber;\n /** When the fill matched, as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Position-based long/short bias from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountLongShortBias {\n /** Share of qualifying current perp notional held long, 0-100. Null when flat. */\n longPct: BigNumber | null;\n /** Share of qualifying current perp notional held short, 0-100. Null when flat. */\n shortPct: BigNumber | null;\n /** Qualifying current long notional in USD. */\n longNotional: BigNumber;\n /** Qualifying current short notional in USD. */\n shortNotional: BigNumber;\n}\n\n/**\n * Most-traded perp market from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountMostTradedMarket {\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Perp fill count in the window. */\n trades: number;\n /** Windowed fill volume in USD. */\n volume: BigNumber;\n}\n\n/**\n * Public subaccount row from `GET /leaderboard/subaccounts`.\n */\nexport interface NuanzeSubaccountLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when unavailable. */\n displayName: string | null;\n /** Avatar image URL, or null when the subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null for an untraded subaccount\n * returned when `includeUntraded` is enabled.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank across all subaccounts for the timeframe, independent of page filters, or null when the\n * subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl` (and as `windowVolume` on `GET /subaccounts/{subaccountHex}`), or null when the\n * subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Leaderboard row. PnL is equity-basis account PnL, not realized PnL.\n */\nexport interface NuanzeLeaderboardItem {\n /** Rank in the selected timeframe. */\n rank: number;\n /** Rank change versus the prior window, or null when unknown. */\n rankDelta: number | null;\n /** Lowercased wallet address. */\n address: string;\n /** Account PnL for the selected timeframe. */\n accountPnl: BigNumber;\n /** Rolling 24-hour account PnL, or null when uncovered. */\n pnl24h: BigNumber | null;\n /** 7-day account PnL, or null when uncovered. */\n pnl7d: BigNumber | null;\n /** 30-day account PnL, or null when uncovered. */\n pnl30d: BigNumber | null;\n /** All-time account PnL. */\n pnlAll: BigNumber;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n}\n\n/**\n * Prior-window percentage deltas on the platform summary.\n */\nexport interface NuanzePlatformDeltas {\n /** Volume change versus the prior equal window, or null when unavailable. */\n volumePct: BigNumber | null;\n /** Trade-count change versus the prior equal window, or null when unavailable. */\n tradesPct: BigNumber | null;\n /** Trader-count change versus the prior equal window, or null when unavailable. */\n tradersPct: BigNumber | null;\n}\n\n/**\n * Four-hourly sample of a wallet cohort's long percentage.\n */\nexport interface NuanzeCohortSeriesPoint {\n /** Sample time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Wallets in the cohort at the sample. */\n walletCount: number;\n /** Share of the cohort's open perp notional held long, 0-100, or null when it was flat. */\n longPct: BigNumber | null;\n}\n\n/**\n * Wallet cohort bucketed by lifetime equity-basis account PnL summed across the wallet's\n * subaccounts. Every wallet that has traded belongs to exactly one cohort.\n */\nexport interface NuanzeCohort {\n /** Cohort key. */\n key: NuanzeCohortKey;\n /** Display label. */\n label: string;\n /** Inclusive lower lifetime PnL bound, or null when unbounded. */\n pnlMin: BigNumber | null;\n /** Exclusive upper lifetime PnL bound, or null when unbounded. */\n pnlMax: BigNumber | null;\n /** Wallets in the cohort. */\n walletCount: number;\n /** Sum of the members' lifetime account PnL. */\n pnl: BigNumber;\n /** Mean lifetime account PnL per wallet, or null when the cohort is empty. */\n averagePnl: BigNumber | null;\n /** Members with lifetime account PnL above zero. */\n walletsInProfit: number;\n /** Members with lifetime account PnL at or below zero. */\n walletsInLoss: number;\n /** Lifetime fill count across the members. */\n trades: number;\n /** Members' current open perp notional held long. */\n longNotional: BigNumber;\n /** Members' current open perp notional held short. */\n shortNotional: BigNumber;\n /** Share of open perp notional held long, 0-100, or null when the cohort is flat. */\n longPct: BigNumber | null;\n /** Share of open perp notional held short, 0-100, or null when the cohort is flat. */\n shortPct: BigNumber | null;\n /** Long percentage every four hours over the last 30 days, oldest first. */\n series: NuanzeCohortSeriesPoint[];\n}\n\n/**\n * Replica-backed wallet position snapshot. Not an execution-grade live feed.\n */\nexport interface NuanzeWalletPosition {\n /** Subaccount that owns the row. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Whether the row is a spot balance. */\n isSpot: boolean;\n /** Signed position size. */\n amount: BigNumber;\n /** Oracle price at snapshot time. */\n oraclePrice: BigNumber;\n /** Absolute notional. */\n notional: BigNumber;\n /** Unrealized PnL. */\n unrealizedPnl: BigNumber;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * Taker-side market tape row. Wallet identity is absent.\n */\nexport interface NuanzeMarketTrade {\n /** Match row ID. */\n id: number;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Aggressor side. */\n side: NuanzeTradeSide;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Open perpetual position leg for a resolved market. Wallet addresses are returned.\n */\nexport interface NuanzeMarketPosition {\n /** Lowercased owner address. */\n subaccountOwner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Claimed username, or null when the subaccount has no synced identity or none claimed. */\n username: string | null;\n /** Display name, or null when the subaccount has no synced identity or none set. */\n displayName: string | null;\n /** Avatar image URL, or null when the subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /** Venue-native symbol. */\n symbol: string;\n /** Margin mode. Isolated margin is isolated equity and is null when non-positive. */\n marginKind: NuanzeMarginKind;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Signed exact base amount. Positive is long and negative is short. */\n amount: BigNumber;\n /** Absolute notional. Legs below $10 are excluded by the API. */\n notional: BigNumber;\n /** Unrealized PnL. */\n upnl: BigNumber;\n /**\n * Cross: market implied initial requirement. Isolated: isolated equity, or null when\n * non-positive or unavailable.\n */\n margin: BigNumber | null;\n /** Entry price, or null when unavailable. */\n entryPrice: BigNumber | null;\n /**\n * Effective isolated leverage computed from unrounded notional and isolated equity.\n * Null for cross positions or when isolated equity is unavailable.\n */\n leverage: BigNumber | null;\n}\n\n/**\n * Current open perpetual position leg in the global signed-unrealized-PnL ranking.\n */\nexport interface NuanzeOpenPosition extends NuanzeMarketPosition {\n /** Public product ID for this row's market. */\n productId: number;\n /** Canonical market ticker. */\n ticker: string;\n /** Global open positions contain perpetuals only. */\n venue: 'perp';\n /** Source snapshot time for this position leg, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * OHLCV candle. Missing source bars are not interpolated. A current bucket has `complete=false`.\n */\nexport interface NuanzeCandle {\n /** Bar open time as a UTC ISO 8601 string. */\n openTime: string;\n /** Open price. */\n open: BigNumber;\n /** High price. */\n high: BigNumber;\n /** Low price. */\n low: BigNumber;\n /** Close price. */\n close: BigNumber;\n /** Traded volume. */\n volume: BigNumber;\n /** False when the bar is still accumulating. */\n complete: boolean;\n}\n\n/**\n * Wallet-owned execution row. Unlike market tape, both maker and taker fills are included.\n */\nexport interface NuanzeWalletTrade {\n /** Match row ID. */\n id: number;\n /** Subaccount that filled. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Side of this wallet's fill. */\n side: NuanzeTradeSide;\n /** Whether this wallet was the maker. */\n isMaker: boolean;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Sampled wallet series point. Synthetic points are the boundary anchor or carried-forward tip.\n */\nexport interface NuanzeSeriesPoint {\n /** Point time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Metric value, or null when the bucket has no observation. */\n value: BigNumber | null;\n /** True when the point is a synthetic anchor or tip. */\n synthetic: boolean;\n /** True when the latest bucket is still provisional. */\n provisional: boolean;\n}\n\n/**\n * Public tags on a collateral event. No identity beyond the event's own owner.\n */\nexport interface NuanzeFlowTags {\n /** Whether the owner is tagged as a whale. */\n whale: boolean;\n /** Whether the owner is tagged as smart money. */\n smartMoney: boolean;\n /** Whether the owner is tagged as a fresh wallet. */\n freshWallet: boolean;\n}\n\n/**\n * Public on-chain collateral event. Product 0 and 11 may use fallback symbols.\n */\nexport interface NuanzeCollateralFlow {\n /** Event ID. */\n id: number;\n /** Deposit or withdrawal. */\n eventType: NuanzeFlowEventType;\n /** Public product ID. */\n productId: number;\n /** Asset symbol. */\n symbol: string;\n /** Exact asset amount. */\n assetAmount: BigNumber;\n /** Oracle price at event time, or null when unvalued. */\n oraclePrice: BigNumber | null;\n /** USD valuation, or null when unvalued. */\n usdValue: BigNumber | null;\n /** Lowercased owner address. */\n owner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Event time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Public tags. */\n tags: NuanzeFlowTags;\n}\n\n/**\n * UTC-bucketed collateral flow point.\n */\nexport interface NuanzeCollateralFlowPoint {\n /** Bucket start as a UTC ISO 8601 string. */\n timestamp: string;\n /** Deposited USD in the bucket. */\n deposited: BigNumber;\n /** Withdrawn USD in the bucket. */\n withdrawn: BigNumber;\n /** Net USD in the bucket. */\n net: BigNumber;\n /** Cumulative net USD through this bucket. */\n cumulativeNet: BigNumber;\n /** Event count. */\n eventCount: number;\n /** Count of valued events. */\n valuedCount: number;\n /** Count of unvalued events. */\n unvaluedCount: number;\n}\n\n/**\n * Aggregate long/short totals for a positioning response. All reversible fields are null when any\n * contributing cell required by the grouping is suppressed.\n */\nexport interface NuanzePositioningTotals {\n /** Long position count at the owner/subaccount grain, or null if suppressed. */\n longPositions: number | null;\n /** Short position count at the owner/subaccount grain, or null if suppressed. */\n shortPositions: number | null;\n /** Distinct long owners, or null if suppressed. */\n longOwners: number | null;\n /** Distinct short owners, or null if suppressed. */\n shortOwners: number | null;\n /** Owners netted flat, or null if suppressed. */\n netFlatOwners: number | null;\n /** Long notional, or null if suppressed. */\n longNotional: BigNumber | null;\n /** Short notional, or null if suppressed. */\n shortNotional: BigNumber | null;\n /** Long share of positions, or null if suppressed. */\n longPositionPct: BigNumber | null;\n /** Short share of positions, or null if suppressed. */\n shortPositionPct: BigNumber | null;\n /** Long/short ratio, or null if suppressed. */\n longShortRatio: BigNumber | null;\n}\n\n/**\n * Shared fields of a privacy-preserving positioning cell. For a suppressed cell every reversible\n * value is null; only the label, key, suppressed flag, and threshold remain.\n */\nexport interface NuanzePositioningCellBase {\n /** Display label. */\n label: string;\n /** Side this cell describes, or null when the grouping is not by side. */\n side: NuanzePositionSide | null;\n /** True when complementary or cross-request suppression nulls reversible metrics. */\n suppressed: boolean;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Position count, or null if suppressed. */\n positions: number | null;\n /** Distinct contributing owners, or null if suppressed. */\n owners: number | null;\n /** Cell notional, or null if suppressed. */\n notional: BigNumber | null;\n /** Average notional, or null if suppressed. */\n averageNotional: BigNumber | null;\n /** Share of the grouping, or null if suppressed. */\n percentage: BigNumber | null;\n}\n\n/**\n * Positioning cell grouped by side.\n */\nexport interface NuanzeSidePositioningCell extends NuanzePositioningCellBase {\n /** Side key. */\n key: NuanzePositionSide;\n}\n\n/**\n * Positioning cell grouped by wallet cohort.\n */\nexport interface NuanzeCohortPositioningCell extends NuanzePositioningCellBase {\n /** Cohort key. */\n key: NuanzeCohortKey;\n}\n\n/**\n * Positioning cell grouped by frozen USD notional bucket. Empty buckets are omitted rather than\n * returned with zeros.\n */\nexport interface NuanzeNotionalBucketPositioningCell extends NuanzePositioningCellBase {\n /** Notional-bucket key. */\n key: NuanzeNotionalBucket;\n}\n\n/**\n * Shared fields of every positioning response. Identity, entry price, PnL, margin, and leverage\n * are never returned.\n */\nexport interface NuanzeMarketPositioningBase extends NuanzeMarketIdentity {\n /** Effective inclusion threshold after request validation. */\n effectiveMinPositionUsd: NuanzeMinPositionUsd;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Grouping totals; reversible fields are null when any required cell is suppressed. */\n totals: NuanzePositioningTotals;\n /** Newest contributing snapshot, or null when none. */\n newestSnapshotAt: string | null;\n /** Oldest contributing snapshot, or null when none. */\n oldestSnapshotAt: string | null;\n /** When the response was generated, as a UTC ISO 8601 string. */\n asOf: string;\n}\n\n/**\n * Positioning grouped by side. Always two cells, long then short.\n */\nexport interface NuanzeMarketPositioningSideResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'side';\n /** Long and short cells. */\n cells: NuanzeSidePositioningCell[];\n}\n\n/**\n * Positioning grouped by wallet cohort.\n */\nexport interface NuanzeMarketPositioningCohortResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'cohort';\n /** Cohort cells. */\n cells: NuanzeCohortPositioningCell[];\n}\n\n/**\n * Positioning grouped by notional bucket.\n */\nexport interface NuanzeMarketPositioningNotionalBucketResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'notionalBucket';\n /** Notional-bucket cells. Empty buckets omitted. */\n cells: NuanzeNotionalBucketPositioningCell[];\n}\n"],"mappings":";;;;;;AAMA,MAAa,uBAAuB,CAAC,QAAQ,MAAM;;;;;AAWnD,MAAa,iCAAiC;CAC5C;CACA;CACA;CACA;CACA;AACF;;;;AAYA,MAAa,yBAAyB;CACpC;CACA;CACA;AACF;;;;AAUA,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,oBAAoB;CAAC;CAAQ;CAAM;AAAQ;;;;;AAWxD,MAAa,2BAA2B,CAAC,WAAW,aAAa;;;;AAUjE,MAAa,qBAAqB;CAAC;CAAO;CAAM;CAAO;CAAO;AAAK;;;;AAUnE,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B;CAAC;CAAM;CAAO;AAAK;;;;AAU1D,MAAa,yBAAyB;CAAC;CAAO;CAAM;CAAO;AAAK;;;;AAUhE,MAAa,iCAAiC;CAC5C;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B,CAAC,WAAW,YAAY;;;;AAU/D,MAAa,sBAAsB,CAAC,QAAQ,KAAK;;;;AAWjD,MAAa,0BAA0B;CAAC;CAAM;CAAM;AAAI;;;;AAUxD,MAAa,wBAAwB;CAAC;CAAO;CAAU;AAAQ;;;;AAU/D,MAAa,mBAAmB,CAAC,YAAY,SAAS;;;;AAUtD,MAAa,wBAAwB,CAAC,QAAQ,OAAO;;;;AAUrD,MAAa,qBAAqB,CAAC,OAAO,MAAM;;;;AAUhD,MAAa,sBAAsB,CAAC,SAAS,UAAU;;;;AAUvD,MAAa,kCAAkC;CAC7C;CACA;CACA;AACF;;;;AAYA,MAAa,yCAAyC,CAAC,OAAO,MAAM;;;;AAWpE,MAAa,uCACX;;;;AAWF,MAAa,+BAA+B;CAC1C;CACA;CACA;AACF;;;;AAWA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;AACF;;;;;AAWA,MAAa,sBAAsB;CAAC;CAAG;CAAG;CAAG;CAAG;AAAC;;;;;AAWjD,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,8BAA8B,CAAC,SAAS,WAAW;;;;AAWhE,MAAa,0BAA0B;CAAC;CAAQ;CAAO;AAAO"}
@@ -1,2 +1,2 @@
1
- import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-B22P2pH3.cjs";
1
+ import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-Cu7A2-_S.cjs";
2
2
  export { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohort, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCohortSeriesPoint, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePointsTier, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountCloseTrade, NuanzeSubaccountLeaderboardItem, NuanzeSubaccountLongShortBias, NuanzeSubaccountMostTradedMarket, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade };
@@ -1,2 +1,2 @@
1
- import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-B22P2pH3.js";
1
+ import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-Cu7A2-_S.js";
2
2
  export { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohort, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCohortSeriesPoint, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePointsTier, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountCloseTrade, NuanzeSubaccountLeaderboardItem, NuanzeSubaccountLongShortBias, NuanzeSubaccountMostTradedMarket, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade };
@@ -1 +1 @@
1
- {"version":3,"file":"clientModelTypes.js","names":[],"sources":["../../src/types/clientModelTypes.ts"],"sourcesContent":["import BigNumber from 'bignumber.js';\n\n/**\n * Every {@link NuanzeMarketVenue} the API can report, for callers that need the values at runtime\n * (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_VENUES = ['perp', 'spot'] as const;\n\n/**\n * Venue a market is listed on. Perpetuals use even product IDs, spot markets odd ones.\n */\nexport type NuanzeMarketVenue = (typeof NUANZE_MARKET_VENUES)[number];\n\n/**\n * Every {@link NuanzeMarketTradingStatus} the API can report, for callers that need the values at\n * runtime (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_TRADING_STATUSES = [\n 'live',\n 'notTradable',\n 'reduceOnly',\n 'postOnly',\n 'softReduceOnly',\n] as const;\n\n/**\n * Normalized tradability state of a market. The API camelCases the engine's snake_case source values,\n * so `not_tradable` arrives as `notTradable`.\n */\nexport type NuanzeMarketTradingStatus =\n (typeof NUANZE_MARKET_TRADING_STATUSES)[number];\n\n/**\n * Every {@link NuanzeNewsSentiment} the API can report.\n */\nexport const NUANZE_NEWS_SENTIMENTS = [\n 'bearish',\n 'bullish',\n 'neutral',\n] as const;\n\n/**\n * Editorial sentiment of a published news story.\n */\nexport type NuanzeNewsSentiment = (typeof NUANZE_NEWS_SENTIMENTS)[number];\n\n/**\n * Every {@link NuanzeNewsEventType} the API can report.\n */\nexport const NUANZE_NEWS_EVENT_TYPES = [\n 'earnings',\n 'guidance',\n 'ma',\n 'regulatory',\n 'product',\n 'analyst',\n 'macro',\n 'personnel',\n 'legal',\n 'other',\n] as const;\n\n/**\n * Editorial event classification of a published news story.\n */\nexport type NuanzeNewsEventType = (typeof NUANZE_NEWS_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeNewsTier} the API can report.\n */\nexport const NUANZE_NEWS_TIERS = ['core', 'us', 'global'] as const;\n\n/**\n * Geographic/priority tier of a published news story, or null when unassigned.\n */\nexport type NuanzeNewsTier = (typeof NUANZE_NEWS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNewsEntityRole} the API can report. Values are the wire strings; `read_across`\n * is not camelCased.\n */\nexport const NUANZE_NEWS_ENTITY_ROLES = ['subject', 'read_across'] as const;\n\n/**\n * Role of a market entity on a news story.\n */\nexport type NuanzeNewsEntityRole = (typeof NUANZE_NEWS_ENTITY_ROLES)[number];\n\n/**\n * Every {@link NuanzePnlWindow} the API can report.\n */\nexport const NUANZE_PNL_WINDOWS = ['24h', '7d', '30d', '90d', 'all'] as const;\n\n/**\n * Account PnL lookback window.\n */\nexport type NuanzePnlWindow = (typeof NUANZE_PNL_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeLeaderboardTimeframe} the API can report.\n */\nexport const NUANZE_LEADERBOARD_TIMEFRAMES = [\n '24h',\n '7d',\n '30d',\n 'all',\n] as const;\n\n/**\n * Leaderboard ranking window.\n */\nexport type NuanzeLeaderboardTimeframe =\n (typeof NUANZE_LEADERBOARD_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzePlatformWindow} the API can report.\n */\nexport const NUANZE_PLATFORM_WINDOWS = ['7d', '30d', '90d'] as const;\n\n/**\n * Selected comparison window for platform activity aggregates.\n */\nexport type NuanzePlatformWindow = (typeof NUANZE_PLATFORM_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeFlowTimeframe} the API can report.\n */\nexport const NUANZE_FLOW_TIMEFRAMES = ['24h', '7d', '30d', 'all'] as const;\n\n/**\n * Collateral-flow lookback window.\n */\nexport type NuanzeFlowTimeframe = (typeof NUANZE_FLOW_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzeFlowEventTypeFilter} the API accepts as a query filter.\n */\nexport const NUANZE_FLOW_EVENT_TYPE_FILTERS = [\n 'all',\n 'deposit',\n 'withdrawal',\n] as const;\n\n/**\n * Collateral event type filter. `all` includes both deposits and withdrawals.\n */\nexport type NuanzeFlowEventTypeFilter =\n (typeof NUANZE_FLOW_EVENT_TYPE_FILTERS)[number];\n\n/**\n * Every {@link NuanzeFlowEventType} a collateral event can have.\n */\nexport const NUANZE_FLOW_EVENT_TYPES = ['deposit', 'withdrawal'] as const;\n\n/**\n * On-chain collateral event kind.\n */\nexport type NuanzeFlowEventType = (typeof NUANZE_FLOW_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeFlowBucket} the API can report.\n */\nexport const NUANZE_FLOW_BUCKETS = ['hour', 'day'] as const;\n\n/**\n * UTC bucket size for collateral flow series. Allowed pairs are 24h/hour, 7d/hour or day\n * (default hour), 30d/day, and all/day.\n */\nexport type NuanzeFlowBucket = (typeof NUANZE_FLOW_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeCandleInterval} the API can report.\n */\nexport const NUANZE_CANDLE_INTERVALS = ['1h', '4h', '1d'] as const;\n\n/**\n * Candle bar interval. Source storage is 1h; 4h and 1d are UTC-aligned rollups.\n */\nexport type NuanzeCandleInterval = (typeof NUANZE_CANDLE_INTERVALS)[number];\n\n/**\n * Every {@link NuanzeSeriesMetric} the API can report.\n */\nexport const NUANZE_SERIES_METRICS = ['pnl', 'equity', 'volume'] as const;\n\n/**\n * Wallet series metric.\n */\nexport type NuanzeSeriesMetric = (typeof NUANZE_SERIES_METRICS)[number];\n\n/**\n * Every {@link NuanzeCoverage} the API can report.\n */\nexport const NUANZE_COVERAGES = ['complete', 'partial'] as const;\n\n/**\n * Whether a snapshot or window has full historical coverage.\n */\nexport type NuanzeCoverage = (typeof NUANZE_COVERAGES)[number];\n\n/**\n * Every {@link NuanzePositionSide} the API can report.\n */\nexport const NUANZE_POSITION_SIDES = ['long', 'short'] as const;\n\n/**\n * Direction of an open position.\n */\nexport type NuanzePositionSide = (typeof NUANZE_POSITION_SIDES)[number];\n\n/**\n * Every {@link NuanzeTradeSide} the API can report.\n */\nexport const NUANZE_TRADE_SIDES = ['buy', 'sell'] as const;\n\n/**\n * Aggressor side of a match.\n */\nexport type NuanzeTradeSide = (typeof NUANZE_TRADE_SIDES)[number];\n\n/**\n * Every {@link NuanzeMarginKind} the API can report.\n */\nexport const NUANZE_MARGIN_KINDS = ['cross', 'isolated'] as const;\n\n/**\n * Margin mode of a perpetual position leg.\n */\nexport type NuanzeMarginKind = (typeof NUANZE_MARGIN_KINDS)[number];\n\n/**\n * Every field accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_BYS = [\n 'notional',\n 'pnl',\n 'amount',\n] as const;\n\n/**\n * Primary field used to order market positions. Notional and amount are compared by absolute value;\n * PnL remains signed.\n */\nexport type NuanzeMarketPositionSortBy =\n (typeof NUANZE_MARKET_POSITION_SORT_BYS)[number];\n\n/**\n * Every direction accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_DIRECTIONS = ['asc', 'desc'] as const;\n\n/**\n * Direction used to order market positions.\n */\nexport type NuanzeMarketPositionSortDirection =\n (typeof NUANZE_MARKET_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every direction accepted for globally ranked open positions.\n */\nexport const NUANZE_OPEN_POSITION_SORT_DIRECTIONS =\n NUANZE_MARKET_POSITION_SORT_DIRECTIONS;\n\n/**\n * Signed unrealized-PnL ordering direction for globally ranked open positions.\n */\nexport type NuanzeOpenPositionSortDirection =\n (typeof NUANZE_OPEN_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every {@link NuanzePositioningGroupBy} the API can report.\n */\nexport const NUANZE_POSITIONING_GROUP_BYS = [\n 'side',\n 'cohort',\n 'notionalBucket',\n] as const;\n\n/**\n * Positioning cell grouping.\n */\nexport type NuanzePositioningGroupBy =\n (typeof NUANZE_POSITIONING_GROUP_BYS)[number];\n\n/**\n * Every {@link NuanzeMinPositionUsd} the API accepts. Values are USD threshold strings, not numbers.\n */\nexport const NUANZE_MIN_POSITION_USDS = [\n '10',\n '100',\n '1000',\n '10000',\n '100000',\n] as const;\n\n/**\n * Fixed USD inclusion threshold. Qualification is strictly `abs(netNotional) > minPositionUsd`.\n */\nexport type NuanzeMinPositionUsd = (typeof NUANZE_MIN_POSITION_USDS)[number];\n\n/**\n * Every {@link NuanzeCohortKey} the API can report. Values are the wire strings.\n */\nexport const NUANZE_COHORT_KEYS = [\n 'extremely_profitable',\n 'very_profitable',\n 'profitable',\n 'unprofitable',\n 'very_unprofitable',\n 'rekt',\n] as const;\n\n/**\n * Lifetime account PnL wallet cohort, used by positioning cells and `GET /cohorts`.\n */\nexport type NuanzeCohortKey = (typeof NUANZE_COHORT_KEYS)[number];\n\n/**\n * Every {@link NuanzePointsTier} the API can report: 1 Breeze, 2 Gust, 3 Wind, 4 Storm, and\n * 5 Tornado.\n */\nexport const NUANZE_POINTS_TIERS = [1, 2, 3, 4, 5] as const;\n\n/**\n * Nado Points tier, from 1 Breeze to 5 Tornado.\n */\nexport type NuanzePointsTier = (typeof NUANZE_POINTS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNotionalBucket} the API can report. Frozen USD ranges are small [10, 1000),\n * medium [1000, 10000), large [10000, 100000), and whale [100000, +infinity).\n */\nexport const NUANZE_NOTIONAL_BUCKETS = [\n 'small',\n 'medium',\n 'large',\n 'whale',\n] as const;\n\n/**\n * Notional-bucket key used by positioning cells.\n */\nexport type NuanzeNotionalBucket = (typeof NUANZE_NOTIONAL_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeFundamentalsSource} the API can report.\n */\nexport const NUANZE_FUNDAMENTALS_SOURCES = ['yahoo', 'coingecko'] as const;\n\n/**\n * Provider that populated a fundamentals projection.\n */\nexport type NuanzeFundamentalsSource =\n (typeof NUANZE_FUNDAMENTALS_SOURCES)[number];\n\n/**\n * Every {@link NuanzeSourceInterval} the API can report.\n */\nexport const NUANZE_SOURCE_INTERVALS = ['hour', 'day', 'mixed'] as const;\n\n/**\n * Snapshot grain used for a wallet PnL window or series.\n */\nexport type NuanzeSourceInterval = (typeof NUANZE_SOURCE_INTERVALS)[number];\n\n/**\n * Canonical market identity shared by market-derived objects. `productId` is unambiguous; ticker\n * is a case-insensitive display lookup.\n */\nexport interface NuanzeMarketIdentity {\n /** Public product ID. Perpetuals are even, spot markets odd. */\n productId: number;\n /** Venue-native symbol, for example `ETH-PERP`. */\n symbol: string;\n /** Canonical ticker, for example `ETH`. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n}\n\n/**\n * Latest price snapshot for a market. Every field is null until the first snapshot for that market\n * lands; prices refresh about every minute.\n */\nexport interface NuanzeLatestTicker {\n /** Mid price, or null when no quote is available. */\n midPrice: BigNumber | null;\n /** Best bid, or null when no quote is available. */\n bidPrice: BigNumber | null;\n /** Best ask, or null when no quote is available. */\n askPrice: BigNumber | null;\n /** Rolling 24-hour traded volume, or null when unknown. */\n volume24h: BigNumber | null;\n /** Open interest, or null when unknown. */\n openInterest: BigNumber | null;\n /** Rolling 24-hour price change in percent, or null when unknown. */\n priceChange24hPct: BigNumber | null;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * A market listed on Nado, as served by Nuanze. Timestamps stay UTC ISO 8601 strings rather than\n * `Date`, matching the API contract.\n */\nexport interface NuanzeMarket extends NuanzeMarketIdentity {\n /** Normalized tradability state. */\n tradingStatus: NuanzeMarketTradingStatus;\n /** Minimum price step. */\n priceIncrement: BigNumber;\n /** Minimum size step. */\n sizeIncrement: BigNumber;\n /** Minimum order size. */\n minSize: BigNumber;\n /** Latest price snapshot, or null when none exists yet. */\n latest: NuanzeLatestTicker | null;\n /**\n * Signed perp trader-positioning skew, or null when unavailable. Spot markets always return\n * null.\n *\n * Of the qualifying open perpetual positions in this market, what share is long versus short?\n * Each qualifying owner/subaccount position counts as one, regardless of size. `0.5` means 75%\n * of those positions are long and 25% are short: `(long - short) / (long + short)`. Convert\n * with `longPct = (1 + skew) / 2`. It is not the long share of open interest, capital, or\n * volume — market-wide long and short notional are approximately equal by construction.\n *\n * Classification uses current account-snapshot rows at the owner/subaccount grain. Cross and\n * isolated legs on the same subaccount are one position; subaccounts of the same wallet are\n * not netted, so a hedge is counted on both sides. A row qualifies when `abs(notional) > $10`\n * (equality is excluded). Dust and flat rows drop out of that filter, so there is no separate\n * wallet-level net-flat pass.\n *\n * The value is a current-state snapshot with typical indexer latency of up to about one hour,\n * not a 24-hour or historical series. It does not consolidate sybil wallets or unique people,\n * and it is descriptive context rather than a trading signal.\n */\n skew: BigNumber | null;\n /**\n * When {@link NuanzeMarket.skew} was last calculated from the hourly account-snapshot pass, as\n * a UTC ISO 8601 string, or null when skew is unavailable.\n */\n skewUpdatedAt: string | null;\n /** When market metadata was last synced, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Latest funding observation for a perpetual.\n */\nexport interface NuanzeFundingObservation {\n /** Instantaneous funding rate. */\n rate: BigNumber;\n /** Annualized funding rate. */\n annualizedRate: BigNumber;\n /** When the observation was taken, as a UTC ISO 8601 string. */\n observedAt: string;\n}\n\n/**\n * Latest funding rate for an active perpetual market.\n */\nexport interface NuanzeFundingRate\n extends NuanzeMarketIdentity, NuanzeFundingObservation {}\n\n/**\n * Market entity referenced by a published news story. No decimals.\n */\nexport interface NuanzeNewsEntity {\n /** Stable entity key. */\n key: string;\n /** Display name. */\n name: string;\n /** Whether the entity is the story subject or a read-across market. */\n role: NuanzeNewsEntityRole;\n /** Linked product ID, or null when the entity is not a listed market. */\n productId: number | null;\n}\n\n/**\n * Published editorial story. Raw ingestion, scoring, queue, and newsdesk fields are excluded.\n */\nexport interface NuanzeNewsStory {\n /** Story ID. */\n id: string;\n /** Short headline, or null when unpublished as a headline. */\n headline: string | null;\n /** Story title. */\n title: string;\n /** Short blurb, or null when absent. */\n blurb: string | null;\n /** Canonical story URL. */\n url: string;\n /** Publisher name, or null when unknown. */\n publisher: string | null;\n /** Publication time as a UTC ISO 8601 string, or null when unscheduled. */\n publishedAt: string | null;\n /** Thumbnail URL, or null when absent. */\n thumbnailUrl: string | null;\n /** Event classification, or null when unassigned. */\n eventType: NuanzeNewsEventType | null;\n /** Editorial sentiment. */\n sentiment: NuanzeNewsSentiment;\n /** Geographic/priority tier, or null when unassigned. */\n tier: NuanzeNewsTier | null;\n /** Number of contributing sources. */\n sourceCount: number;\n /** Public entity references only. */\n entities: NuanzeNewsEntity[];\n}\n\n/**\n * Nested key-data block of a fundamentals projection. Employee count stays an integer; every other\n * numeric field is a decimal.\n */\nexport interface NuanzeFundamentalsKeyData {\n /** Dividend yield, or null when unknown. */\n dividendYield: BigNumber | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Enterprise value, or null when unknown. */\n enterpriseValue: BigNumber | null;\n /** Shares outstanding, or null when unknown. */\n sharesOutstanding: BigNumber | null;\n /** Beta, or null when unknown. */\n beta: BigNumber | null;\n /** 52-week high, or null when unknown. */\n fiftyTwoWeekHigh: BigNumber | null;\n /** 52-week low, or null when unknown. */\n fiftyTwoWeekLow: BigNumber | null;\n /** Volume, or null when unknown. */\n volume: BigNumber | null;\n /** Average volume, or null when unknown. */\n averageVolume: BigNumber | null;\n /** Circulating supply, or null when unknown. */\n circulatingSupply: BigNumber | null;\n /** Total supply, or null when unknown. */\n totalSupply: BigNumber | null;\n /** Max supply, or null when unknown. */\n maxSupply: BigNumber | null;\n /** Fully diluted valuation, or null when unknown. */\n fullyDilutedValuation: BigNumber | null;\n /** All-time high, or null when unknown. */\n ath: BigNumber | null;\n /** All-time low, or null when unknown. */\n atl: BigNumber | null;\n /** 24-hour high, or null when unknown. */\n high24h: BigNumber | null;\n /** 24-hour low, or null when unknown. */\n low24h: BigNumber | null;\n}\n\n/**\n * Valuation ratios of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsValuation {\n /** Trailing P/E, or null when unknown. */\n trailingPE: BigNumber | null;\n /** Forward P/E, or null when unknown. */\n forwardPE: BigNumber | null;\n /** Price to book, or null when unknown. */\n priceToBook: BigNumber | null;\n /** Enterprise value to revenue, or null when unknown. */\n enterpriseToRevenue: BigNumber | null;\n /** Enterprise value to EBITDA, or null when unknown. */\n enterpriseToEbitda: BigNumber | null;\n /** Revenue, or null when unknown. */\n revenue: BigNumber | null;\n /** Profit margins, or null when unknown. */\n profitMargins: BigNumber | null;\n}\n\n/**\n * Performance returns of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsPerformance {\n /** One-month return, or null when unknown. */\n oneMonth: BigNumber | null;\n /** Three-month return, or null when unknown. */\n threeMonth: BigNumber | null;\n /** Year-to-date return, or null when unknown. */\n ytd: BigNumber | null;\n /** One-year return, or null when unknown. */\n oneYear: BigNumber | null;\n}\n\n/**\n * Social/link fields of a fundamentals projection. No decimals.\n */\nexport interface NuanzeFundamentalsSocial {\n /** Website URL, or null when unknown. */\n website: string | null;\n /** X/Twitter URL, or null when unknown. */\n x: string | null;\n /** LinkedIn URL, or null when unknown. */\n linkedin: string | null;\n}\n\n/**\n * Approved stock/token fundamentals projection. The entire value is null when no row exists.\n */\nexport interface NuanzeStockFundamentals {\n /** Product the projection belongs to. */\n productId: number;\n /** Provider, or null when unknown. */\n source: NuanzeFundamentalsSource | null;\n /** Quote type, or null when unknown. */\n quoteType: string | null;\n /** Quote currency, or null when unknown. */\n currency: string | null;\n /** Display name, or null when unknown. */\n name: string | null;\n /** Description, or null when unknown. */\n description: string | null;\n /** Sector, or null when unknown. */\n sector: string | null;\n /** Industry, or null when unknown. */\n industry: string | null;\n /** Website URL, or null when unknown. */\n website: string | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Market cap, or null when unknown. */\n marketCap: BigNumber | null;\n /** Nested key-data decimals. */\n keyData: NuanzeFundamentalsKeyData;\n /** Nested valuation decimals. */\n valuation: NuanzeFundamentalsValuation;\n /** Nested performance decimals. */\n performance: NuanzeFundamentalsPerformance;\n /** Nested social links. */\n social: NuanzeFundamentalsSocial;\n /** When the projection was last updated, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Per-component freshness timestamps on a resolved market detail.\n */\nexport interface NuanzeMarketComponentUpdatedAt {\n /** When market metadata was last synced. */\n market: string;\n /** When the latest ticker was last synced. */\n ticker: string;\n /** When funding was last observed, or null when absent. */\n funding: string | null;\n /** When fundamentals were last updated, or null when absent. */\n fundamentals: string | null;\n /** When related news was last updated, or null when absent. */\n news: string | null;\n}\n\n/**\n * Resolved market detail: list market fields plus venue resolution, funding, fundamentals, and\n * recent published news.\n */\nexport interface NuanzeMarketDetail extends NuanzeMarket {\n /** Primary product ID for the asset. */\n primaryProductId: number;\n /** Venues the asset currently lists on. */\n availableVenues: NuanzeMarketVenue[];\n /** Venue used when the request omitted one. */\n primaryVenue: NuanzeMarketVenue;\n /** Latest funding observation, or null for spot or when none exists. */\n funding: NuanzeFundingObservation | null;\n /** Fundamentals projection, or null when no row exists. */\n fundamentals: NuanzeStockFundamentals | null;\n /** Recent published stories, capped by `newsLimit`. */\n news: NuanzeNewsStory[];\n /** Mixed-source freshness timestamps. */\n componentUpdatedAt: NuanzeMarketComponentUpdatedAt;\n}\n\n/**\n * Per-subaccount row from `GET /wallets/leaderboard`. Untraded followed subaccounts are included\n * by default with null PnL/rank/name fields where unavailable, zero counts, and no products.\n */\nexport interface NuanzeFollowedLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the followed subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when the followed subaccount has not claimed one. */\n displayName: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null when the subaccount\n * has no data in the window.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank among all subaccounts by this timeframe's PnL (`1` = highest), or null when\n * the subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl`, or null when the subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Close-event trade extreme from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountCloseTrade {\n /** Fill ID of the closing fill. */\n tradeId: number;\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Close-event realized PnL of the fill. */\n realizedPnl: BigNumber;\n /** When the fill matched, as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Position-based long/short bias from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountLongShortBias {\n /** Share of qualifying current perp notional held long, 0-100. Null when flat. */\n longPct: BigNumber | null;\n /** Share of qualifying current perp notional held short, 0-100. Null when flat. */\n shortPct: BigNumber | null;\n /** Qualifying current long notional in USD. */\n longNotional: BigNumber;\n /** Qualifying current short notional in USD. */\n shortNotional: BigNumber;\n}\n\n/**\n * Most-traded perp market from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountMostTradedMarket {\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Perp fill count in the window. */\n trades: number;\n /** Windowed fill volume in USD. */\n volume: BigNumber;\n}\n\n/**\n * Public subaccount row from `GET /leaderboard/subaccounts`.\n */\nexport interface NuanzeSubaccountLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when unavailable. */\n displayName: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null for an untraded subaccount\n * returned when `includeUntraded` is enabled.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank across all subaccounts for the timeframe, independent of page filters, or null when the\n * subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl` (and as `windowVolume` on `GET /subaccounts/{subaccountHex}`), or null when the\n * subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Leaderboard row. PnL is equity-basis account PnL, not realized PnL.\n */\nexport interface NuanzeLeaderboardItem {\n /** Rank in the selected timeframe. */\n rank: number;\n /** Rank change versus the prior window, or null when unknown. */\n rankDelta: number | null;\n /** Lowercased wallet address. */\n address: string;\n /** Account PnL for the selected timeframe. */\n accountPnl: BigNumber;\n /** Rolling 24-hour account PnL, or null when uncovered. */\n pnl24h: BigNumber | null;\n /** 7-day account PnL, or null when uncovered. */\n pnl7d: BigNumber | null;\n /** 30-day account PnL, or null when uncovered. */\n pnl30d: BigNumber | null;\n /** All-time account PnL. */\n pnlAll: BigNumber;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n}\n\n/**\n * Prior-window percentage deltas on the platform summary.\n */\nexport interface NuanzePlatformDeltas {\n /** Volume change versus the prior equal window, or null when unavailable. */\n volumePct: BigNumber | null;\n /** Trade-count change versus the prior equal window, or null when unavailable. */\n tradesPct: BigNumber | null;\n /** Trader-count change versus the prior equal window, or null when unavailable. */\n tradersPct: BigNumber | null;\n}\n\n/**\n * Four-hourly sample of a wallet cohort's long percentage.\n */\nexport interface NuanzeCohortSeriesPoint {\n /** Sample time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Wallets in the cohort at the sample. */\n walletCount: number;\n /** Share of the cohort's open perp notional held long, 0-100, or null when it was flat. */\n longPct: BigNumber | null;\n}\n\n/**\n * Wallet cohort bucketed by lifetime equity-basis account PnL summed across the wallet's\n * subaccounts. Every wallet that has traded belongs to exactly one cohort.\n */\nexport interface NuanzeCohort {\n /** Cohort key. */\n key: NuanzeCohortKey;\n /** Display label. */\n label: string;\n /** Inclusive lower lifetime PnL bound, or null when unbounded. */\n pnlMin: BigNumber | null;\n /** Exclusive upper lifetime PnL bound, or null when unbounded. */\n pnlMax: BigNumber | null;\n /** Wallets in the cohort. */\n walletCount: number;\n /** Sum of the members' lifetime account PnL. */\n pnl: BigNumber;\n /** Mean lifetime account PnL per wallet, or null when the cohort is empty. */\n averagePnl: BigNumber | null;\n /** Members with lifetime account PnL above zero. */\n walletsInProfit: number;\n /** Members with lifetime account PnL at or below zero. */\n walletsInLoss: number;\n /** Lifetime fill count across the members. */\n trades: number;\n /** Members' current open perp notional held long. */\n longNotional: BigNumber;\n /** Members' current open perp notional held short. */\n shortNotional: BigNumber;\n /** Share of open perp notional held long, 0-100, or null when the cohort is flat. */\n longPct: BigNumber | null;\n /** Share of open perp notional held short, 0-100, or null when the cohort is flat. */\n shortPct: BigNumber | null;\n /** Long percentage every four hours over the last 30 days, oldest first. */\n series: NuanzeCohortSeriesPoint[];\n}\n\n/**\n * Replica-backed wallet position snapshot. Not an execution-grade live feed.\n */\nexport interface NuanzeWalletPosition {\n /** Subaccount that owns the row. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Whether the row is a spot balance. */\n isSpot: boolean;\n /** Signed position size. */\n amount: BigNumber;\n /** Oracle price at snapshot time. */\n oraclePrice: BigNumber;\n /** Absolute notional. */\n notional: BigNumber;\n /** Unrealized PnL. */\n unrealizedPnl: BigNumber;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * Taker-side market tape row. Wallet identity is absent.\n */\nexport interface NuanzeMarketTrade {\n /** Match row ID. */\n id: number;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Aggressor side. */\n side: NuanzeTradeSide;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Open perpetual position leg for a resolved market. Wallet addresses are returned.\n */\nexport interface NuanzeMarketPosition {\n /** Lowercased owner address. */\n subaccountOwner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Claimed username, or null when the subaccount has no synced identity or none claimed. */\n username: string | null;\n /** Display name, or null when the subaccount has no synced identity or none set. */\n displayName: string | null;\n /** Venue-native symbol. */\n symbol: string;\n /** Margin mode. Isolated margin is isolated equity and is null when non-positive. */\n marginKind: NuanzeMarginKind;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Signed exact base amount. Positive is long and negative is short. */\n amount: BigNumber;\n /** Absolute notional. Legs below $10 are excluded by the API. */\n notional: BigNumber;\n /** Unrealized PnL. */\n upnl: BigNumber;\n /**\n * Cross: market implied initial requirement. Isolated: isolated equity, or null when\n * non-positive or unavailable.\n */\n margin: BigNumber | null;\n /** Entry price, or null when unavailable. */\n entryPrice: BigNumber | null;\n /**\n * Effective isolated leverage computed from unrounded notional and isolated equity.\n * Null for cross positions or when isolated equity is unavailable.\n */\n leverage: BigNumber | null;\n}\n\n/**\n * Current open perpetual position leg in the global signed-unrealized-PnL ranking.\n */\nexport interface NuanzeOpenPosition extends NuanzeMarketPosition {\n /** Public product ID for this row's market. */\n productId: number;\n /** Canonical market ticker. */\n ticker: string;\n /** Global open positions contain perpetuals only. */\n venue: 'perp';\n /** Source snapshot time for this position leg, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * OHLCV candle. Missing source bars are not interpolated. A current bucket has `complete=false`.\n */\nexport interface NuanzeCandle {\n /** Bar open time as a UTC ISO 8601 string. */\n openTime: string;\n /** Open price. */\n open: BigNumber;\n /** High price. */\n high: BigNumber;\n /** Low price. */\n low: BigNumber;\n /** Close price. */\n close: BigNumber;\n /** Traded volume. */\n volume: BigNumber;\n /** False when the bar is still accumulating. */\n complete: boolean;\n}\n\n/**\n * Wallet-owned execution row. Unlike market tape, both maker and taker fills are included.\n */\nexport interface NuanzeWalletTrade {\n /** Match row ID. */\n id: number;\n /** Subaccount that filled. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Side of this wallet's fill. */\n side: NuanzeTradeSide;\n /** Whether this wallet was the maker. */\n isMaker: boolean;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Sampled wallet series point. Synthetic points are the boundary anchor or carried-forward tip.\n */\nexport interface NuanzeSeriesPoint {\n /** Point time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Metric value, or null when the bucket has no observation. */\n value: BigNumber | null;\n /** True when the point is a synthetic anchor or tip. */\n synthetic: boolean;\n /** True when the latest bucket is still provisional. */\n provisional: boolean;\n}\n\n/**\n * Public tags on a collateral event. No identity beyond the event's own owner.\n */\nexport interface NuanzeFlowTags {\n /** Whether the owner is tagged as a whale. */\n whale: boolean;\n /** Whether the owner is tagged as smart money. */\n smartMoney: boolean;\n /** Whether the owner is tagged as a fresh wallet. */\n freshWallet: boolean;\n}\n\n/**\n * Public on-chain collateral event. Product 0 and 11 may use fallback symbols.\n */\nexport interface NuanzeCollateralFlow {\n /** Event ID. */\n id: number;\n /** Deposit or withdrawal. */\n eventType: NuanzeFlowEventType;\n /** Public product ID. */\n productId: number;\n /** Asset symbol. */\n symbol: string;\n /** Exact asset amount. */\n assetAmount: BigNumber;\n /** Oracle price at event time, or null when unvalued. */\n oraclePrice: BigNumber | null;\n /** USD valuation, or null when unvalued. */\n usdValue: BigNumber | null;\n /** Lowercased owner address. */\n owner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Event time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Public tags. */\n tags: NuanzeFlowTags;\n}\n\n/**\n * UTC-bucketed collateral flow point.\n */\nexport interface NuanzeCollateralFlowPoint {\n /** Bucket start as a UTC ISO 8601 string. */\n timestamp: string;\n /** Deposited USD in the bucket. */\n deposited: BigNumber;\n /** Withdrawn USD in the bucket. */\n withdrawn: BigNumber;\n /** Net USD in the bucket. */\n net: BigNumber;\n /** Cumulative net USD through this bucket. */\n cumulativeNet: BigNumber;\n /** Event count. */\n eventCount: number;\n /** Count of valued events. */\n valuedCount: number;\n /** Count of unvalued events. */\n unvaluedCount: number;\n}\n\n/**\n * Aggregate long/short totals for a positioning response. All reversible fields are null when any\n * contributing cell required by the grouping is suppressed.\n */\nexport interface NuanzePositioningTotals {\n /** Long position count at the owner/subaccount grain, or null if suppressed. */\n longPositions: number | null;\n /** Short position count at the owner/subaccount grain, or null if suppressed. */\n shortPositions: number | null;\n /** Distinct long owners, or null if suppressed. */\n longOwners: number | null;\n /** Distinct short owners, or null if suppressed. */\n shortOwners: number | null;\n /** Owners netted flat, or null if suppressed. */\n netFlatOwners: number | null;\n /** Long notional, or null if suppressed. */\n longNotional: BigNumber | null;\n /** Short notional, or null if suppressed. */\n shortNotional: BigNumber | null;\n /** Long share of positions, or null if suppressed. */\n longPositionPct: BigNumber | null;\n /** Short share of positions, or null if suppressed. */\n shortPositionPct: BigNumber | null;\n /** Long/short ratio, or null if suppressed. */\n longShortRatio: BigNumber | null;\n}\n\n/**\n * Shared fields of a privacy-preserving positioning cell. For a suppressed cell every reversible\n * value is null; only the label, key, suppressed flag, and threshold remain.\n */\nexport interface NuanzePositioningCellBase {\n /** Display label. */\n label: string;\n /** Side this cell describes, or null when the grouping is not by side. */\n side: NuanzePositionSide | null;\n /** True when complementary or cross-request suppression nulls reversible metrics. */\n suppressed: boolean;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Position count, or null if suppressed. */\n positions: number | null;\n /** Distinct contributing owners, or null if suppressed. */\n owners: number | null;\n /** Cell notional, or null if suppressed. */\n notional: BigNumber | null;\n /** Average notional, or null if suppressed. */\n averageNotional: BigNumber | null;\n /** Share of the grouping, or null if suppressed. */\n percentage: BigNumber | null;\n}\n\n/**\n * Positioning cell grouped by side.\n */\nexport interface NuanzeSidePositioningCell extends NuanzePositioningCellBase {\n /** Side key. */\n key: NuanzePositionSide;\n}\n\n/**\n * Positioning cell grouped by wallet cohort.\n */\nexport interface NuanzeCohortPositioningCell extends NuanzePositioningCellBase {\n /** Cohort key. */\n key: NuanzeCohortKey;\n}\n\n/**\n * Positioning cell grouped by frozen USD notional bucket. Empty buckets are omitted rather than\n * returned with zeros.\n */\nexport interface NuanzeNotionalBucketPositioningCell extends NuanzePositioningCellBase {\n /** Notional-bucket key. */\n key: NuanzeNotionalBucket;\n}\n\n/**\n * Shared fields of every positioning response. Identity, entry price, PnL, margin, and leverage\n * are never returned.\n */\nexport interface NuanzeMarketPositioningBase extends NuanzeMarketIdentity {\n /** Effective inclusion threshold after request validation. */\n effectiveMinPositionUsd: NuanzeMinPositionUsd;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Grouping totals; reversible fields are null when any required cell is suppressed. */\n totals: NuanzePositioningTotals;\n /** Newest contributing snapshot, or null when none. */\n newestSnapshotAt: string | null;\n /** Oldest contributing snapshot, or null when none. */\n oldestSnapshotAt: string | null;\n /** When the response was generated, as a UTC ISO 8601 string. */\n asOf: string;\n}\n\n/**\n * Positioning grouped by side. Always two cells, long then short.\n */\nexport interface NuanzeMarketPositioningSideResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'side';\n /** Long and short cells. */\n cells: NuanzeSidePositioningCell[];\n}\n\n/**\n * Positioning grouped by wallet cohort.\n */\nexport interface NuanzeMarketPositioningCohortResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'cohort';\n /** Cohort cells. */\n cells: NuanzeCohortPositioningCell[];\n}\n\n/**\n * Positioning grouped by notional bucket.\n */\nexport interface NuanzeMarketPositioningNotionalBucketResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'notionalBucket';\n /** Notional-bucket cells. Empty buckets omitted. */\n cells: NuanzeNotionalBucketPositioningCell[];\n}\n"],"mappings":";;;;;AAMA,MAAa,uBAAuB,CAAC,QAAQ,MAAM;;;;;AAWnD,MAAa,iCAAiC;CAC5C;CACA;CACA;CACA;CACA;AACF;;;;AAYA,MAAa,yBAAyB;CACpC;CACA;CACA;AACF;;;;AAUA,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,oBAAoB;CAAC;CAAQ;CAAM;AAAQ;;;;;AAWxD,MAAa,2BAA2B,CAAC,WAAW,aAAa;;;;AAUjE,MAAa,qBAAqB;CAAC;CAAO;CAAM;CAAO;CAAO;AAAK;;;;AAUnE,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B;CAAC;CAAM;CAAO;AAAK;;;;AAU1D,MAAa,yBAAyB;CAAC;CAAO;CAAM;CAAO;AAAK;;;;AAUhE,MAAa,iCAAiC;CAC5C;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B,CAAC,WAAW,YAAY;;;;AAU/D,MAAa,sBAAsB,CAAC,QAAQ,KAAK;;;;AAWjD,MAAa,0BAA0B;CAAC;CAAM;CAAM;AAAI;;;;AAUxD,MAAa,wBAAwB;CAAC;CAAO;CAAU;AAAQ;;;;AAU/D,MAAa,mBAAmB,CAAC,YAAY,SAAS;;;;AAUtD,MAAa,wBAAwB,CAAC,QAAQ,OAAO;;;;AAUrD,MAAa,qBAAqB,CAAC,OAAO,MAAM;;;;AAUhD,MAAa,sBAAsB,CAAC,SAAS,UAAU;;;;AAUvD,MAAa,kCAAkC;CAC7C;CACA;CACA;AACF;;;;AAYA,MAAa,yCAAyC,CAAC,OAAO,MAAM;;;;AAWpE,MAAa,uCACX;;;;AAWF,MAAa,+BAA+B;CAC1C;CACA;CACA;AACF;;;;AAWA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;AACF;;;;;AAWA,MAAa,sBAAsB;CAAC;CAAG;CAAG;CAAG;CAAG;AAAC;;;;;AAWjD,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,8BAA8B,CAAC,SAAS,WAAW;;;;AAWhE,MAAa,0BAA0B;CAAC;CAAQ;CAAO;AAAO"}
1
+ {"version":3,"file":"clientModelTypes.js","names":[],"sources":["../../src/types/clientModelTypes.ts"],"sourcesContent":["import BigNumber from 'bignumber.js';\n\n/**\n * Every {@link NuanzeMarketVenue} the API can report, for callers that need the values at runtime\n * (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_VENUES = ['perp', 'spot'] as const;\n\n/**\n * Venue a market is listed on. Perpetuals use even product IDs, spot markets odd ones.\n */\nexport type NuanzeMarketVenue = (typeof NUANZE_MARKET_VENUES)[number];\n\n/**\n * Every {@link NuanzeMarketTradingStatus} the API can report, for callers that need the values at\n * runtime (validation, filters, UI enumeration).\n */\nexport const NUANZE_MARKET_TRADING_STATUSES = [\n 'live',\n 'notTradable',\n 'reduceOnly',\n 'postOnly',\n 'softReduceOnly',\n] as const;\n\n/**\n * Normalized tradability state of a market. The API camelCases the engine's snake_case source values,\n * so `not_tradable` arrives as `notTradable`.\n */\nexport type NuanzeMarketTradingStatus =\n (typeof NUANZE_MARKET_TRADING_STATUSES)[number];\n\n/**\n * Every {@link NuanzeNewsSentiment} the API can report.\n */\nexport const NUANZE_NEWS_SENTIMENTS = [\n 'bearish',\n 'bullish',\n 'neutral',\n] as const;\n\n/**\n * Editorial sentiment of a published news story.\n */\nexport type NuanzeNewsSentiment = (typeof NUANZE_NEWS_SENTIMENTS)[number];\n\n/**\n * Every {@link NuanzeNewsEventType} the API can report.\n */\nexport const NUANZE_NEWS_EVENT_TYPES = [\n 'earnings',\n 'guidance',\n 'ma',\n 'regulatory',\n 'product',\n 'analyst',\n 'macro',\n 'personnel',\n 'legal',\n 'other',\n] as const;\n\n/**\n * Editorial event classification of a published news story.\n */\nexport type NuanzeNewsEventType = (typeof NUANZE_NEWS_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeNewsTier} the API can report.\n */\nexport const NUANZE_NEWS_TIERS = ['core', 'us', 'global'] as const;\n\n/**\n * Geographic/priority tier of a published news story, or null when unassigned.\n */\nexport type NuanzeNewsTier = (typeof NUANZE_NEWS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNewsEntityRole} the API can report. Values are the wire strings; `read_across`\n * is not camelCased.\n */\nexport const NUANZE_NEWS_ENTITY_ROLES = ['subject', 'read_across'] as const;\n\n/**\n * Role of a market entity on a news story.\n */\nexport type NuanzeNewsEntityRole = (typeof NUANZE_NEWS_ENTITY_ROLES)[number];\n\n/**\n * Every {@link NuanzePnlWindow} the API can report.\n */\nexport const NUANZE_PNL_WINDOWS = ['24h', '7d', '30d', '90d', 'all'] as const;\n\n/**\n * Account PnL lookback window.\n */\nexport type NuanzePnlWindow = (typeof NUANZE_PNL_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeLeaderboardTimeframe} the API can report.\n */\nexport const NUANZE_LEADERBOARD_TIMEFRAMES = [\n '24h',\n '7d',\n '30d',\n 'all',\n] as const;\n\n/**\n * Leaderboard ranking window.\n */\nexport type NuanzeLeaderboardTimeframe =\n (typeof NUANZE_LEADERBOARD_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzePlatformWindow} the API can report.\n */\nexport const NUANZE_PLATFORM_WINDOWS = ['7d', '30d', '90d'] as const;\n\n/**\n * Selected comparison window for platform activity aggregates.\n */\nexport type NuanzePlatformWindow = (typeof NUANZE_PLATFORM_WINDOWS)[number];\n\n/**\n * Every {@link NuanzeFlowTimeframe} the API can report.\n */\nexport const NUANZE_FLOW_TIMEFRAMES = ['24h', '7d', '30d', 'all'] as const;\n\n/**\n * Collateral-flow lookback window.\n */\nexport type NuanzeFlowTimeframe = (typeof NUANZE_FLOW_TIMEFRAMES)[number];\n\n/**\n * Every {@link NuanzeFlowEventTypeFilter} the API accepts as a query filter.\n */\nexport const NUANZE_FLOW_EVENT_TYPE_FILTERS = [\n 'all',\n 'deposit',\n 'withdrawal',\n] as const;\n\n/**\n * Collateral event type filter. `all` includes both deposits and withdrawals.\n */\nexport type NuanzeFlowEventTypeFilter =\n (typeof NUANZE_FLOW_EVENT_TYPE_FILTERS)[number];\n\n/**\n * Every {@link NuanzeFlowEventType} a collateral event can have.\n */\nexport const NUANZE_FLOW_EVENT_TYPES = ['deposit', 'withdrawal'] as const;\n\n/**\n * On-chain collateral event kind.\n */\nexport type NuanzeFlowEventType = (typeof NUANZE_FLOW_EVENT_TYPES)[number];\n\n/**\n * Every {@link NuanzeFlowBucket} the API can report.\n */\nexport const NUANZE_FLOW_BUCKETS = ['hour', 'day'] as const;\n\n/**\n * UTC bucket size for collateral flow series. Allowed pairs are 24h/hour, 7d/hour or day\n * (default hour), 30d/day, and all/day.\n */\nexport type NuanzeFlowBucket = (typeof NUANZE_FLOW_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeCandleInterval} the API can report.\n */\nexport const NUANZE_CANDLE_INTERVALS = ['1h', '4h', '1d'] as const;\n\n/**\n * Candle bar interval. Source storage is 1h; 4h and 1d are UTC-aligned rollups.\n */\nexport type NuanzeCandleInterval = (typeof NUANZE_CANDLE_INTERVALS)[number];\n\n/**\n * Every {@link NuanzeSeriesMetric} the API can report.\n */\nexport const NUANZE_SERIES_METRICS = ['pnl', 'equity', 'volume'] as const;\n\n/**\n * Wallet series metric.\n */\nexport type NuanzeSeriesMetric = (typeof NUANZE_SERIES_METRICS)[number];\n\n/**\n * Every {@link NuanzeCoverage} the API can report.\n */\nexport const NUANZE_COVERAGES = ['complete', 'partial'] as const;\n\n/**\n * Whether a snapshot or window has full historical coverage.\n */\nexport type NuanzeCoverage = (typeof NUANZE_COVERAGES)[number];\n\n/**\n * Every {@link NuanzePositionSide} the API can report.\n */\nexport const NUANZE_POSITION_SIDES = ['long', 'short'] as const;\n\n/**\n * Direction of an open position.\n */\nexport type NuanzePositionSide = (typeof NUANZE_POSITION_SIDES)[number];\n\n/**\n * Every {@link NuanzeTradeSide} the API can report.\n */\nexport const NUANZE_TRADE_SIDES = ['buy', 'sell'] as const;\n\n/**\n * Aggressor side of a match.\n */\nexport type NuanzeTradeSide = (typeof NUANZE_TRADE_SIDES)[number];\n\n/**\n * Every {@link NuanzeMarginKind} the API can report.\n */\nexport const NUANZE_MARGIN_KINDS = ['cross', 'isolated'] as const;\n\n/**\n * Margin mode of a perpetual position leg.\n */\nexport type NuanzeMarginKind = (typeof NUANZE_MARGIN_KINDS)[number];\n\n/**\n * Every field accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_BYS = [\n 'notional',\n 'pnl',\n 'amount',\n] as const;\n\n/**\n * Primary field used to order market positions. Notional and amount are compared by absolute value;\n * PnL remains signed.\n */\nexport type NuanzeMarketPositionSortBy =\n (typeof NUANZE_MARKET_POSITION_SORT_BYS)[number];\n\n/**\n * Every direction accepted for ordering market positions.\n */\nexport const NUANZE_MARKET_POSITION_SORT_DIRECTIONS = ['asc', 'desc'] as const;\n\n/**\n * Direction used to order market positions.\n */\nexport type NuanzeMarketPositionSortDirection =\n (typeof NUANZE_MARKET_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every direction accepted for globally ranked open positions.\n */\nexport const NUANZE_OPEN_POSITION_SORT_DIRECTIONS =\n NUANZE_MARKET_POSITION_SORT_DIRECTIONS;\n\n/**\n * Signed unrealized-PnL ordering direction for globally ranked open positions.\n */\nexport type NuanzeOpenPositionSortDirection =\n (typeof NUANZE_OPEN_POSITION_SORT_DIRECTIONS)[number];\n\n/**\n * Every {@link NuanzePositioningGroupBy} the API can report.\n */\nexport const NUANZE_POSITIONING_GROUP_BYS = [\n 'side',\n 'cohort',\n 'notionalBucket',\n] as const;\n\n/**\n * Positioning cell grouping.\n */\nexport type NuanzePositioningGroupBy =\n (typeof NUANZE_POSITIONING_GROUP_BYS)[number];\n\n/**\n * Every {@link NuanzeMinPositionUsd} the API accepts. Values are USD threshold strings, not numbers.\n */\nexport const NUANZE_MIN_POSITION_USDS = [\n '10',\n '100',\n '1000',\n '10000',\n '100000',\n] as const;\n\n/**\n * Fixed USD inclusion threshold. Qualification is strictly `abs(netNotional) > minPositionUsd`.\n */\nexport type NuanzeMinPositionUsd = (typeof NUANZE_MIN_POSITION_USDS)[number];\n\n/**\n * Every {@link NuanzeCohortKey} the API can report. Values are the wire strings.\n */\nexport const NUANZE_COHORT_KEYS = [\n 'extremely_profitable',\n 'very_profitable',\n 'profitable',\n 'unprofitable',\n 'very_unprofitable',\n 'rekt',\n] as const;\n\n/**\n * Lifetime account PnL wallet cohort, used by positioning cells and `GET /cohorts`.\n */\nexport type NuanzeCohortKey = (typeof NUANZE_COHORT_KEYS)[number];\n\n/**\n * Every {@link NuanzePointsTier} the API can report: 1 Breeze, 2 Gust, 3 Wind, 4 Storm, and\n * 5 Tornado.\n */\nexport const NUANZE_POINTS_TIERS = [1, 2, 3, 4, 5] as const;\n\n/**\n * Nado Points tier, from 1 Breeze to 5 Tornado.\n */\nexport type NuanzePointsTier = (typeof NUANZE_POINTS_TIERS)[number];\n\n/**\n * Every {@link NuanzeNotionalBucket} the API can report. Frozen USD ranges are small [10, 1000),\n * medium [1000, 10000), large [10000, 100000), and whale [100000, +infinity).\n */\nexport const NUANZE_NOTIONAL_BUCKETS = [\n 'small',\n 'medium',\n 'large',\n 'whale',\n] as const;\n\n/**\n * Notional-bucket key used by positioning cells.\n */\nexport type NuanzeNotionalBucket = (typeof NUANZE_NOTIONAL_BUCKETS)[number];\n\n/**\n * Every {@link NuanzeFundamentalsSource} the API can report.\n */\nexport const NUANZE_FUNDAMENTALS_SOURCES = ['yahoo', 'coingecko'] as const;\n\n/**\n * Provider that populated a fundamentals projection.\n */\nexport type NuanzeFundamentalsSource =\n (typeof NUANZE_FUNDAMENTALS_SOURCES)[number];\n\n/**\n * Every {@link NuanzeSourceInterval} the API can report.\n */\nexport const NUANZE_SOURCE_INTERVALS = ['hour', 'day', 'mixed'] as const;\n\n/**\n * Snapshot grain used for a wallet PnL window or series.\n */\nexport type NuanzeSourceInterval = (typeof NUANZE_SOURCE_INTERVALS)[number];\n\n/**\n * Canonical market identity shared by market-derived objects. `productId` is unambiguous; ticker\n * is a case-insensitive display lookup.\n */\nexport interface NuanzeMarketIdentity {\n /** Public product ID. Perpetuals are even, spot markets odd. */\n productId: number;\n /** Venue-native symbol, for example `ETH-PERP`. */\n symbol: string;\n /** Canonical ticker, for example `ETH`. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n}\n\n/**\n * Latest price snapshot for a market. Every field is null until the first snapshot for that market\n * lands; prices refresh about every minute.\n */\nexport interface NuanzeLatestTicker {\n /** Mid price, or null when no quote is available. */\n midPrice: BigNumber | null;\n /** Best bid, or null when no quote is available. */\n bidPrice: BigNumber | null;\n /** Best ask, or null when no quote is available. */\n askPrice: BigNumber | null;\n /** Rolling 24-hour traded volume, or null when unknown. */\n volume24h: BigNumber | null;\n /** Open interest, or null when unknown. */\n openInterest: BigNumber | null;\n /** Rolling 24-hour price change in percent, or null when unknown. */\n priceChange24hPct: BigNumber | null;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * A market listed on Nado, as served by Nuanze. Timestamps stay UTC ISO 8601 strings rather than\n * `Date`, matching the API contract.\n */\nexport interface NuanzeMarket extends NuanzeMarketIdentity {\n /** Normalized tradability state. */\n tradingStatus: NuanzeMarketTradingStatus;\n /** Minimum price step. */\n priceIncrement: BigNumber;\n /** Minimum size step. */\n sizeIncrement: BigNumber;\n /** Minimum order size. */\n minSize: BigNumber;\n /** Latest price snapshot, or null when none exists yet. */\n latest: NuanzeLatestTicker | null;\n /**\n * Signed perp trader-positioning skew, or null when unavailable. Spot markets always return\n * null.\n *\n * Of the qualifying open perpetual positions in this market, what share is long versus short?\n * Each qualifying owner/subaccount position counts as one, regardless of size. `0.5` means 75%\n * of those positions are long and 25% are short: `(long - short) / (long + short)`. Convert\n * with `longPct = (1 + skew) / 2`. It is not the long share of open interest, capital, or\n * volume — market-wide long and short notional are approximately equal by construction.\n *\n * Classification uses current account-snapshot rows at the owner/subaccount grain. Cross and\n * isolated legs on the same subaccount are one position; subaccounts of the same wallet are\n * not netted, so a hedge is counted on both sides. A row qualifies when `abs(notional) > $10`\n * (equality is excluded). Dust and flat rows drop out of that filter, so there is no separate\n * wallet-level net-flat pass.\n *\n * The value is a current-state snapshot with typical indexer latency of up to about one hour,\n * not a 24-hour or historical series. It does not consolidate sybil wallets or unique people,\n * and it is descriptive context rather than a trading signal.\n */\n skew: BigNumber | null;\n /**\n * When {@link NuanzeMarket.skew} was last calculated from the hourly account-snapshot pass, as\n * a UTC ISO 8601 string, or null when skew is unavailable.\n */\n skewUpdatedAt: string | null;\n /** When market metadata was last synced, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Latest funding observation for a perpetual.\n */\nexport interface NuanzeFundingObservation {\n /** Instantaneous funding rate. */\n rate: BigNumber;\n /** Annualized funding rate. */\n annualizedRate: BigNumber;\n /** When the observation was taken, as a UTC ISO 8601 string. */\n observedAt: string;\n}\n\n/**\n * Latest funding rate for an active perpetual market.\n */\nexport interface NuanzeFundingRate\n extends NuanzeMarketIdentity, NuanzeFundingObservation {}\n\n/**\n * Market entity referenced by a published news story. No decimals.\n */\nexport interface NuanzeNewsEntity {\n /** Stable entity key. */\n key: string;\n /** Display name. */\n name: string;\n /** Whether the entity is the story subject or a read-across market. */\n role: NuanzeNewsEntityRole;\n /** Linked product ID, or null when the entity is not a listed market. */\n productId: number | null;\n}\n\n/**\n * Published editorial story. Raw ingestion, scoring, queue, and newsdesk fields are excluded.\n */\nexport interface NuanzeNewsStory {\n /** Story ID. */\n id: string;\n /** Short headline, or null when unpublished as a headline. */\n headline: string | null;\n /** Story title. */\n title: string;\n /** Short blurb, or null when absent. */\n blurb: string | null;\n /** Canonical story URL. */\n url: string;\n /** Publisher name, or null when unknown. */\n publisher: string | null;\n /** Publication time as a UTC ISO 8601 string, or null when unscheduled. */\n publishedAt: string | null;\n /** Thumbnail URL, or null when absent. */\n thumbnailUrl: string | null;\n /** Event classification, or null when unassigned. */\n eventType: NuanzeNewsEventType | null;\n /** Editorial sentiment. */\n sentiment: NuanzeNewsSentiment;\n /** Geographic/priority tier, or null when unassigned. */\n tier: NuanzeNewsTier | null;\n /** Number of contributing sources. */\n sourceCount: number;\n /** Public entity references only. */\n entities: NuanzeNewsEntity[];\n}\n\n/**\n * Nested key-data block of a fundamentals projection. Employee count stays an integer; every other\n * numeric field is a decimal.\n */\nexport interface NuanzeFundamentalsKeyData {\n /** Dividend yield, or null when unknown. */\n dividendYield: BigNumber | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Enterprise value, or null when unknown. */\n enterpriseValue: BigNumber | null;\n /** Shares outstanding, or null when unknown. */\n sharesOutstanding: BigNumber | null;\n /** Beta, or null when unknown. */\n beta: BigNumber | null;\n /** 52-week high, or null when unknown. */\n fiftyTwoWeekHigh: BigNumber | null;\n /** 52-week low, or null when unknown. */\n fiftyTwoWeekLow: BigNumber | null;\n /** Volume, or null when unknown. */\n volume: BigNumber | null;\n /** Average volume, or null when unknown. */\n averageVolume: BigNumber | null;\n /** Circulating supply, or null when unknown. */\n circulatingSupply: BigNumber | null;\n /** Total supply, or null when unknown. */\n totalSupply: BigNumber | null;\n /** Max supply, or null when unknown. */\n maxSupply: BigNumber | null;\n /** Fully diluted valuation, or null when unknown. */\n fullyDilutedValuation: BigNumber | null;\n /** All-time high, or null when unknown. */\n ath: BigNumber | null;\n /** All-time low, or null when unknown. */\n atl: BigNumber | null;\n /** 24-hour high, or null when unknown. */\n high24h: BigNumber | null;\n /** 24-hour low, or null when unknown. */\n low24h: BigNumber | null;\n}\n\n/**\n * Valuation ratios of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsValuation {\n /** Trailing P/E, or null when unknown. */\n trailingPE: BigNumber | null;\n /** Forward P/E, or null when unknown. */\n forwardPE: BigNumber | null;\n /** Price to book, or null when unknown. */\n priceToBook: BigNumber | null;\n /** Enterprise value to revenue, or null when unknown. */\n enterpriseToRevenue: BigNumber | null;\n /** Enterprise value to EBITDA, or null when unknown. */\n enterpriseToEbitda: BigNumber | null;\n /** Revenue, or null when unknown. */\n revenue: BigNumber | null;\n /** Profit margins, or null when unknown. */\n profitMargins: BigNumber | null;\n}\n\n/**\n * Performance returns of a fundamentals projection.\n */\nexport interface NuanzeFundamentalsPerformance {\n /** One-month return, or null when unknown. */\n oneMonth: BigNumber | null;\n /** Three-month return, or null when unknown. */\n threeMonth: BigNumber | null;\n /** Year-to-date return, or null when unknown. */\n ytd: BigNumber | null;\n /** One-year return, or null when unknown. */\n oneYear: BigNumber | null;\n}\n\n/**\n * Social/link fields of a fundamentals projection. No decimals.\n */\nexport interface NuanzeFundamentalsSocial {\n /** Website URL, or null when unknown. */\n website: string | null;\n /** X/Twitter URL, or null when unknown. */\n x: string | null;\n /** LinkedIn URL, or null when unknown. */\n linkedin: string | null;\n}\n\n/**\n * Approved stock/token fundamentals projection. The entire value is null when no row exists.\n */\nexport interface NuanzeStockFundamentals {\n /** Product the projection belongs to. */\n productId: number;\n /** Provider, or null when unknown. */\n source: NuanzeFundamentalsSource | null;\n /** Quote type, or null when unknown. */\n quoteType: string | null;\n /** Quote currency, or null when unknown. */\n currency: string | null;\n /** Display name, or null when unknown. */\n name: string | null;\n /** Description, or null when unknown. */\n description: string | null;\n /** Sector, or null when unknown. */\n sector: string | null;\n /** Industry, or null when unknown. */\n industry: string | null;\n /** Website URL, or null when unknown. */\n website: string | null;\n /** Employee count, or null when unknown. */\n employees: number | null;\n /** Market cap, or null when unknown. */\n marketCap: BigNumber | null;\n /** Nested key-data decimals. */\n keyData: NuanzeFundamentalsKeyData;\n /** Nested valuation decimals. */\n valuation: NuanzeFundamentalsValuation;\n /** Nested performance decimals. */\n performance: NuanzeFundamentalsPerformance;\n /** Nested social links. */\n social: NuanzeFundamentalsSocial;\n /** When the projection was last updated, as a UTC ISO 8601 string. */\n updatedAt: string;\n}\n\n/**\n * Per-component freshness timestamps on a resolved market detail.\n */\nexport interface NuanzeMarketComponentUpdatedAt {\n /** When market metadata was last synced. */\n market: string;\n /** When the latest ticker was last synced. */\n ticker: string;\n /** When funding was last observed, or null when absent. */\n funding: string | null;\n /** When fundamentals were last updated, or null when absent. */\n fundamentals: string | null;\n /** When related news was last updated, or null when absent. */\n news: string | null;\n}\n\n/**\n * Resolved market detail: list market fields plus venue resolution, funding, fundamentals, and\n * recent published news.\n */\nexport interface NuanzeMarketDetail extends NuanzeMarket {\n /** Primary product ID for the asset. */\n primaryProductId: number;\n /** Venues the asset currently lists on. */\n availableVenues: NuanzeMarketVenue[];\n /** Venue used when the request omitted one. */\n primaryVenue: NuanzeMarketVenue;\n /** Latest funding observation, or null for spot or when none exists. */\n funding: NuanzeFundingObservation | null;\n /** Fundamentals projection, or null when no row exists. */\n fundamentals: NuanzeStockFundamentals | null;\n /** Recent published stories, capped by `newsLimit`. */\n news: NuanzeNewsStory[];\n /** Mixed-source freshness timestamps. */\n componentUpdatedAt: NuanzeMarketComponentUpdatedAt;\n}\n\n/**\n * Per-subaccount row from `GET /wallets/leaderboard`. Untraded followed subaccounts are included\n * by default with null PnL/rank/name fields where unavailable, zero counts, and no products.\n */\nexport interface NuanzeFollowedLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the followed subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when the followed subaccount has not claimed one. */\n displayName: string | null;\n /** Avatar image URL, or null when the followed subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null when the subaccount\n * has no data in the window.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank among all subaccounts by this timeframe's PnL (`1` = highest), or null when\n * the subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl`, or null when the subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Close-event trade extreme from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountCloseTrade {\n /** Fill ID of the closing fill. */\n tradeId: number;\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Close-event realized PnL of the fill. */\n realizedPnl: BigNumber;\n /** When the fill matched, as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Position-based long/short bias from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountLongShortBias {\n /** Share of qualifying current perp notional held long, 0-100. Null when flat. */\n longPct: BigNumber | null;\n /** Share of qualifying current perp notional held short, 0-100. Null when flat. */\n shortPct: BigNumber | null;\n /** Qualifying current long notional in USD. */\n longNotional: BigNumber;\n /** Qualifying current short notional in USD. */\n shortNotional: BigNumber;\n}\n\n/**\n * Most-traded perp market from `GET /subaccounts/{subaccountHex}`.\n */\nexport interface NuanzeSubaccountMostTradedMarket {\n /** Perp product ID. */\n productId: number;\n /** Asset ticker, e.g. `ETH`. */\n ticker: string;\n /** Perp fill count in the window. */\n trades: number;\n /** Windowed fill volume in USD. */\n volume: BigNumber;\n}\n\n/**\n * Public subaccount row from `GET /leaderboard/subaccounts`.\n */\nexport interface NuanzeSubaccountLeaderboardItem {\n /**\n * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.\n */\n subaccountHex: string;\n /** Canonical username, or null when the subaccount has not claimed one. */\n username: string | null;\n /** User-facing display name, or null when unavailable. */\n displayName: string | null;\n /** Avatar image URL, or null when the subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /**\n * Equity-basis account PnL for the requested timeframe, or null for an untraded subaccount\n * returned when `includeUntraded` is enabled.\n */\n pnl: BigNumber | null;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Perp fill count in the window. */\n trades: number;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n /**\n * Rank across all subaccounts for the timeframe, independent of page filters, or null when the\n * subaccount has no PnL in the window.\n */\n globalRank: number | null;\n /**\n * Perp plus spot volume in the timeframe, from the same account snapshots and window bounds as\n * `pnl` (and as `windowVolume` on `GET /subaccounts/{subaccountHex}`), or null when the\n * subaccount has no account snapshot at the window's grain.\n */\n volume: BigNumber | null;\n /**\n * Owner wallet's Nado Points tier in the latest completed weekly epoch (the tier Nado shows as\n * current), shared by every subaccount of the owner and refreshed daily. Null when the owner\n * has no points record for that epoch.\n */\n pointsTier: NuanzePointsTier | null;\n}\n\n/**\n * Leaderboard row. PnL is equity-basis account PnL, not realized PnL.\n */\nexport interface NuanzeLeaderboardItem {\n /** Rank in the selected timeframe. */\n rank: number;\n /** Rank change versus the prior window, or null when unknown. */\n rankDelta: number | null;\n /** Lowercased wallet address. */\n address: string;\n /** Account PnL for the selected timeframe. */\n accountPnl: BigNumber;\n /** Rolling 24-hour account PnL, or null when uncovered. */\n pnl24h: BigNumber | null;\n /** 7-day account PnL, or null when uncovered. */\n pnl7d: BigNumber | null;\n /** 30-day account PnL, or null when uncovered. */\n pnl30d: BigNumber | null;\n /** All-time account PnL. */\n pnlAll: BigNumber;\n /** Close-derived win count. */\n wins: number;\n /** Close-derived loss count. */\n losses: number;\n /** Win rate, or null when there are no closed trades. */\n winRate: BigNumber | null;\n /** Traded product IDs, sorted by fill count descending. */\n productIds: number[];\n /** Number of distinct traded products. Equals `productIds.length`. */\n productCount: number;\n}\n\n/**\n * Prior-window percentage deltas on the platform summary.\n */\nexport interface NuanzePlatformDeltas {\n /** Volume change versus the prior equal window, or null when unavailable. */\n volumePct: BigNumber | null;\n /** Trade-count change versus the prior equal window, or null when unavailable. */\n tradesPct: BigNumber | null;\n /** Trader-count change versus the prior equal window, or null when unavailable. */\n tradersPct: BigNumber | null;\n}\n\n/**\n * Four-hourly sample of a wallet cohort's long percentage.\n */\nexport interface NuanzeCohortSeriesPoint {\n /** Sample time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Wallets in the cohort at the sample. */\n walletCount: number;\n /** Share of the cohort's open perp notional held long, 0-100, or null when it was flat. */\n longPct: BigNumber | null;\n}\n\n/**\n * Wallet cohort bucketed by lifetime equity-basis account PnL summed across the wallet's\n * subaccounts. Every wallet that has traded belongs to exactly one cohort.\n */\nexport interface NuanzeCohort {\n /** Cohort key. */\n key: NuanzeCohortKey;\n /** Display label. */\n label: string;\n /** Inclusive lower lifetime PnL bound, or null when unbounded. */\n pnlMin: BigNumber | null;\n /** Exclusive upper lifetime PnL bound, or null when unbounded. */\n pnlMax: BigNumber | null;\n /** Wallets in the cohort. */\n walletCount: number;\n /** Sum of the members' lifetime account PnL. */\n pnl: BigNumber;\n /** Mean lifetime account PnL per wallet, or null when the cohort is empty. */\n averagePnl: BigNumber | null;\n /** Members with lifetime account PnL above zero. */\n walletsInProfit: number;\n /** Members with lifetime account PnL at or below zero. */\n walletsInLoss: number;\n /** Lifetime fill count across the members. */\n trades: number;\n /** Members' current open perp notional held long. */\n longNotional: BigNumber;\n /** Members' current open perp notional held short. */\n shortNotional: BigNumber;\n /** Share of open perp notional held long, 0-100, or null when the cohort is flat. */\n longPct: BigNumber | null;\n /** Share of open perp notional held short, 0-100, or null when the cohort is flat. */\n shortPct: BigNumber | null;\n /** Long percentage every four hours over the last 30 days, oldest first. */\n series: NuanzeCohortSeriesPoint[];\n}\n\n/**\n * Replica-backed wallet position snapshot. Not an execution-grade live feed.\n */\nexport interface NuanzeWalletPosition {\n /** Subaccount that owns the row. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Whether the row is a spot balance. */\n isSpot: boolean;\n /** Signed position size. */\n amount: BigNumber;\n /** Oracle price at snapshot time. */\n oraclePrice: BigNumber;\n /** Absolute notional. */\n notional: BigNumber;\n /** Unrealized PnL. */\n unrealizedPnl: BigNumber;\n /** When the snapshot was taken, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * Taker-side market tape row. Wallet identity is absent.\n */\nexport interface NuanzeMarketTrade {\n /** Match row ID. */\n id: number;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Aggressor side. */\n side: NuanzeTradeSide;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Open perpetual position leg for a resolved market. Wallet addresses are returned.\n */\nexport interface NuanzeMarketPosition {\n /** Lowercased owner address. */\n subaccountOwner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Claimed username, or null when the subaccount has no synced identity or none claimed. */\n username: string | null;\n /** Display name, or null when the subaccount has no synced identity or none set. */\n displayName: string | null;\n /** Avatar image URL, or null when the subaccount has no synced identity or none set. */\n avatarUrl: string | null;\n /** Venue-native symbol. */\n symbol: string;\n /** Margin mode. Isolated margin is isolated equity and is null when non-positive. */\n marginKind: NuanzeMarginKind;\n /** Position direction. */\n side: NuanzePositionSide;\n /** Signed exact base amount. Positive is long and negative is short. */\n amount: BigNumber;\n /** Absolute notional. Legs below $10 are excluded by the API. */\n notional: BigNumber;\n /** Unrealized PnL. */\n upnl: BigNumber;\n /**\n * Cross: market implied initial requirement. Isolated: isolated equity, or null when\n * non-positive or unavailable.\n */\n margin: BigNumber | null;\n /** Entry price, or null when unavailable. */\n entryPrice: BigNumber | null;\n /**\n * Effective isolated leverage computed from unrounded notional and isolated equity.\n * Null for cross positions or when isolated equity is unavailable.\n */\n leverage: BigNumber | null;\n}\n\n/**\n * Current open perpetual position leg in the global signed-unrealized-PnL ranking.\n */\nexport interface NuanzeOpenPosition extends NuanzeMarketPosition {\n /** Public product ID for this row's market. */\n productId: number;\n /** Canonical market ticker. */\n ticker: string;\n /** Global open positions contain perpetuals only. */\n venue: 'perp';\n /** Source snapshot time for this position leg, as a UTC ISO 8601 string. */\n snapshotAt: string;\n}\n\n/**\n * OHLCV candle. Missing source bars are not interpolated. A current bucket has `complete=false`.\n */\nexport interface NuanzeCandle {\n /** Bar open time as a UTC ISO 8601 string. */\n openTime: string;\n /** Open price. */\n open: BigNumber;\n /** High price. */\n high: BigNumber;\n /** Low price. */\n low: BigNumber;\n /** Close price. */\n close: BigNumber;\n /** Traded volume. */\n volume: BigNumber;\n /** False when the bar is still accumulating. */\n complete: boolean;\n}\n\n/**\n * Wallet-owned execution row. Unlike market tape, both maker and taker fills are included.\n */\nexport interface NuanzeWalletTrade {\n /** Match row ID. */\n id: number;\n /** Subaccount that filled. */\n subaccountName: string;\n /** Public product ID. */\n productId: number;\n /** Venue-native symbol. */\n symbol: string;\n /** Canonical ticker. */\n ticker: string;\n /** Venue the product trades on. */\n venue: NuanzeMarketVenue;\n /** Side of this wallet's fill. */\n side: NuanzeTradeSide;\n /** Whether this wallet was the maker. */\n isMaker: boolean;\n /** Fill price. */\n price: BigNumber;\n /** Fill size. */\n amount: BigNumber;\n /** Notional. */\n notional: BigNumber;\n /** Match time as a UTC ISO 8601 string. */\n matchedAt: string;\n}\n\n/**\n * Sampled wallet series point. Synthetic points are the boundary anchor or carried-forward tip.\n */\nexport interface NuanzeSeriesPoint {\n /** Point time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Metric value, or null when the bucket has no observation. */\n value: BigNumber | null;\n /** True when the point is a synthetic anchor or tip. */\n synthetic: boolean;\n /** True when the latest bucket is still provisional. */\n provisional: boolean;\n}\n\n/**\n * Public tags on a collateral event. No identity beyond the event's own owner.\n */\nexport interface NuanzeFlowTags {\n /** Whether the owner is tagged as a whale. */\n whale: boolean;\n /** Whether the owner is tagged as smart money. */\n smartMoney: boolean;\n /** Whether the owner is tagged as a fresh wallet. */\n freshWallet: boolean;\n}\n\n/**\n * Public on-chain collateral event. Product 0 and 11 may use fallback symbols.\n */\nexport interface NuanzeCollateralFlow {\n /** Event ID. */\n id: number;\n /** Deposit or withdrawal. */\n eventType: NuanzeFlowEventType;\n /** Public product ID. */\n productId: number;\n /** Asset symbol. */\n symbol: string;\n /** Exact asset amount. */\n assetAmount: BigNumber;\n /** Oracle price at event time, or null when unvalued. */\n oraclePrice: BigNumber | null;\n /** USD valuation, or null when unvalued. */\n usdValue: BigNumber | null;\n /** Lowercased owner address. */\n owner: string;\n /** Subaccount name. */\n subaccountName: string;\n /** Event time as a UTC ISO 8601 string. */\n timestamp: string;\n /** Public tags. */\n tags: NuanzeFlowTags;\n}\n\n/**\n * UTC-bucketed collateral flow point.\n */\nexport interface NuanzeCollateralFlowPoint {\n /** Bucket start as a UTC ISO 8601 string. */\n timestamp: string;\n /** Deposited USD in the bucket. */\n deposited: BigNumber;\n /** Withdrawn USD in the bucket. */\n withdrawn: BigNumber;\n /** Net USD in the bucket. */\n net: BigNumber;\n /** Cumulative net USD through this bucket. */\n cumulativeNet: BigNumber;\n /** Event count. */\n eventCount: number;\n /** Count of valued events. */\n valuedCount: number;\n /** Count of unvalued events. */\n unvaluedCount: number;\n}\n\n/**\n * Aggregate long/short totals for a positioning response. All reversible fields are null when any\n * contributing cell required by the grouping is suppressed.\n */\nexport interface NuanzePositioningTotals {\n /** Long position count at the owner/subaccount grain, or null if suppressed. */\n longPositions: number | null;\n /** Short position count at the owner/subaccount grain, or null if suppressed. */\n shortPositions: number | null;\n /** Distinct long owners, or null if suppressed. */\n longOwners: number | null;\n /** Distinct short owners, or null if suppressed. */\n shortOwners: number | null;\n /** Owners netted flat, or null if suppressed. */\n netFlatOwners: number | null;\n /** Long notional, or null if suppressed. */\n longNotional: BigNumber | null;\n /** Short notional, or null if suppressed. */\n shortNotional: BigNumber | null;\n /** Long share of positions, or null if suppressed. */\n longPositionPct: BigNumber | null;\n /** Short share of positions, or null if suppressed. */\n shortPositionPct: BigNumber | null;\n /** Long/short ratio, or null if suppressed. */\n longShortRatio: BigNumber | null;\n}\n\n/**\n * Shared fields of a privacy-preserving positioning cell. For a suppressed cell every reversible\n * value is null; only the label, key, suppressed flag, and threshold remain.\n */\nexport interface NuanzePositioningCellBase {\n /** Display label. */\n label: string;\n /** Side this cell describes, or null when the grouping is not by side. */\n side: NuanzePositionSide | null;\n /** True when complementary or cross-request suppression nulls reversible metrics. */\n suppressed: boolean;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Position count, or null if suppressed. */\n positions: number | null;\n /** Distinct contributing owners, or null if suppressed. */\n owners: number | null;\n /** Cell notional, or null if suppressed. */\n notional: BigNumber | null;\n /** Average notional, or null if suppressed. */\n averageNotional: BigNumber | null;\n /** Share of the grouping, or null if suppressed. */\n percentage: BigNumber | null;\n}\n\n/**\n * Positioning cell grouped by side.\n */\nexport interface NuanzeSidePositioningCell extends NuanzePositioningCellBase {\n /** Side key. */\n key: NuanzePositionSide;\n}\n\n/**\n * Positioning cell grouped by wallet cohort.\n */\nexport interface NuanzeCohortPositioningCell extends NuanzePositioningCellBase {\n /** Cohort key. */\n key: NuanzeCohortKey;\n}\n\n/**\n * Positioning cell grouped by frozen USD notional bucket. Empty buckets are omitted rather than\n * returned with zeros.\n */\nexport interface NuanzeNotionalBucketPositioningCell extends NuanzePositioningCellBase {\n /** Notional-bucket key. */\n key: NuanzeNotionalBucket;\n}\n\n/**\n * Shared fields of every positioning response. Identity, entry price, PnL, margin, and leverage\n * are never returned.\n */\nexport interface NuanzeMarketPositioningBase extends NuanzeMarketIdentity {\n /** Effective inclusion threshold after request validation. */\n effectiveMinPositionUsd: NuanzeMinPositionUsd;\n /** Owner-count suppression threshold. Always 20. */\n suppressionThreshold: 20;\n /** Grouping totals; reversible fields are null when any required cell is suppressed. */\n totals: NuanzePositioningTotals;\n /** Newest contributing snapshot, or null when none. */\n newestSnapshotAt: string | null;\n /** Oldest contributing snapshot, or null when none. */\n oldestSnapshotAt: string | null;\n /** When the response was generated, as a UTC ISO 8601 string. */\n asOf: string;\n}\n\n/**\n * Positioning grouped by side. Always two cells, long then short.\n */\nexport interface NuanzeMarketPositioningSideResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'side';\n /** Long and short cells. */\n cells: NuanzeSidePositioningCell[];\n}\n\n/**\n * Positioning grouped by wallet cohort.\n */\nexport interface NuanzeMarketPositioningCohortResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'cohort';\n /** Cohort cells. */\n cells: NuanzeCohortPositioningCell[];\n}\n\n/**\n * Positioning grouped by notional bucket.\n */\nexport interface NuanzeMarketPositioningNotionalBucketResponse extends NuanzeMarketPositioningBase {\n /** Grouping discriminator. */\n groupBy: 'notionalBucket';\n /** Notional-bucket cells. Empty buckets omitted. */\n cells: NuanzeNotionalBucketPositioningCell[];\n}\n"],"mappings":";;;;;AAMA,MAAa,uBAAuB,CAAC,QAAQ,MAAM;;;;;AAWnD,MAAa,iCAAiC;CAC5C;CACA;CACA;CACA;CACA;AACF;;;;AAYA,MAAa,yBAAyB;CACpC;CACA;CACA;AACF;;;;AAUA,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,oBAAoB;CAAC;CAAQ;CAAM;AAAQ;;;;;AAWxD,MAAa,2BAA2B,CAAC,WAAW,aAAa;;;;AAUjE,MAAa,qBAAqB;CAAC;CAAO;CAAM;CAAO;CAAO;AAAK;;;;AAUnE,MAAa,gCAAgC;CAC3C;CACA;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B;CAAC;CAAM;CAAO;AAAK;;;;AAU1D,MAAa,yBAAyB;CAAC;CAAO;CAAM;CAAO;AAAK;;;;AAUhE,MAAa,iCAAiC;CAC5C;CACA;CACA;AACF;;;;AAWA,MAAa,0BAA0B,CAAC,WAAW,YAAY;;;;AAU/D,MAAa,sBAAsB,CAAC,QAAQ,KAAK;;;;AAWjD,MAAa,0BAA0B;CAAC;CAAM;CAAM;AAAI;;;;AAUxD,MAAa,wBAAwB;CAAC;CAAO;CAAU;AAAQ;;;;AAU/D,MAAa,mBAAmB,CAAC,YAAY,SAAS;;;;AAUtD,MAAa,wBAAwB,CAAC,QAAQ,OAAO;;;;AAUrD,MAAa,qBAAqB,CAAC,OAAO,MAAM;;;;AAUhD,MAAa,sBAAsB,CAAC,SAAS,UAAU;;;;AAUvD,MAAa,kCAAkC;CAC7C;CACA;CACA;AACF;;;;AAYA,MAAa,yCAAyC,CAAC,OAAO,MAAM;;;;AAWpE,MAAa,uCACX;;;;AAWF,MAAa,+BAA+B;CAC1C;CACA;CACA;AACF;;;;AAWA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;AACF;;;;;AAWA,MAAa,sBAAsB;CAAC;CAAG;CAAG;CAAG;CAAG;AAAC;;;;;AAWjD,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;AACF;;;;AAUA,MAAa,8BAA8B,CAAC,SAAS,WAAW;;;;AAWhE,MAAa,0BAA0B;CAAC;CAAQ;CAAO;AAAO"}
@@ -1,2 +1,2 @@
1
- import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-C_PGq9TZ.cjs";
1
+ import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-hrCFTuWK.cjs";
2
2
  export { GetNuanzeCohortsResponse, GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeSubaccountStatsParams, GetNuanzeSubaccountStatsResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NuanzeMarketSelector };
@@ -1,2 +1,2 @@
1
- import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-CJWiS0sM.js";
1
+ import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-CIJscdmP.js";
2
2
  export { GetNuanzeCohortsResponse, GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeSubaccountStatsParams, GetNuanzeSubaccountStatsResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NuanzeMarketSelector };
@@ -1,7 +1,7 @@
1
- import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-B22P2pH3.cjs";
2
- import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-C_PGq9TZ.cjs";
3
- import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-D8vC-W1m.cjs";
1
+ import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-Cu7A2-_S.cjs";
2
+ import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-hrCFTuWK.cjs";
3
+ import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-CMwhkBLQ.cjs";
4
4
  import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DWzJGzaI.cjs";
5
- import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-DS0PzfC8.cjs";
6
- import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-DSY-xKVx.cjs";
5
+ import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-C714Xx6q.cjs";
6
+ import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-BvCgAQBY.cjs";
7
7
  export { GetNuanzeCohortsResponse, GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeSubaccountStatsParams, GetNuanzeSubaccountStatsResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohort, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCohortSeriesPoint, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeErrorCode, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketSelector, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePointsTier, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeServerCandle, NuanzeServerCohort, NuanzeServerCohortPositioningCell, NuanzeServerCohortSeriesPoint, NuanzeServerCohortsResponse, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureError, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardItem, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerFundingRatesResponse, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerLeaderboardResponse, NuanzeServerMarket, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTrade, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformDeltas, NuanzeServerPlatformSummaryResponse, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountCloseTrade, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerSubaccountLongShortBias, NuanzeServerSubaccountMostTradedMarket, NuanzeServerSubaccountStatsResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountCloseTrade, NuanzeSubaccountLeaderboardItem, NuanzeSubaccountLongShortBias, NuanzeSubaccountMostTradedMarket, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };