Commit Graph

769 Commits

Author SHA1 Message Date
21967e711d container: lib_taxes: remove unused arg expansion, appease the linter
shellcheck will complain about the need for expansions but the
asked-for expansions will not actually be used (thus the TODO).
2025-01-31 19:23:18 -08:00
08c1de5d9d container: lib_taxes: optimize record printing, add checks and logging
- When applicable, as the stream progresses, exit each successive gawk
  iteration when no applicable records are present (no taxable events
  found for the given tag in the given year).

  Previously, when no records were found, a reports file was produced
  with either a single header-only row or junk data that resulted from
  the assumption there would be real data.

  A preexisting hack prevented the junk data from being written after
  production but this commit will resolve that hack by preventing the
  printing of junk data while also preventing the production of a
  header-only file.

- Print warnings when no taxable events are found for the given year.

- Add checks:
  * Only verify patched files if the patched files are not empty.
  * Empty variable checks.
2025-01-31 19:23:18 -08:00
a1eff15e8b Merge pull request #178 into master
6c6ab9c hledger-flow: ethereum-based: add COMP rewards (Aaron Fiore)
7c78e9e hledger-flow: ledger: skip COMP token (Aaron Fiore)
2025-01-31 19:21:31 -08:00
6c6ab9c41d hledger-flow: ethereum-based: add COMP rewards 2025-01-31 19:19:50 -08:00
7c78e9e647 hledger-flow: ledger: skip COMP token
Supported by `fetch` (ethereum-based).
2025-01-31 19:19:50 -08:00
d850953c71 Merge pull request #177 into master
32cc921 client: docker-finance.d: fetch: remove unused CDP YAML key (Aaron Fiore)
2025-01-31 19:18:27 -08:00
32cc9215d7 client: docker-finance.d: fetch: remove unused CDP YAML key
Fixup to a52f7e2218
2025-01-30 18:57:11 -08:00
eb37fe246c Merge pull request #176 into master
a52f7e2 client: docker-finance.d: fetch: remove unused YAML keys (Aaron Fiore)
ca31fef client: docker-finance.d: fetch: update Coinbase CDP key (Aaron Fiore)
2025-01-27 19:52:56 -08:00
a52f7e2218 client: docker-finance.d: fetch: remove unused YAML keys 2025-01-23 20:10:07 -08:00
ca31fef052 client: docker-finance.d: fetch: update Coinbase CDP key
Support for Legacy Keys will be removed on 2025-02-05.
2025-01-23 20:09:53 -08:00
decefef270 Merge pull request #175 into master
c3e5f90 CHANGELOG: add v1.0.0-rc.1 (Aaron Fiore)
22f9e97 client: manifest: bump version to v1.0.0-rc.1 (Aaron Fiore)
v1.0.0-rc.1
2025-01-23 00:39:39 -08:00
c3e5f90bdf CHANGELOG: add v1.0.0-rc.1 2025-01-22 21:53:23 -08:00
22f9e972ad client: manifest: bump version to v1.0.0-rc.1 2025-01-10 20:12:23 -08:00
35d7d88bff Merge pull request #174 into master
36c0c93 container: lib_taxes: reorder obfs columns (Aaron Fiore)
2025-01-10 19:37:01 -08:00
36c0c93390 container: lib_taxes: reorder obfs columns
Sorted raw values take legibility precedence over sorted obfs keys.
2025-01-08 23:55:05 -08:00
8208794227 Merge pull request #173 into master
3f7e856 container: fetch: coinbase: reinstate sort (remove pessimization) (Aaron Fiore)
2025-01-08 22:35:45 -08:00
3f7e8569fe container: fetch: coinbase: reinstate sort (remove pessimization)
Without this sort, transactions will not actually be written...
2025-01-08 20:51:33 -08:00
ce07ba3841 Merge pull request #172 into master
95c7212 container: fetch: coinbase: remove sort (optimize) (Aaron Fiore)
8003929 container: fetch: coinbase: fix/update pagination (Aaron Fiore)
2025-01-07 21:23:26 -08:00
95c7212a3d container: fetch: coinbase: remove sort (optimize)
Received transactions are already sorted.
2025-01-07 20:44:48 -08:00
80039297a3 container: fetch: coinbase: fix/update pagination
- Don't break before advancing 'starting_after' cursor
  * Only save given year instead of breaking when not given year

- The 'next_starting_after' cursor now exists within 'info' object
2025-01-07 18:03:13 -08:00
27d1b44adb Merge pull request #171 into master
ed44f1d README: remove funding from donations section (Aaron Fiore)
b782b3c README: clarify crypto trading in highlights (Aaron Fiore)
a5f39dc README: shrink screenshot thumbnail sizes (Aaron Fiore)
2c4b5ba README: fix (reorder) 'dev-tools' build instructions (Aaron Fiore)
2025-01-06 18:19:15 -08:00
ed44f1d4f2 README: remove funding from donations section
No donations have come through. All development is privately funded.
2025-01-06 18:18:29 -08:00
b782b3ca2a README: clarify crypto trading in highlights 2025-01-06 18:18:29 -08:00
a5f39dc5ab README: shrink screenshot thumbnail sizes 2025-01-06 18:18:29 -08:00
2c4b5bae91 README: fix (reorder) 'dev-tools' build instructions 2025-01-06 18:18:29 -08:00
819fcccb6f Merge pull request #170 into master
11a154b client: docker-finance.d: fetch: add coinomi example (Aaron Fiore)
2025-01-06 17:42:14 -08:00
11a154b87e client: docker-finance.d: fetch: add coinomi example
NOTE: exported CSV still required for all other networks.
2025-01-06 17:41:20 -08:00
7cdfb7abf9 Merge pull request #169 into master
5053990 README: remove bittrex (fetch support) (Aaron Fiore)
9034346 container: fetch: remove bittrex (Aaron Fiore)
c7ba59c container: lib_fetch: remove bittrex (Aaron Fiore)
44560d7 README: remove coinbase-pro (fetch support) (Aaron Fiore)
0e0ae15 client: docker-finance.d: fetch: remove coinbase-pro (Aaron Fiore)
6704b3e client: Dockerfiles: local: finance: remove coinbase-pro (Aaron Fiore)
f7cf8ca container: fetch: remove coinbase-pro (Aaron Fiore)
ae3caef container: lib_fetch: remove coinbase-pro (Aaron Fiore)
58e860d container: fetch: remove celsius (Aaron Fiore)
d8a1b4c container: lib_fetch: remove celsius (Aaron Fiore)
2025-01-06 17:38:53 -08:00
5053990d34 README: remove bittrex (fetch support)
NOTE: hledger-flow is still available for old accounts.
2025-01-04 01:16:05 -08:00
9034346426 container: fetch: remove bittrex 2025-01-04 01:16:05 -08:00
c7ba59cfa1 container: lib_fetch: remove bittrex 2025-01-04 01:16:05 -08:00
44560d7ec1 README: remove coinbase-pro (fetch support)
NOTE: hledger-flow is still available for old accounts.
2025-01-04 01:16:05 -08:00
0e0ae15adb client: docker-finance.d: fetch: remove coinbase-pro 2025-01-04 01:16:05 -08:00
6704b3ec21 client: Dockerfiles: local: finance: remove coinbase-pro 2025-01-04 01:16:05 -08:00
f7cf8ca960 container: fetch: remove coinbase-pro 2025-01-04 01:16:05 -08:00
ae3caef110 container: lib_fetch: remove coinbase-pro 2025-01-04 01:16:04 -08:00
58e860dd94 container: fetch: remove celsius 2025-01-04 01:16:02 -08:00
d8a1b4cff1 container: lib_fetch: remove celsius 2025-01-04 01:15:59 -08:00
a17812672b Merge pull request #168 into master
69421e2 container: hledger-flow: electrum: use transaction label for tax memo (Aaron Fiore)
2025-01-03 21:46:55 -08:00
69421e2423 container: hledger-flow: electrum: use transaction label for tax memo
Even though the transaction label is already included as a notes tag,
having this information as a memo for tax reports is incredibly helpful.
2025-01-03 21:45:47 -08:00
2ac131513e Merge pull request #167 into master
6ea1e56 container: hledger-flow: ethereum-based: add to Polygon spam rules (Aaron Fiore)
2025-01-03 21:44:35 -08:00
6ea1e56317 container: hledger-flow: ethereum-based: add to Polygon spam rules 2025-01-03 21:43:25 -08:00
a1e229b2a6 Merge pull request #166 into master
467cfa2 container: hledger-flow: coinbase-pro: fix default account2 for sells (Aaron Fiore)
2025-01-03 21:42:18 -08:00
467cfa2f36 container: hledger-flow: coinbase-pro: fix default account2 for sells 2025-01-03 21:41:24 -08:00
d971ac7ede Merge pull request #165 into master
da57805 container: hledger-flow: trezor: fix fees subaccount ordering (Aaron Fiore)
7b65d5d container: hledger-flow: ledger: fix fees subaccount ordering (Aaron Fiore)
fc1691e container: hledger-flow: blockfi: fix fees subaccount ordering (Aaron Fiore)
2025-01-03 21:40:16 -08:00
da57805c79 container: hledger-flow: trezor: fix fees subaccount ordering
Keep consistent with all other rules.
2025-01-03 21:39:11 -08:00
7b65d5d6e2 container: hledger-flow: ledger: fix fees subaccount ordering
Keep consistent with all other rules.
2025-01-03 21:39:11 -08:00
fc1691e727 container: hledger-flow: blockfi: fix fees subaccount ordering
Keep consistent with all other rules.
2025-01-03 21:39:11 -08:00
3bb2d00e39 Merge pull request #164 into master
c8e80e0 container: hledger-flow: ledger: add more compound tokens (Aaron Fiore)
2025-01-03 21:37:09 -08:00
c8e80e0c19 container: hledger-flow: ledger: add more compound tokens 2025-01-02 20:43:56 -08:00