MadeInPierre / finalynx

A minimalistic companion (CLI & web) to organize your investment portfolio, simulate its future, and reach your life goals.
https://finalynx.readthedocs.io
GNU General Public License v3.0
65 stars 13 forks source link

Enable disabling the "render_delta" for targets #60

Closed Varal7 closed 1 year ago

Varal7 commented 1 year ago

It seems like Finalynx allows customizing which info to display the --format argument. However, even with the barebones python demo.py --format "[name]", I can't seem to deactivate render_delta for targets.

My current solution is to do

class MyFolder(Folder):
    def _render_delta(self, *args, **kwargs):
        return ""

And then use MyFolder whenever.

Works ok enough I guess

MadeInPierre commented 1 year ago

The right column with deltas acts as an independent sidecar (this was the only way I found to align all deltas vertically on the right). You can try disabling this right panel with:

python your_config.py --hide-deltas  # type --help for more ideas

In the future, I'd like to customize this column further and show any info (i.e. create an output format option for this sidecar).

Varal7 commented 1 year ago

Ok, sorry I didn't look hard enough.