Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Null values returned for activeTraders and activeTradersChange #452

Open
porteron opened this issue Nov 19, 2021 · 0 comments
Open

Null values returned for activeTraders and activeTradersChange #452

porteron opened this issue Nov 19, 2021 · 0 comments

Comments

@porteron
Copy link

porteron commented Nov 19, 2021

When specifying the parameters statsPeriodTo and statsPeriodFrom the api consistently returns null for active traders fields.

https://api.0xtracker.com/apps/brave?statsPeriodFrom=2021-11-17&statsPeriodTo=2021-11-18

{
   "categories":[
      "wallet"
   ],
   "description":null,
   "id":"e9c9d7e5-f688-49d0-94d5-8b14d84a49bb",
   "logoUrl":"https://cdn.staticaly.com/gh/0xTracker/0x-tracker-worker/master/src/attributions/logos/brave.png",
   "name":"Brave",
   "stats":{
      "activeTraders":null,
      "activeTradersChange":null,
      "avgTradeSize":10982.36563720703,
      "avgTradeSizeChange":168.24390635599852,
      "tradeCount":{
         "relayed":0,
         "total":10
      },
      "tradeCountChange":{
         "relayed":null,
         "total":0
      },
      "tradeVolume":{
         "relayed":0,
         "total":109823.65637207031
      },
      "tradeVolumeChange":{
         "relayed":null,
         "total":168.24390635599852
      }
   },
   "urlSlug":"brave",
   "websiteUrl":"https://brave.com/"
}

This is not the case when only using the param statsPeriod: https://api.0xtracker.com/apps/brave?statsPeriod=day

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant