@chainstream-io/sdk 0.2.13 → 0.2.15

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.
@@ -5849,8 +5849,8 @@ declare enum WsChannelType {
5849
5849
  New = "new",
5850
5850
  HOT = "trending",
5851
5851
  US_STOCKS = "us_stocks",
5852
- COMPLETED = "completed",
5853
- GRADUATED = "graduated"
5852
+ FINAL_STRETCH = "graduated",
5853
+ MIGRATED = "completed"
5854
5854
  }
5855
5855
  declare enum WsMetricType {
5856
5856
  LIQUIDITY_IN_USD = "liquidity_in_usd",
@@ -6251,30 +6251,30 @@ interface WsTradeActivity {
6251
6251
  interface WsWalletTokenPnl {
6252
6252
  walletAddress: string;
6253
6253
  tokenAddress: string;
6254
- tokenPriceInUsd: string;
6255
6254
  timestamp: number;
6256
- opentime: number;
6257
- lasttime: number;
6258
- closetime: number;
6259
- buyAmount: string;
6260
- buyAmountInUsd: string;
6261
6255
  buyCount: number;
6262
6256
  buyCount30d: number;
6263
6257
  buyCount7d: number;
6264
- sellAmount: string;
6265
- sellAmountInUsd: string;
6266
6258
  sellCount: number;
6267
6259
  sellCount30d: number;
6268
6260
  sellCount7d: number;
6269
- heldDurationTimestamp: number;
6270
- averageBuyPriceInUsd: string;
6271
- averageSellPriceInUsd: string;
6272
- unrealizedProfitInUsd: string;
6273
- unrealizedProfitRatio: string;
6274
- realizedProfitInUsd: string;
6275
- realizedProfitRatio: string;
6276
- totalRealizedProfitInUsd: string;
6277
- totalRealizedProfitRatio: string;
6261
+ tokenPriceInUsd?: string;
6262
+ opentime?: number;
6263
+ lasttime?: number;
6264
+ closetime?: number;
6265
+ buyAmount?: string;
6266
+ buyAmountInUsd?: string;
6267
+ sellAmount?: string;
6268
+ sellAmountInUsd?: string;
6269
+ heldDurationTimestamp?: number;
6270
+ averageBuyPriceInUsd?: string;
6271
+ averageSellPriceInUsd?: string;
6272
+ unrealizedProfitInUsd?: string;
6273
+ unrealizedProfitRatio?: string;
6274
+ realizedProfitInUsd?: string;
6275
+ realizedProfitRatio?: string;
6276
+ totalRealizedProfitInUsd?: string;
6277
+ totalRealizedProfitRatio?: string;
6278
6278
  }
6279
6279
  declare enum WsRankingType {
6280
6280
  NEW = "new",
@@ -5849,8 +5849,8 @@ declare enum WsChannelType {
5849
5849
  New = "new",
5850
5850
  HOT = "trending",
5851
5851
  US_STOCKS = "us_stocks",
5852
- COMPLETED = "completed",
5853
- GRADUATED = "graduated"
5852
+ FINAL_STRETCH = "graduated",
5853
+ MIGRATED = "completed"
5854
5854
  }
5855
5855
  declare enum WsMetricType {
5856
5856
  LIQUIDITY_IN_USD = "liquidity_in_usd",
@@ -6251,30 +6251,30 @@ interface WsTradeActivity {
6251
6251
  interface WsWalletTokenPnl {
6252
6252
  walletAddress: string;
6253
6253
  tokenAddress: string;
6254
- tokenPriceInUsd: string;
6255
6254
  timestamp: number;
6256
- opentime: number;
6257
- lasttime: number;
6258
- closetime: number;
6259
- buyAmount: string;
6260
- buyAmountInUsd: string;
6261
6255
  buyCount: number;
6262
6256
  buyCount30d: number;
6263
6257
  buyCount7d: number;
6264
- sellAmount: string;
6265
- sellAmountInUsd: string;
6266
6258
  sellCount: number;
6267
6259
  sellCount30d: number;
6268
6260
  sellCount7d: number;
6269
- heldDurationTimestamp: number;
6270
- averageBuyPriceInUsd: string;
6271
- averageSellPriceInUsd: string;
6272
- unrealizedProfitInUsd: string;
6273
- unrealizedProfitRatio: string;
6274
- realizedProfitInUsd: string;
6275
- realizedProfitRatio: string;
6276
- totalRealizedProfitInUsd: string;
6277
- totalRealizedProfitRatio: string;
6261
+ tokenPriceInUsd?: string;
6262
+ opentime?: number;
6263
+ lasttime?: number;
6264
+ closetime?: number;
6265
+ buyAmount?: string;
6266
+ buyAmountInUsd?: string;
6267
+ sellAmount?: string;
6268
+ sellAmountInUsd?: string;
6269
+ heldDurationTimestamp?: number;
6270
+ averageBuyPriceInUsd?: string;
6271
+ averageSellPriceInUsd?: string;
6272
+ unrealizedProfitInUsd?: string;
6273
+ unrealizedProfitRatio?: string;
6274
+ realizedProfitInUsd?: string;
6275
+ realizedProfitRatio?: string;
6276
+ totalRealizedProfitInUsd?: string;
6277
+ totalRealizedProfitRatio?: string;
6278
6278
  }
6279
6279
  declare enum WsRankingType {
6280
6280
  NEW = "new",
@@ -1351,21 +1351,21 @@ var StreamApi = class {
1351
1351
  (data) => callback({
1352
1352
  walletAddress: data.a,
1353
1353
  tokenAddress: data.ta,
1354
- tokenPriceInUsd: data.tpiu,
1355
1354
  timestamp: data.t,
1355
+ buyCount: data.bs,
1356
+ buyCount30d: data.bs30d,
1357
+ buyCount7d: data.bs7d,
1358
+ sellCount: data.ss,
1359
+ sellCount30d: data.ss30d,
1360
+ sellCount7d: data.ss7d,
1361
+ tokenPriceInUsd: data.tpiu,
1356
1362
  opentime: data.ot,
1357
1363
  lasttime: data.lt,
1358
1364
  closetime: data.ct,
1359
1365
  buyAmount: data.ba,
1360
1366
  buyAmountInUsd: data.baiu,
1361
- buyCount: data.bs,
1362
- buyCount30d: data.bs30d,
1363
- buyCount7d: data.bs7d,
1364
1367
  sellAmount: data.sa,
1365
1368
  sellAmountInUsd: data.saiu,
1366
- sellCount: data.ss,
1367
- sellCount30d: data.ss30d,
1368
- sellCount7d: data.ss7d,
1369
1369
  heldDurationTimestamp: data.hdts,
1370
1370
  averageBuyPriceInUsd: data.abpiu,
1371
1371
  averageSellPriceInUsd: data.aspiu,