getquote

Getquote implementation for ledger(1)
Log | Files | Refs | README

getquote.5 (918B)


      1 .Dd January 22, 2026
      2 .Dt GETQUOTE 5
      3 .Os
      4 .Sh NAME
      5 .Nm getquote
      6 .Nd getquote configuration file
      7 .Sh DESCRIPTION
      8 The
      9 .Nm
     10 configuration file defines symbol aliases and treatment for
     11 .Xr getquote 1 .
     12 .Pp
     13 The file contains tab delimited symbol-value pairs, one per line.
     14 The value can either be an action or an alias. An action is one of
     15 quote or exchange, an alias starts with equals (`=`) followed by
     16 the alias.  Aliases must not be circular definitions.
     17 .Pp
     18 .Ed
     19 .Sh FILES
     20 .Bl -tag -width Ds
     21 .It Pa $XDG_CONFIG_HOME/getquote/config
     22 Configuration file for
     23 .Xr getquote 1 .
     24 .El
     25 .Sh EXAMPLES
     26 An example configuration file is shown below:
     27 .Bd -offset indent -literal
     28 # Quote by default
     29 *	quote
     30 
     31 # Use exchange action on the following symbols
     32 BTC	exchange
     33 XMR	exchange
     34 EUR	exchange
     35 
     36 # Define Bitcoin as an alias for BTC
     37 Bitcoin	=BTC
     38 .Ed
     39 .Sh SEE ALSO
     40 .Xr getquote 1
     41 .Sh AUTHORS
     42 .An Jacob R. Edwards Aq Mt jacob@jacobedwards.org