-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse json numbers directly as Decimals in Schwab Equity Award parser. (
#307) * Parse JSON numbers directly as Decimals. We use json.load() custom parser options. This is simpler and safer than the previous default loading as floats, then converted to Decimals as this exposes us to the imprecision of floats. * Fix typo in comment. Co-authored-by: Cosimo Lupo <[email protected]> * Add comment back Co-authored-by: Cosimo Lupo <[email protected]> Co-authored-by: Ruslan Sayfutdinov <[email protected]>
- Loading branch information
1 parent
1610407
commit 03d20b3
Showing
2 changed files
with
65 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters