GithubHelp home page GithubHelp logo

Incomplete List of Symbols about phisix HOT 4 CLOSED

phisix-org avatar phisix-org commented on August 20, 2024
Incomplete List of Symbols

from phisix.

Comments (4)

edgedalmacio avatar edgedalmacio commented on August 20, 2024

There are cases when some stocks do not trade for a day or several days. When that happens, the API will return a 404 for the stocks not trading on that day.

Example:

http://phisix-api3.appspot.com/stocks/LBC.2019-12-30.json

  • LBC wasn't trading on Dec 30, 2019, that's why you were getting a 404 response.

http://phisix-api3.appspot.com/stocks/LBC.2019-01-02.json

  • However, if you check LBC for Jan 2, 2020, you would see that it's working as expected.

from phisix.

StockTrackerJ avatar StockTrackerJ commented on August 20, 2024

HI Edge,

Thanks for the clarification. Is it to possible to make it still return the last traded price even for days without a trade? Example, let's say Stock A was traded last Jan 2 with price of P10 with volume of 100K, then no trades on succeeding days, let's say Jan 8 (Trading day), it has no trade but when requested (on said date), will still return a price of P10 with % change of 0 and volume of 0, instead of getting 404 response. Is that possible? Thanks very much for your work. Appreciate it a lot.

from phisix.

alexroldan avatar alexroldan commented on August 20, 2024

I agree with you ... it is better to return the last data instead of removing it from the arrays ...

from phisix.

stale avatar stale commented on August 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from phisix.

Related Issues (20)

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.