Skip to content

Conversation

@Rickebo
Copy link

@Rickebo Rickebo commented Aug 19, 2024

Some languages use other decimal points than .. Yahoo uses the dot as a decimal point in its API though, and therefore, parsing decimals with just decimal.TryParse fails when OS is set up to use other characters such as ,. This change forces decimals to be parsed using the dot as decimal point to fix the problem.

@Matthiee
Copy link
Member

Hi @Rickebo thank you for your contribution. The changes look good and I can merge the PR, however, I will not be able to push a new Nuget until the failing tests have been fixed.

@Rickebo
Copy link
Author

Rickebo commented Aug 20, 2024

Looks like the API is returning a 401 when requesting quotes, and doesn't appear to be related to my change. I started working on a solution by requesting a crumb from the API but I don't have time to finish it currently.

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.

2 participants