santiment / san-sdk

Code samples for working with Santiment's API and libraries
https://academy.santiment.net
MIT License
22 stars 13 forks source link

Dates missing in Golem socialVolume calls. #13

Open josefansinger opened 4 years ago

josefansinger commented 4 years ago

The three different social volume types for Golem return different sized results. 84 dates, 82 dates and 75 dates. Why are certain dates missing?

{
  socialVolume(
    slug: "golem-network-tokens"
    from: "2019-11-01T00:00:00Z"
    to: "2020-01-28T00:00:00Z"
    interval: "1d"
    SocialVolumeType: PROFESSIONAL_TRADERS_CHAT_OVERVIEW) {
      datetime
      mentionsCount
  }
}
{
  socialVolume(
    slug: "golem-network-tokens"
    from: "2019-11-01T00:00:00Z"
    to: "2020-01-28T00:00:00Z"
    interval: "1d"
    SocialVolumeType: TELEGRAM_CHATS_OVERVIEW) {
      datetime
      mentionsCount
  }
}
{
  socialVolume(
    slug: "golem-network-tokens"
    from: "2019-11-01T00:00:00Z"
    to: "2020-01-28T00:00:00Z"
    interval: "1d"
    SocialVolumeType: DISCORD_DISCUSSION_OVERVIEW) {
      datetime
      mentionsCount
  }
}
valo commented 4 years ago

Are these the dates you are testing with? The interval seems to be just 1 day long. Which dates do you use exactly?

josefansinger commented 4 years ago

@valo The dates are 2019-11-01 to 2020-01-28. Now corrected above.

valo commented 4 years ago

Thanks. We are looking at the issue. Seems like the start and end dates of the intervals returned are slightly different.