-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
66 lines (62 loc) · 2.19 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import os
import sys
# beancount doesn't run from this directory
sys.path.append(os.path.dirname(__file__))
# importers located in the importers directory
from importers.danskebank import DanskeBankImporter
from importers.nordnet import NordnetImporter
from importers.saxobank import SaxoBankImporter
from importers.schwab import CharlesSchwabImporter
from importers.external import UnrealizedGainsImporter
from importers.payslips import VismaPayslipImporter
CONFIG = [
VismaPayslipImporter.Importer(
'Income:Work:GrossSalary',
'Assets:DanskeBank:Checking',
'Expenses:Tax:',
'Assets:Investment:Pension:',
'Income:Pension:',
'Expenses:Consumption:Lunch'
),
DanskeBankImporter.Importer('Assets:DanskeBank:Checking'),
NordnetImporter.Importer(
'Assets:Investment:Nordnet:Depot:Cash',
'Expenses:Trading:Commissions',
'Income:Investment:Nordnet:PnL:Sales',
'Income:Investment:Nordnet:PnL:Dividends',
'Expenses:Tax'
),
SaxoBankImporter.Importer(
'Assets:Investment:SaxoBank:Depot:Cash',
'Expenses:Trading:Commissions',
'Income:Investment:SaxoBank:PnL:Sales',
'Income:Investment:SaxoBank:PnL:Dividends',
'Expenses:Tax'
)#,
#UnrealizedGainsImporter.Importer("No input needed right now")
]
CONFIGPLACEHOLDER = [
DanskeBankImporter.Importer('Assets:DanskeBank:Checking'),
NordnetImporter.Importer(
'Assets:Investment:Nordnet:Depot:Cash',
'Expenses:Trading:Commissions',
'Income:Investment:Nordnet:PnL:Sales',
'Income:Investment:Nordnet:PnL:Dividends',
'Expenses:Tax'
),
SaxoBankImporter.Importer(
'Assets:Investment:SaxoBank:Depot:Cash',
'Expenses:Trading:Commissions',
'Income:Investment:SaxoBank:PnL:Sales',
'Income:Investment:SaxoBank:PnL:Dividends',
'Expenses:Tax'
),
CharlesSchwabImporter.Importer(
'Assets:Investment:Schwab:Depot:Cash',
'Expenses:Trading:Commissions',
'Income:Investment:Nordnet:PnL:Sales',
'Income:Investment:Nordnet:PnL:Dividends',
'Expenses:Tax'
),
UnrealizedGainsImporter.Importer("No input needed right now"),
]