End of day data: Position analytics at regular intervals (e.g. daily)

This entity returns the fields in the interval data schema at a regular interval which is by default daily. We use 0 UTC as the time for this snapshot of the position. This data lends itself well to being charted over time.

note: EOD Data is not available for our "lite" blueprints. This is usually due to some aspect of the available data we rely on not being available at this time.

❗️

This entity is currently not populating new data. If you would like to see this data please get in touch with us

🚧

Beta version!

Please, note that the data and infrastructure are currently in beta. If you have any feedback or experience degraded performance feel free to reach out at: [email protected]

EOD interval data query example

using the argument first: 3 to keep the example short

query eodIntervalData {
    eodIntervalData(
    blueprintId: "uniswap_v3_arbitrum"
    userIdentifier: "0xe3EA96BEE65513b2D0091F1827237ae10e04EaCe"
    positionIdentifier: "181102"
    first: 3
  ) {
    requestId
    indexingStatus {
      headBlock
      headTimestamp
      lastSyncedBlock
      lastSyncedTimestamp
    }
    items {
      positionIdentifier
      userIdentifier
      blueprintId
      date
      positionAgeSeconds
      blockNumber
      timestamp
      intervalDataType
      positionSharesAtBlock
      basePositionShares
      positionShareChange
      positionShareChangeUsd
      avgOpenInterestUsd
      cumulativeCollectedIncomeUsd
      pendingIncomeUsd
      incomeApyInception
      positionShareAPY
      positionShareUsdAPY
      netMarketGainUsd
      netMarketGainPct
      positionUsdValueAtBlock
      hodlValueUsd
      ifHeldAllAmountBtc
      ifHeldAllAmountBtcValueUsd
      ifHeldAllAmountEth
      ifHeldAllAmountEthValueUsd
      basePositionCostUsd
      basePositionUnitCostUsd
      roiVsHodlUsd
      roiVsHodlPct
      btcPriceUsd
      btcPriceSource
      ethPriceUsd
      ethPriceSource
      exitRatio
      exitedSessionLength
      exitedPositionSharesAtBlock
      exitedBasePositionShares
      exitedPositionShareChange
      exitedPositionShareChangeUsd
      exitedPositionShareAPY
      exitedPositionShareUsdAPY
      exitedCostUsd
      exitedValueUsd
      exitedNetGainUsd
      exitedNetGainPct
      exitedCollectedIncomeUsd
      exitedIncomeAPY
      exitedRoiVsHodlUsd
      exitedRoiVsHodlPct
      exitedHodlValueUsd
      exitedIfHeldAllAmountBtcValueUsd
      exitedIfHeldAllAmountEthValueUsd
      isLiabilityPosition
      warning
      tokens {
        tokenName
        tokenAddress
        tokenType
        tag
        netTokenAmount
        priceUsd
        priceSource
        pendingIncomeAmount
        collectedIncomeAmount
        cumulativeCollectedIncomeUsd
        exitedCumulativeCollectedIncomeAmount
        exitedCumulativeCollectedIncomeUsd
        totalIncomeAmount
        tokenAmountAtBlock
        exitedTokenAmount
        ifHeldAmountToken
        exitedIfHeldAmountToken
        exitedIfHeldAllAmountToken
        ifHeldAllAmountToken
        ifHeldAllAmountTokenValueUsd
        tokenValueUsd
        isVirtualToken
        warning
      }
    }
  }
}

Here is the sample eodtIntervalData response

{
  "data": {
    "requestId": "e3435266-7794-4c3e-a3dc-89f3dc0563d7",
    "eodIntervalData": {
      "indexingStatus": {
        "headBlock": 197878121,
        "lastSyncedBlock": 154422752
      },
      "items": [
        {
          "positionIdentifier": "181102",
          "userIdentifier": "0xe3ea96bee65513b2d0091f1827237ae10e04eace",
          "blueprintId": "uniswap_v3_arbitrum",
          "hasException": false,
          "date": "2022-11-09T23:59:59+00:00",
          "positionAgeSeconds": 18822,
          "blockNumber": 36761069,
          "timestamp": 1668038399,
          "intervalDataType": "eod",
          "positionSharesAtBlock": "0.000000294578776736",
          "basePositionShares": "0.000000294578776736",
          "positionShareChange": "0",
          "positionShareChangeUsd": "0",
          "avgOpenInterestUsd": "20.17250774089846",
          "cumulativeCollectedIncomeUsd": "0",
          "pendingIncomeUsd": "0.010333206570902583",
          "incomeApyInception": "85.8254439354433",
          "positionShareAPY": "0",
          "positionShareUsdAPY": "0",
          "netMarketGainUsd": "-0.520469450892692904",
          "netMarketGainPct": "-2.580092954122280852",
          "positionUsdValueAtBlock": "19.652038290005768915",
          "hodlValueUsd": "0",
          "ifHeldAllAmountBtc": "0.00118189262268670443",
          "ifHeldAllAmountBtcValueUsd": "18.706167622161464804",
          "ifHeldAllAmountEth": "0.01721984361912210173",
          "ifHeldAllAmountEthValueUsd": "18.677562093658320955",
          "basePositionCostUsd": "20.172507740898461819",
          "basePositionUnitCostUsd": "68479161.88808456000024171409",
          "roiVsHodlUsd": "0",
          "roiVsHodlPct": "0",
          "btcPriceUsd": "15827.298743635603",
          "btcPriceSource": "uniswapv3_eth",
          "ethPriceUsd": "1084.6534095650827",
          "ethPriceSource": "balancer_eth",
          "exitRatio": null,
          "exitedSessionLength": null,
          "exitedPositionSharesAtBlock": null,
          "exitedBasePositionShares": null,
          "exitedPositionShareChange": null,
          "exitedPositionShareChangeUsd": null,
          "exitedPositionShareAPY": null,
          "exitedPositionShareUsdAPY": null,
          "exitedCostUsd": null,
          "exitedValueUsd": null,
          "exitedNetGainUsd": null,
          "exitedNetGainPct": null,
          "exitedCollectedIncomeUsd": null,
          "exitedIncomeAPY": null,
          "exitedRoiVsHodlUsd": null,
          "exitedRoiVsHodlPct": null,
          "exitedHodlValueUsd": null,
          "exitedIfHeldAllAmountBtcValueUsd": null,
          "exitedIfHeldAllAmountEthValueUsd": null,
          "isLiabilityPosition": false,
          "tokens": [
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1103.5264476344257",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.00000465571029479",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.00000465571029479",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.005137699442824634",
              "isVirtualToken": false
            },
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "0.008679962074105881",
              "priceUsd": "1103.5264476344257",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "0.00888572245411732",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "0.008679962074105881",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "0.0172198436191221",
              "ifHeldAllAmountTokenValueUsd": "19.002552857830143614",
              "tokenValueUsd": "9.805629734457537349",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1.00824900603104",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.005153",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.005153",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.005195507128077949",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "9.997355",
              "priceUsd": "1.00824900603104",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "9.76585",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "9.997355",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "20.158697611598008",
              "ifHeldAllAmountTokenValueUsd": "20.324986829773991611",
              "tokenValueUsd": "9.846408555548231984",
              "isVirtualToken": false
            }
          ]
        },
        {
          "positionIdentifier": "181102",
          "userIdentifier": "0xe3ea96bee65513b2d0091f1827237ae10e04eace",
          "blueprintId": "uniswap_v3_arbitrum",
          "hasException": false,
          "date": "2022-11-10T23:59:59+00:00",
          "positionAgeSeconds": 105222,
          "blockNumber": 37052420,
          "timestamp": 1668124799,
          "intervalDataType": "eod",
          "positionSharesAtBlock": "0.000000294578776736",
          "basePositionShares": "0.000000294578776736",
          "positionShareChange": "0",
          "positionShareChangeUsd": "0",
          "avgOpenInterestUsd": "20.172507740898457",
          "cumulativeCollectedIncomeUsd": "0",
          "pendingIncomeUsd": "0.036658783660311273",
          "incomeApyInception": "54.465088636476835",
          "positionShareAPY": "0",
          "positionShareUsdAPY": "0",
          "netMarketGainUsd": "1.044912075688329034",
          "netMarketGainPct": "5.179881892273795072",
          "positionUsdValueAtBlock": "21.217419816586790853",
          "hodlValueUsd": "0",
          "ifHeldAllAmountBtc": "0.00118189262268670443",
          "ifHeldAllAmountBtcValueUsd": "20.630398545581156184",
          "ifHeldAllAmountEth": "0.01721984361912210173",
          "ifHeldAllAmountEthValueUsd": "22.320274166519741428",
          "basePositionCostUsd": "20.172507740898461819",
          "basePositionUnitCostUsd": "68479161.88808456000024171409",
          "roiVsHodlUsd": "0",
          "roiVsHodlPct": "0",
          "btcPriceUsd": "17455.391589367635",
          "btcPriceSource": "coingecko",
          "ethPriceUsd": "1296.1949399896855",
          "ethPriceSource": "uniswap_eth",
          "exitRatio": null,
          "exitedSessionLength": null,
          "exitedPositionSharesAtBlock": null,
          "exitedBasePositionShares": null,
          "exitedPositionShareChange": null,
          "exitedPositionShareChangeUsd": null,
          "exitedPositionShareAPY": null,
          "exitedPositionShareUsdAPY": null,
          "exitedCostUsd": null,
          "exitedValueUsd": null,
          "exitedNetGainUsd": null,
          "exitedNetGainPct": null,
          "exitedCollectedIncomeUsd": null,
          "exitedIncomeAPY": null,
          "exitedRoiVsHodlUsd": null,
          "exitedRoiVsHodlPct": null,
          "exitedHodlValueUsd": null,
          "exitedIfHeldAllAmountBtcValueUsd": null,
          "exitedIfHeldAllAmountEthValueUsd": null,
          "isLiabilityPosition": false,
          "tokens": [
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "0.008679962074105881",
              "priceUsd": "1296.8240322988293",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "0.00818392494549078",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "0.008679962074105881",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "0.0172198436191221",
              "ifHeldAllAmountTokenValueUsd": "22.331107037705187837",
              "tokenValueUsd": "10.613110547842330101",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "9.997355",
              "priceUsd": "1.0000951843996173",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "10.6033",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "9.997355",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "20.158697611598008",
              "ifHeldAllAmountTokenValueUsd": "20.160616405127234656",
              "tokenValueUsd": "10.604309268744462117",
              "isVirtualToken": false
            },
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1296.8240322988293",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.00001456025743457",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.00001456025743457",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.018882091757608075",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1.0000951843996173",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.017775",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.017775",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.017776691902703198",
              "isVirtualToken": false
            }
          ]
        },
        {
          "positionIdentifier": "181102",
          "userIdentifier": "0xe3ea96bee65513b2d0091f1827237ae10e04eace",
          "blueprintId": "uniswap_v3_arbitrum",
          "hasException": false,
          "date": "2022-11-11T23:59:59+00:00",
          "positionAgeSeconds": 191622,
          "blockNumber": 37352219,
          "timestamp": 1668211199,
          "intervalDataType": "eod",
          "positionSharesAtBlock": "0.000000294578776736",
          "basePositionShares": "0.000000294578776736",
          "positionShareChange": "0",
          "positionShareChangeUsd": "0",
          "avgOpenInterestUsd": "20.17250774089846",
          "cumulativeCollectedIncomeUsd": "0",
          "pendingIncomeUsd": "0.051292813189687598",
          "incomeApyInception": "41.84637728975671",
          "positionShareAPY": "0",
          "positionShareUsdAPY": "0",
          "netMarketGainUsd": "0.883220557721044321",
          "netMarketGainPct": "4.378337929351101225",
          "positionUsdValueAtBlock": "21.05572829861950614",
          "hodlValueUsd": "0",
          "ifHeldAllAmountBtc": "0.00118189262268670443",
          "ifHeldAllAmountBtcValueUsd": "19.825320593521435527",
          "ifHeldAllAmountEth": "0.01721984361912210173",
          "ifHeldAllAmountEthValueUsd": "21.94779225957606967",
          "basePositionCostUsd": "20.172507740898461819",
          "basePositionUnitCostUsd": "68479161.88808456000024171409",
          "roiVsHodlUsd": "0",
          "roiVsHodlPct": "0",
          "btcPriceUsd": "16774.214690040182",
          "btcPriceSource": "coingecko",
          "ethPriceUsd": "1274.563970790288",
          "ethPriceSource": "coingecko",
          "exitRatio": null,
          "exitedSessionLength": null,
          "exitedPositionSharesAtBlock": null,
          "exitedBasePositionShares": null,
          "exitedPositionShareChange": null,
          "exitedPositionShareChangeUsd": null,
          "exitedPositionShareAPY": null,
          "exitedPositionShareUsdAPY": null,
          "exitedCostUsd": null,
          "exitedValueUsd": null,
          "exitedNetGainUsd": null,
          "exitedNetGainPct": null,
          "exitedCollectedIncomeUsd": null,
          "exitedIncomeAPY": null,
          "exitedRoiVsHodlUsd": null,
          "exitedRoiVsHodlPct": null,
          "exitedHodlValueUsd": null,
          "exitedIfHeldAllAmountBtcValueUsd": null,
          "exitedIfHeldAllAmountEthValueUsd": null,
          "isLiabilityPosition": false,
          "tokens": [
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "0.008679962074105881",
              "priceUsd": "1274.563970790288",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "0.00821850847938877",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "0.008679962074105881",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "0.0172198436191221",
              "ifHeldAllAmountTokenValueUsd": "21.947792259576067465",
              "tokenValueUsd": "10.475014801463402494",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "non_receipt",
              "tag": "tracked_underlying",
              "netTokenAmount": "9.997355",
              "priceUsd": "1.0020867662582922",
              "priceSource": "coingecko",
              "pendingIncomeAmount": null,
              "collectedIncomeAmount": null,
              "cumulativeCollectedIncomeUsd": null,
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": null,
              "tokenAmountAtBlock": "10.55868",
              "exitedTokenAmount": null,
              "ifHeldAmountToken": "9.997355",
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": "20.158697611598008",
              "ifHeldAllAmountTokenValueUsd": "20.200764101585006284",
              "tokenValueUsd": "10.580713497156104686",
              "isVirtualToken": false
            },
            {
              "tokenName": "weth",
              "tokenAddress": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1274.563970790288",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.000020456639400452",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.000020456639400452",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.026073295543265158",
              "isVirtualToken": false
            },
            {
              "tokenName": "usdc",
              "tokenAddress": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
              "tokenType": "income",
              "tag": "trade_fees",
              "netTokenAmount": null,
              "priceUsd": "1.0020867662582922",
              "priceSource": "coingecko",
              "pendingIncomeAmount": "0.025167",
              "collectedIncomeAmount": "0",
              "cumulativeCollectedIncomeUsd": "0",
              "exitedCumulativeCollectedIncomeAmount": null,
              "exitedCumulativeCollectedIncomeUsd": null,
              "totalIncomeAmount": "0.025167",
              "tokenAmountAtBlock": null,
              "exitedTokenAmount": null,
              "ifHeldAmountToken": null,
              "exitedIfHeldAmountToken": null,
              "exitedIfHeldAllAmountToken": null,
              "ifHeldAllAmountToken": null,
              "ifHeldAllAmountTokenValueUsd": null,
              "tokenValueUsd": "0.02521951764642244",
              "isVirtualToken": false
            }
          ]
        }
      ]
    }
  }
}