Example plugin which inserts transactions.
plugin "limabean.contrib.plugins.examples.magic-money" "{:units 1000.00M :cur \"USD\" :acc \"Equity:Rich-American-Uncle\"}"
The config string is optional.
After every open directive, inserts a transaction that transfers money from the equity account.
Additionally, just before the first open directive, a new open directive for the magic equity account is inserted.
The amount and account name are given in the config, or defaults are used if the config is omitted.
This is an example of a stateful transducer.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |