-
Notifications
You must be signed in to change notification settings - Fork 61
Per wallet application #138
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
Open
eprbell
wants to merge
76
commits into
main
Choose a base branch
from
per_wallet_application
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
7776588
Moved Account class from balance.py to in_transaction.py
eprbell af75c6d
Added originates_from field and improved comments
eprbell b22e4e0
Initial version of transfer analysis
eprbell e48601e
Transfer analysis unit tests
eprbell 6d716e8
Added mypy exceptions for per_wallet_tax_engine.py
eprbell 2a81157
Fixed mypy warinig: removed type annotation from enum values
eprbell 059ab9f
Fixed mypy warinig: removed type annotation from enum values
eprbell 8a5e004
Fixed mypy warinig: removed type annotation from enum values
eprbell fb71b35
Fixed mypy warinig: removed type annotation from enum values
eprbell 8e770b7
Added a few utility methods (reset_partial_amounts, add_acquired_lot,…
eprbell 61bda9e
Refactored get_acquired_lot_for_taxable_event (reduced indentation le…
eprbell ad932f3
Changed long term cap gain detection to use cost_basis_timestamp (ins…
eprbell b93aac0
Added cost_basis_timestamp
eprbell b4746b4
Changed sort_key to use cost_basis_timestamp (instead of timestamp)
eprbell b5ca1c3
Added cost_basis_timestamp
eprbell 4f3e0e1
Added cost_basis_timestamp
eprbell 7c93e24
Added cost_basis_timestamp
eprbell b7ab5e4
Removed and split into 3 files
eprbell 78548ad
Full implementation of transfer analysis
eprbell 0dfd933
Unit test for per-wallet transfer analysis
eprbell d50f228
Added top-level comment
eprbell 2735bae
Added type check in LotCandidates for accounting method
eprbell 33a480a
Added cast to make pylint happy
eprbell 27033c2
Added EOF newline
eprbell a783d45
Reformatted with black
eprbell 9223fb7
Added cast to make pylint happy
eprbell b90d525
Reformatted with black
eprbell efc81a1
Merge branch 'main' into per_wallet_application
eprbell d903e91
Renamed a few files to improve clarity
eprbell 8786e6a
Merge branch 'main' into per_wallet_application
eprbell fd6aaf4
Update src/rp2/in_transaction.py
eprbell 75a1c8d
Added actual amount dictionary (for per-wallet application) and moved…
eprbell 3f9da35
Added parameter names for optional parameters
eprbell d61334d
Moved create_unfiltered_taxable_event_set to InputData
eprbell 76eb950
Various improvements
eprbell 751a94d
Minor format fixes
eprbell 187082b
Updated to new transfer analyzer OO API
eprbell 6eab3d3
Removed resolved TODO
eprbell f7a71fb
Updated to new transfer analyzer OO API
eprbell c5ed0fb
Renamed transfer_analysis_common.py
eprbell 9ec01cb
Added get_acquired_lot_for_timestamp()
eprbell b285b82
Added account to balance map
eprbell afd7923
Added a few utility functions in preparation of global allocation
eprbell c2c4ae4
Minor changes: renamed a few symbols
eprbell 6bd7485
Refactor of old transfer_analysis_test_common.py
eprbell 4fcf1b6
Removed skip_transfer_pointers parameter
eprbell f8963bd
Minor change
eprbell 11763b7
Fixed fee handling bug, added support for per-wallet model without tr…
eprbell b6f01a5
Added actual amount check. Fixed diff display problem.
eprbell ab53be4
Adjusted tests after fixing fee handling bug. Populated want amounts …
eprbell 322a152
Added a few comments
eprbell 252c83d
Added a few more tests
eprbell f3fdd80
Fixed a FIFO test
eprbell ce7af17
Added utility function to serialize InputData as string list (for diffs)
eprbell 3a99d03
Refactored diff logic, added comments, renamed a few symbols.
eprbell c664165
Added local artificial id infrastructure
eprbell 0f3f5e8
Fixed a comment
eprbell 5ddbd4e
Added/renamed test fields.
eprbell 84f5527
Renamed test fields.
eprbell 06986ff
Small changes to a comment
eprbell 556ced3
Added an exception
eprbell 462d9e5
Fixed mypy/pylint warnings
eprbell 878e0d3
Fixed mypy/pylint warnings
eprbell f42a619
Fixed mypy/pylint warnings
eprbell 179855d
Fixed mypy/pylint warnings
eprbell 1953f05
Fixed mypy/pylint warnings
eprbell 67fdf19
Fixed mypy/pylint warnings
eprbell 25f757c
Fixed mypy/pylint warnings
eprbell 9ae5991
Fixed mypy/pylint warnings
eprbell 773d029
Add a TODO
eprbell dc3fcf3
Added actual amount parameter to _create_per_wallet_input_data_from_t…
eprbell 884f30e
Added new test from Github conversation (see https://github.com/eprbe…
eprbell 6707251
Adjusted type hint to be friendly to Python < 3.10
eprbell 8855cd4
Fixed Pylint warnings
eprbell aa480a7
Merge branch 'main' into per_wallet_application
macanudo527 046dfe9
First version of global allocation logic (still incomplete)
eprbell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.