@codex-data/sdk 2.1.2 → 2.2.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.
- package/dist/sdk/Subscribe.js +2 -2
- package/dist/sdk/Subscribe.mjs +2 -2
- package/dist/sdk/generated/gql.d.ts +18 -18
- package/dist/sdk/generated/gql.js +9 -9
- package/dist/sdk/generated/gql.mjs +9 -9
- package/dist/sdk/generated/graphql.d.ts +6811 -2900
- package/dist/sdk/generated/graphql.js +25 -13
- package/dist/sdk/generated/graphql.mjs +21 -9
- package/package.json +1 -1
package/dist/sdk/Subscribe.js
CHANGED
|
@@ -16,12 +16,12 @@ class Subscribe {
|
|
|
16
16
|
}`, vars, sink);
|
|
17
17
|
this.onDetailedPredictionEventStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedPredictionEventStatsUpdated($eventId: String!) {
|
|
18
18
|
onDetailedPredictionEventStatsUpdated (eventId: $eventId) {
|
|
19
|
-
allTimeStats {
|
|
19
|
+
allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, eventId, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour4 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour12 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsMin5 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsWeek1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
20
20
|
}
|
|
21
21
|
}`, vars, sink);
|
|
22
22
|
this.onDetailedPredictionMarketStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedPredictionMarketStatsUpdated($marketId: String!) {
|
|
23
23
|
onDetailedPredictionMarketStatsUpdated (marketId: $marketId) {
|
|
24
|
-
allTimeStats { venueVolumeCT, venueVolumeUsd, volumeCT, volumeUsd }, competitiveScores { score1, score1w, score4, score5m, score12, score24 }, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, marketId, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour4 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour12 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsMin5 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsWeek1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
24
|
+
allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, competitiveScores { score1, score1w, score4, score5m, score12, score24 }, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, marketId, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour4 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour12 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsMin5 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsWeek1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
25
25
|
}
|
|
26
26
|
}`, vars, sink);
|
|
27
27
|
this.onDetailedStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {
|
package/dist/sdk/Subscribe.mjs
CHANGED
|
@@ -13,12 +13,12 @@ export class Subscribe {
|
|
|
13
13
|
}`, vars, sink);
|
|
14
14
|
this.onDetailedPredictionEventStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedPredictionEventStatsUpdated($eventId: String!) {
|
|
15
15
|
onDetailedPredictionEventStatsUpdated (eventId: $eventId) {
|
|
16
|
-
allTimeStats {
|
|
16
|
+
allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, eventId, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour4 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour12 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsMin5 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsWeek1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, buySell { buyVolume { ct, usd }, sellVolume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, scores { competitive, relevance, trending }, start, statsChange { buyVolumeChange, liquidityChange, openInterestChange, sellVolumeChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
17
17
|
}
|
|
18
18
|
}`, vars, sink);
|
|
19
19
|
this.onDetailedPredictionMarketStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedPredictionMarketStatsUpdated($marketId: String!) {
|
|
20
20
|
onDetailedPredictionMarketStatsUpdated (marketId: $marketId) {
|
|
21
|
-
allTimeStats { venueVolumeCT, venueVolumeUsd, volumeCT, volumeUsd }, competitiveScores { score1, score1w, score4, score5m, score12, score24 }, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, marketId, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour4 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsHour12 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsMin5 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, statsWeek1 { end, outcome0Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, outcome1Stats { statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange }, statsCurrency { buyVolumeCT, buyVolumeShares, buyVolumeUsd, closeAskCT, closeAskUsd, closeBidCT, closeBidUsd, closeLiquidityCT, closeLiquidityUsd, closePriceCT, closePriceUsd, closeTwoPercentAskDepthCT, closeTwoPercentAskDepthUsd, closeTwoPercentBidDepthCT, closeTwoPercentBidDepthUsd, highAskCT, highAskUsd, highBidCT, highBidUsd, highLiquidityCT, highLiquidityUsd, highPriceCT, highPriceUsd, highTwoPercentAskDepthCT, highTwoPercentAskDepthUsd, highTwoPercentBidDepthCT, highTwoPercentBidDepthUsd, lowAskCT, lowAskUsd, lowBidCT, lowBidUsd, lowLiquidityCT, lowLiquidityUsd, lowPriceCT, lowPriceUsd, lowTwoPercentAskDepthCT, lowTwoPercentAskDepthUsd, lowTwoPercentBidDepthCT, lowTwoPercentBidDepthUsd, openAskCT, openAskUsd, openBidCT, openBidUsd, openLiquidityCT, openLiquidityUsd, openPriceCT, openPriceUsd, openTwoPercentAskDepthCT, openTwoPercentAskDepthUsd, openTwoPercentBidDepthCT, openTwoPercentBidDepthUsd, sellVolumeCT, sellVolumeShares, sellVolumeUsd, volumeCT, volumeShares, volumeUsd }, statsNonCurrency { buys, sells, trades }, venueOutcomeId }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, statsCurrency { closeLiquidityCT, closeLiquidityUsd, closeOpenInterestCT, closeOpenInterestUsd, highLiquidityCT, highLiquidityUsd, highOpenInterestCT, highOpenInterestUsd, lowLiquidityCT, lowLiquidityUsd, lowOpenInterestCT, lowOpenInterestUsd, openLiquidityCT, openLiquidityUsd, openOpenInterestCT, openOpenInterestUsd, volumeCT, volumeUsd }, statsNonCurrency { trades, uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
21
|
+
allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, competitiveScores { score1, score1w, score4, score5m, score12, score24 }, lastTransactionAt, lifecycle { ageSeconds, expectedLifespanSeconds, isResolved, timeToResolutionSeconds, winningOutcomeId }, marketId, relevanceScores { score1, score1w, score4, score5m, score12, score24 }, statsDay1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour4 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsHour12 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsMin5 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, statsWeek1 { allTimeStats { venueVolume { ct, usd }, volume { ct, usd } }, core { trades, volume { ct, usd } }, end, lastTransactionAt, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, openInterest { openInterest { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, outcome0Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, outcome1Stats { buySell { buyVolume { ct, shares, usd }, buys, sellVolume { ct, shares, usd }, sells }, core { price { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, trades, venueOutcomeId, volume { ct, shares, usd } }, depth { askDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bidDepth { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, liquidity { liquidity { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, orderbook { ask { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } }, bid { close { ct, usd }, high { ct, usd }, low { ct, usd }, open { ct, usd } } }, statsChange { buysChange, liquidityChange, priceChange, priceRange, sellsChange, tradesChange, volumeChange, volumeSharesChange } }, scores { competitive, relevance, trending }, start, statsChange { liquidityChange, openInterestChange, tradesChange, uniqueTradersChange, volumeChange }, uniqueTraders { uniqueTraders } }, trendingScores { score1, score1w, score4, score5m, score12, score24 }
|
|
22
22
|
}
|
|
23
23
|
}`, vars, sink);
|
|
24
24
|
this.onDetailedStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {
|