Skip to content

Changed price-types to decimals#56

Open
AndreasHoffmann2 wants to merge 1 commit into
EodHistoricalData:masterfrom
AndreasHoffmann2:double-to-decimals
Open

Changed price-types to decimals#56
AndreasHoffmann2 wants to merge 1 commit into
EodHistoricalData:masterfrom
AndreasHoffmann2:double-to-decimals

Conversation

@AndreasHoffmann2

Copy link
Copy Markdown

Since we are dealing with a financial API here, I suggest changing all the number-types to "decimal". This avoids issues with doubles differing in the least significant bit somewhere and creating unwanted effects.

I did it for historic prices only since this is the only method I used so far. Let me know how you feel about this. I could of course change the rest as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant