Giter Club home page Giter Club logo

Comments (8)

Mito9999 avatar Mito9999 commented on July 26, 2024

Are you making more than 6 requests per minute?

from tickertick-api.

shehan011 avatar shehan011 commented on July 26, 2024

No not at all. atm I am just going through the data to see how reliable and accurate they are and found that the two timestamps does not match.

from tickertick-api.

shehan011 avatar shehan011 commented on July 26, 2024

check this out
{
"id": "2797609833636286060",
"title": "News Corp : and Facebook Reach Agreement in Australia",
"url": "https://www.marketscreener.com/quote/stock/NEWS-CORPORATION-13439787/news/News-Corp-nbsp-and-Facebook-Reach-Agreement-in-Australia-32691106/?utm_medium=RSS\u0026utm_content=20210315",
"site": "marketscreener.com",
"time": 1615842399000,
"favicon_url": "https://tickertick.com/website_icons/marketscreener.com.ico",
"tags": [
"fb"
]
},
the time here is 1615842399
but when i visit the url and get the utc epoch it is 1615842060 there is a difference of approx 339

from tickertick-api.

shehan011 avatar shehan011 commented on July 26, 2024

this is another one
{
"id": "-1032509889829059691",
"title": "Alibaba Vs. Amazon Stock: Which Is The Better Buy | $FB $WMT $AMZN $BABA $BABAF",
"url": "https://seekingalpha.com/article/4413411-alibaba-vs-amazon-stock-which-is-better-buy-?source=feed_tag_editors_picks",
"site": "seekingalpha.com",
"time": 1615570260000,
"favicon_url": "https://tickertick.com/website_icons/seekingalpha.com.ico",
"tags": [
"fb"
]
},
epoch returned with the api call is 1615570260
but when i visit the url and get the utc epoch it is 1615541460 (ET time converted to utc without daylight saving)

from tickertick-api.

shehan011 avatar shehan011 commented on July 26, 2024

Mito9999 any clue on how to resolve my issue ?

from tickertick-api.

hczhu avatar hczhu commented on July 26, 2024

@shehan011
It's a known issue that some story timestamps are not accurate. A timestamp can be off up to one day for a lot of stories.
A small portion of stories may have a timestamp off dozens of days. Therefore, I'd suggest using the timestamp on the granularity of days.
The root cause of this issue is a trade-off for less backend resource usage.

I'm curious for your use case. Do you need a highly precise publish timestamp for any article.

from tickertick-api.

hczhu avatar hczhu commented on July 26, 2024

Are you making more than 6 requests per minute?

This inaccurate timestamp issue is irrelevant to the request rate limit.

from tickertick-api.

hczhu avatar hczhu commented on July 26, 2024

I fixed a bug which was causing the timestamp off by a few hours.
@shehan011
I should've paid closer attention.

from tickertick-api.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.