Skip to content

Instantly share code, notes, and snippets.

View mdriesch's full-sized avatar
🎯
Focusing

Michael von den Driesch mdriesch

🎯
Focusing
View GitHub Profile
@mdriesch
mdriesch / fifo_bond_accounting.py
Last active November 6, 2022 13:55
Python Class for LiFo, FiFo and AVCO Accounting of bonds
"""
Copyright (C) 2017 Michael von den Driesch
This file is just a simple implementation of a python class allowing for various
*booking* types (LIFO, FIFO, AVCO)
This *GIST* is free software: you can redistribute it and/or modify it
under the terms of the BSD-2-Clause (https://opensource.org/licenses/bsd-license.html).
This program is distributed in the hope that it will be useful, but WITHOUT