Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with decimal places. #8

Closed
penguinawesome opened this issue Oct 17, 2014 · 1 comment
Closed

Issue with decimal places. #8

penguinawesome opened this issue Oct 17, 2014 · 1 comment
Labels

Comments

@penguinawesome
Copy link

Stock prices that has more than 2 decimal places are inaccurate when using this API it rounded-off to 2 decimal places. Example: EG, AR, GREEN, and etc. Please increase the decimal places upto 4 thanks!

@edgedalmacio
Copy link
Collaborator

Hi, sorry for not getting back to you sooner.

This is an issue from the raw PSEi feed, notice the lastTradedPrice below:

{ "indicator" : "N",
  "indicatorImg" : "",
  "lastTradedPrice" : "0.02",
  "percChangeClose" : "0",
  "securityAlias" : "E-Games",
  "securitySymbol" : "EG",
  "totalVolume" : "51,200,000"
}

This is a similar issue to #4

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

No branches or pull requests

2 participants