Skip to content

💸 Beancount Importer for Bourse Direct trades history (HTML table) - Pypi package

License

Notifications You must be signed in to change notification settings

ArthurFDLR/beancount-bd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beancount Bourse Direct Importer

GitHub Workflow Status PyPI PyPI - Version GitHub Linting

beancount-bd provides an order history importer for the brooker Bourse Direct to the Beancount format.

Installation

    $ pip install beancount-bd

Usage

Add BDImporter to your Beancount importers config file.

CONFIG = [
    BDImporter(
        account='Assets:FR:BD:PEA',
        fee_category='Expenses:Finances:Commission',
        tickers_lut={
            "AM.E.P.SP500": "PE500",
            "LY.PEANASD": "PUST",
            "MSC.EM": "PAEEM",
            "MSC.EUR": "PCEU",
        }
    ),
]

Contribution

Feel free to contribute!

Please make sure you have Python 3.6+ and Poetry installed.

  1. Git clone the repository - git clone https://github.com/ArthurFDLR/beancount-bd

  2. Install the packages required for development - poetry install

  3. That's basically it. You should now be able to run lint checks and the test suite - make lint test.