Commit Graph

56 Commits

Author SHA1 Message Date
adebadbaa9 container: lib_edit: add hledger conf support 2024-07-08 18:13:34 -07:00
5b17bd38aa hledger-flow: coinbase: update mockups to latest impl 2024-07-03 19:05:39 -07:00
07023ea952 hledger-flow: coinbase: refactor for ccxt raw ledger
ccxt's raw ledger object resides in [info]
2024-07-03 19:05:39 -07:00
2d3ab7857c php: coinbase: use ccxt end-user public-facing API
A recent combination of Coinbase and ccxt changes will now result in
authentication errors (server error 401) because of docker-finance's
coinbase implementation (specifically, direct calls to internal ccxt).

docker-finance's previous usage of request() meant hooking into the
underlying ccxt API and not the end-user public-facing API (publicly
documented - not necessarily the "public" vs "private" APIs provided by
exchanges, as seen in ccxt documentation).

This direct usage of request() was obviously never recommended but it
was always easier to interact with to get to the underlying raw object
(at least at the time of original docker-finance coinbase writing).

Since it appears that ccxt has refactored the authentication mechanism
related to request(), this commit also refactors in order to provide a
working fix for authentication.
2024-07-03 19:05:39 -07:00
42e97cb3e4 hledger-flow: ledger: skip aEthWETH
Currently handled by `fetch` and 'blockchain-explorers/ethereum-based'.
2024-07-02 17:46:30 -07:00
e5706103e6 hledger-flow: ledger: add 'Status' column
Refactored for upstream addition.
2024-07-02 17:46:25 -07:00
d93d2dd17c container: lib_finance: call root with $ROOTSYS
Non-packaged pre-compiled ROOT.cern is not installed to /usr/bin
2024-06-28 17:30:36 -07:00
369e2343ce client/container: bash: trivial impl for ledger-vui
Leverages journal to visidata for an alternative read-only terminal UI.
2024-06-24 16:59:37 -07:00
a461cda2ff container: bash: lib_edit: add iadd
Upstream will still need to add comment/metadata functionality to iadd.
2024-06-24 16:59:37 -07:00
3c6c9311da client/container: bash: add hledger aliases
The original intent of the `ledger` facade was to describe a general
purpose "ledger" command abstraction; not specifically the `ledger`
software (predecessor to hledger) nor the `ledger` hardware device.

As `hledger` is currently the exclusive internal "ledger" component,
adding `hledger` as an alias seems to be an appropriate-enough addition
that won't break existing abstraction/functionality.
2024-06-24 16:59:34 -07:00
d5220d151e hledger-flow: coinbase: rules: catch Advanced Trade 0-value txs
- Removes 0-values from first double entry while retaining metadata
- Catches less-than-a-penny commissions in those same transactions
2024-06-24 14:32:12 -07:00
e3d1fc4925 hledger-flow: coinbase: preprocess: fix Advanced Trade divide by zero 2024-06-24 14:32:12 -07:00
c68c25dba4 php: fetch: gemini: update to ccxt's latest request() signature
The context argument was removed from upstream's signature.
2024-06-21 21:12:04 -07:00
0014440e38 php: fetch: run linter 2024-06-21 21:11:48 -07:00
a9d4afd1df bash: lib_fetch: prices: CLI: allow multiple APIs
- Fetch from all available price APIs within a single command
  * allows passing multiple CLI APIs to `api` argument
  * will now fetch from all available APIs if `api` is not given
  * will warn if API config block is missing or die of no APIs are found
- Related refactoring
2024-06-18 18:59:42 -07:00
cb7eb80cb5 php: fetch: prices: crypto: use inherited doxygen 2024-06-17 23:15:23 -07:00
c8fde5ad64 bash: lib_fetch: refactor 'symbol' as 'asset' or 'ticker'
Clarity through specificity.
2024-06-17 23:15:23 -07:00
fcf7e3dd6b php: fetch: prices: refactor 'symbol' as 'asset' or 'ticker'
Clarity through specificity.
2024-06-17 23:15:23 -07:00
ae1dc71559 php: fetch: prices: support asset's blockchain(s)
- Related refactoring
- Update documentation
2024-06-17 23:15:23 -07:00
bf4c9bf61a php: fetch: prices: refactor parsing; common impl
- Move daily average into common impl
- Update parsing function signature
- Update documentation
2024-06-17 23:15:23 -07:00
9d1c0c9c57 php: fetch: prices: add Mobula support 2024-06-17 23:15:22 -07:00
1dce605854 php: fetch: prices: generalize crypto APIs' filename, namespace refactor 2024-06-17 23:15:22 -07:00
103553c696 php: fetch: prices: base: print thrown message 2024-06-17 23:15:22 -07:00
e632c44bc3 php: fetch: prices: coingecko: remove upstream client, add API key support
- Removes `codenixsv/coingecko-api`
- Adds Pro API support
- Related refactoring
2024-06-17 23:15:22 -07:00
52026cace1 php: fetch: prices: new functionality / refactor
- Add support for multiple aggregator APIs
- Refactor `prices` API implementation
- Update documentation
2024-06-17 23:15:22 -07:00
e9e8b84bd8 bash: lib_fetch: add CLI (prices) aggregator-API support 2024-06-17 21:34:36 -07:00
71960c106a hledger-flow: coinbase: allow 1INCH parsing 2024-06-10 18:09:13 -07:00
ce61e854ae hledger-flow: gemini: allow 1INCH transfers 2024-06-10 18:05:07 -07:00
a85ce38ef3 Merge pull request #55 into master
a3d4726 hledger-flow: ethereum-based: add to Ethereum spam rules (Aaron Fiore)
2024-06-07 13:58:13 -07:00
3f2328d3df Merge pull request #54 into master
168ff32 hledger-flow: algorand: add to spam rules (Aaron Fiore)
2024-06-07 13:56:25 -07:00
a08ae2098e hledger-flow: ally: add eCheck deposit rule 2024-06-07 13:33:01 -07:00
a3d4726c18 hledger-flow: ethereum-based: add to Ethereum spam rules 2024-06-06 19:12:57 -07:00
168ff3219b hledger-flow: algorand: add to spam rules 2024-06-06 18:52:59 -07:00
290aa7c933 hledger-flow: ally: comment cleanup
Case-sensitive representation of header columns
2024-06-06 18:42:30 -07:00
36d99e1da3 hledger-flow: ally: regex anchor for Direction 2024-06-06 18:42:28 -07:00
f12754c98a hledger-flow: ally: remove quotes in Description 2024-06-06 18:34:08 -07:00
3040fb9e60 hledger-flow: ally: fix Description
Descriptions with leading space were falsely included as `Type` tag
2024-06-06 18:32:22 -07:00
e6ab8b5ddf hledger-flow: gemini: allow optional on-chain transfers
Fixes "does not exist as a named header in the given CSV data." when
on-chain transfer does not (yet) exist for given year.
2024-05-29 19:36:28 -07:00
71a57e3869 hledger-flow: coinbase: Coinbase Trade: remove comment2 overwrite
- Use Buy total for cost-basis instead of subtotal overwrite
  - Remove redundant Sell overwrite

Fixup to pull request #49
2024-05-06 18:56:10 -07:00
71fc44bb63 hledger-flow: coinbase: update mockups (SIWC V2 compliant) 2024-05-06 14:55:53 -07:00
f65a15af2c hledger-flow: coinbase: new implementation (SIWC V2 compliant)
- Support for Coinbase SIWC Spring 2024's breaking API changes
  - Coinbase Advanced Trade lot calculation fixes
  - bitcoin.tax undocumented cost-basis "feature" fixes
      * Coinbase Trade / Advanced Trade
  - bitcoin.tax cost-basis related improvements
      * Coinbase Card / Earn
  - Support non-fiat pairings
      * Coinbase Trade / Advanced Trade
  - Add more fiat support
      * 99% supported (see backreference TODOs)
  - Subaccount improvements
  - New tags / improved tags
  - Refactoring / optimizations
2024-05-06 14:55:53 -07:00
e70c899f90 fetch: php: coinbase: add debug printing, tiny refactor 2024-05-03 17:01:23 -07:00
10a08af7c8 hledger-flow: paypal-business: account for Account Hold 2024-04-22 16:25:44 -07:00
b0794b3650 hledger-flow: algorand: add to Governance Rewards 2024-04-15 15:56:28 -07:00
7437f87f20 hledger-flow: algorand: add to spam rules 2024-04-15 15:56:28 -07:00
784f576eab hledger-flow: ethereum-based: add Aave V2 -> V3 Migration Helper support 2024-04-03 00:08:18 -07:00
d31ed3a18b hledger-flow: ethereum-based: add to Ethereum spam rules 2024-04-03 00:08:09 -07:00
0eb6813511 Merge pull request #44 into master
937a217 hledger-flow: btcpayserver: preprocess: fix YYY comment typo (Aaron Fiore)
2024-03-27 23:28:55 -07:00
616a808b50 Merge pull request #43 into master
bab3021 hledger-flow: electrum: add GIFTIN fiat_value cost-basis note (Aaron Fiore)
5951faf hledger-flow: electrum: add fiat_value to all outgoing expenses (Aaron Fiore)
5d0942e hledger-flow: electrum: add subaccount to applicable memos (Aaron Fiore)
8786090 hledger-flow: electrum: clarify SPEND comment (Aaron Fiore)
2024-03-27 23:26:38 -07:00
937a217245 hledger-flow: btcpayserver: preprocess: fix YYY comment typo 2024-03-27 00:48:43 -07:00