Commit graph

48 commits

Author SHA1 Message Date
f88b70c2e2
mmnode-ticker: support nested assets in ticker-portfolio.yaml 2026-01-27 08:47:29 +00:00
f5c165c362
whitespace, minor cleanups and fixes 2025-12-08 14:57:31 +00:00
d02c9936ef
mmnode-ticker: fix market cap sort with USD row 2025-10-22 10:33:16 +00:00
84e8ea65d0
mmnode-ticker: display percent change columns in terms of non-USD assets
Any crypto or finance asset may be specified.

Examples:

    # Display percentage changes in relation to Bitcoin:
    $ mmnode-ticker --widest --pchg-unit=btc

    # In relation to Gold:
    $ mmnode-ticker --widest --pchg-unit=gc=f

    # In relation to Euros:
    $ mmnode-ticker --widest --pchg-unit=eurusd=x

    # In relation to the Nasdaq Index:
    $ mmnode-ticker --widest --pchg-unit=^ixic
2025-10-20 09:14:34 +00:00
2647fa1fe3
mmnode-ticker: minor cleanups 2025-10-20 09:14:30 +00:00
8f9c4ba48c
mmnode-ticker --sort: handle missing entries in source data 2025-10-17 09:08:00 +00:00
0a953e3ca0
mmnode-ticker: sort output by various parameters
Supported parameters:

    d - 1-day % change
    w - 1-week % change
    m - 1-month % change
    y - 1-year % change
    p - asset price
    c - market cap

Examples:

    # Display top 50 assets by market cap, sorting by price change
    # in last 24 hours:
    $ mmnode-ticker --sort=d 50
2025-10-16 17:09:15 +00:00
e6d62fd18b
mmnode-ticker: display coin ranking in first column 2025-10-16 17:09:15 +00:00
e71ef141bf
mmnode-ticker: minor cleanups 2025-10-16 17:09:09 +00:00
9aa4b4dcfe
mmnode-ticker: add MarketCap column
Column is enabled automatically when script is invoked in market cap mode.
2025-10-15 10:14:20 +00:00
253aa14a26
Ticker.py: new RowDict class 2025-10-15 10:14:20 +00:00
3f921d333c
Ticker.py: parse_asset_id(): unify call signature 2025-10-15 10:14:20 +00:00
c1f42fc25b
mmnode-ticker: various fixes and cleanups 2025-10-15 10:14:14 +00:00
060b968ad4
mmnode-ticker: display crypto assets by market cap
Examples:

    # Display top 2000 assets by market cap:
    $ mmnode-ticker 2000

    # Display assets 201-300 by market cap, displaying all available columns:
    $ mmnode-ticker --widest 201-300

    # Display asset 32 by market cap:
    $ mmnode-ticker 32-32

Testing/demo:

    $ test/cmdtest.py -e scripts.ticker
2025-10-13 14:59:00 +00:00
083b29eae8
mmnode-ticker: minor fixes and cleanups 2025-10-13 14:59:00 +00:00
9ffaed6a91
mmnode-ticker: improve options setting
Options set in the cfg file can now be unset on the command line, e.g.:

    $ mmnode-ticker --no-quiet --no-cached-data
2025-10-13 14:58:54 +00:00
e7de689079
mmnode-ticker: cache network data after parsing 2025-10-12 10:01:51 +00:00
3b8aede9ba
Ticker.gen_data(): new process_data class 2025-10-12 10:01:51 +00:00
a8adef0be5
mmgen-ticker: various fixes and cleanups 2025-10-12 10:01:51 +00:00
313c7af4bb
mmgen-ticker: test caching JSON data 2025-10-12 10:01:51 +00:00
de833d75af
whitespace, variable renames 2025-10-12 10:01:47 +00:00
b9957f9182
mmnode-ticker: support --http-timeout option 2025-10-04 09:57:02 +00:00
0b79ef719b
whitespace, minor changes (16 files) 2025-10-04 09:56:55 +00:00
MMGen@trixie
37c74e361c
use match statement where practicable 2025-10-01 15:26:42 +00:00
MMGen@trixie
4d1f4577a7
lint, whitespace 2025-10-01 15:26:41 +00:00
966c171650
update for MMGen Wallet v15.1.dev20 2025-03-15 18:23:16 +00:00
18a92cd461
mmnode-ticker: add --quiet option, back up cached JSON data 2024-07-19 09:53:52 +00:00
867026e8ed
mmnode-ticker: add config file vars
The following command-line opts are now configurable in ‘ticker-cfg.yaml’:

    add_precision
    asset_limit
    btc
    cached_data
    elapsed
    name_labels
    pager
    percent_cols
    thousands_comma
    update_time
    verbose
2024-03-10 14:44:57 +00:00
c4ace71049
minor fixes and cleanups 2024-03-10 14:44:57 +00:00
7c7c2c7da8
mmnode-ticker: backport fix for Python 3.9 2024-02-10 15:15:18 +00:00
6f2925f797
test/init.sh, MANIFEST.in: fixes, cleanups 2024-02-10 15:15:18 +00:00
56327412ca
update for mmgen-wallet v14.0.dev22 2023-11-20 14:45:15 +00:00
af7c14fe36
mmnode-ticker: get historical financial data from Yahoo Finance 2023-11-05 13:40:23 +00:00
545bc044c6
mmnode-ticker: add year and month percentage change columns 2023-11-05 13:40:23 +00:00
77d8ffb7b9
mmnode-ticker: use coinpaprika tickers API call 2023-11-05 13:40:23 +00:00
94c61d6807
mmnode-ticker: convert amounts to type Decimal on input 2023-11-05 13:40:23 +00:00
e94f036c73
mmnode-ticker: cleanups 2023-11-05 13:40:22 +00:00
3f76be1ab8
minor fixes and cleanups 2023-10-13 09:50:15 +00:00
df620f923f
minor fixes and cleanups 2023-10-03 14:42:51 +00:00
fd318909c2
mmnode-ticker: retrieve financial data from Yahoo Finance 2023-09-25 15:53:02 +00:00
d29e34c221
mmnode-ticker: support multiple data sources 2023-09-25 15:53:02 +00:00
6074a0e42a
mmnode-ticker: fixes and cleanups throughout 2023-09-25 15:53:02 +00:00
30d8a4a871
update for MMGen v13.3.dev42 2023-03-28 18:16:33 +00:00
cb93e52755
update for MMGen v13.3.dev6 2022-10-17 18:35:55 +00:00
f9ba7b89c8
mmnode-ticker: support rate asset in asset specifier
This feature adds convenience for users whose native currencies are pegged to
assets other than the US Dollar.

Example:

    # Add a column for Bulgarian Lev, which is pegged to the Euro at 0.5113 EUR:
    $ mmnode-ticker -wE -c eur,bgn-bulgarian-lev:0.5113r:eur

Testing / demo:

    $ test/test.py -e scripts.ticker
2022-08-06 09:48:48 +00:00
3fd9c971bf
minor cleanups 2022-08-06 09:48:48 +00:00
015de30cdd
mmnode-ticker: support reverse USD rate in asset specifier
Testing / demo:

    $ test/test.py -e scripts.ticker
2022-08-05 12:10:02 +00:00
e7fcc00b95
new script: mmnode-ticker
Display cryptocurrency and other asset prices in convenient tabular format,
with optional display of your portfolio.  Output is highly configurable.

Usage information:

    $ mmnode-ticker --help
2022-08-04 14:16:28 +00:00