tariochbctools 1.0.0__py2.py3-none-any.whl → 1.0.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tariochbctools/importers/bitst/importer.py +7 -2
- tariochbctools/importers/blockchain/importer.py +1 -1
- tariochbctools/importers/ibkr/importer.py +1 -1
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/METADATA +1 -1
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/RECORD +9 -9
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/LICENSE.txt +0 -0
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/WHEEL +0 -0
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/entry_points.txt +0 -0
- {tariochbctools-1.0.0.dist-info → tariochbctools-1.0.1.dist-info}/top_level.txt +0 -0
@@ -70,8 +70,13 @@ class Importer(beangulp.Importer):
|
|
70
70
|
if type == 0:
|
71
71
|
narration = "Deposit"
|
72
72
|
if posCcy:
|
73
|
-
cost = data.
|
74
|
-
self.priceLookup.fetchPriceAmount(posCcy, date),
|
73
|
+
cost = data.CostSpec(
|
74
|
+
self.priceLookup.fetchPriceAmount(posCcy, date),
|
75
|
+
None,
|
76
|
+
"CHF",
|
77
|
+
None,
|
78
|
+
None,
|
79
|
+
False,
|
75
80
|
)
|
76
81
|
postings = [
|
77
82
|
data.Posting(
|
@@ -39,7 +39,7 @@ class Importer(beangulp.Importer):
|
|
39
39
|
|
40
40
|
date = trx["confirmed"].date()
|
41
41
|
price = priceLookup.fetchPriceAmount(currency, date)
|
42
|
-
cost = data.
|
42
|
+
cost = data.CostSpec(price, None, baseCcy, None, None, None, False)
|
43
43
|
|
44
44
|
outputType = "ether" if currency.lower() == "eth" else "btc"
|
45
45
|
amt = blockcypher.from_base_unit(trx["value"], outputType)
|
@@ -3,9 +3,9 @@ tariochbctools/importers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
3
3
|
tariochbctools/importers/bcge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
tariochbctools/importers/bcge/importer.py,sha256=bAQpkBLURatdsfSoMQdiha-8QfExAXXvpzAgnFFMwoE,1176
|
5
5
|
tariochbctools/importers/bitst/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
tariochbctools/importers/bitst/importer.py,sha256=
|
6
|
+
tariochbctools/importers/bitst/importer.py,sha256=PPhg7SspZhY8X3jpnR_t-RrLE-vY9l3wD8hWRqwkbtA,5430
|
7
7
|
tariochbctools/importers/blockchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
tariochbctools/importers/blockchain/importer.py,sha256=
|
8
|
+
tariochbctools/importers/blockchain/importer.py,sha256=Zuld8oll5sItApRSXR-WjhdYywOgi_PoGF3f0uIwRZc,2272
|
9
9
|
tariochbctools/importers/cembrastatement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
tariochbctools/importers/cembrastatement/importer.py,sha256=2vY7bBsVaYoluVO3iGbhcoP2N9eQMYSzjxFgLTCeLT0,3915
|
11
11
|
tariochbctools/importers/general/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -13,7 +13,7 @@ tariochbctools/importers/general/mailAdapterImporter.py,sha256=BHzO38YkWpJf7eB0V
|
|
13
13
|
tariochbctools/importers/general/mt940importer.py,sha256=7fErPpBdpLxICX3lGKtAiVwMW8dudarjDcF-ooFC7mA,2071
|
14
14
|
tariochbctools/importers/general/priceLookup.py,sha256=QjwhxOYuEATwtaHnJ9OKl3D6JcnDJQS_5Wo7dQmFDFM,865
|
15
15
|
tariochbctools/importers/ibkr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
tariochbctools/importers/ibkr/importer.py,sha256=
|
16
|
+
tariochbctools/importers/ibkr/importer.py,sha256=E-xTEbUtdwCOOvgiPxCanzmiH_IRcSY4aWuZKZ3cyhI,8883
|
17
17
|
tariochbctools/importers/neon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
tariochbctools/importers/neon/importer.py,sha256=kz8IEWXh8Sd8ysfKTQ49-rN5RgeD59pB4OgoA3gHLkY,2565
|
19
19
|
tariochbctools/importers/netbenefits/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -47,9 +47,9 @@ tariochbctools/plugins/check_portfolio_sum.py,sha256=naJ2j6BFpQhJhT2c-gfjyIdcYe0
|
|
47
47
|
tariochbctools/plugins/generate_base_ccy_prices.py,sha256=Phw314qox3jpNgC5-GcnmyYcLkMkrd8xsWS-wYwdj6o,1236
|
48
48
|
tariochbctools/plugins/prices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
49
49
|
tariochbctools/plugins/prices/ibkr.py,sha256=GYCjnlF-MK-ZFPEr0M6T4iO3Etq0tMmrMlsHGInXUO8,1405
|
50
|
-
tariochbctools-1.0.
|
51
|
-
tariochbctools-1.0.
|
52
|
-
tariochbctools-1.0.
|
53
|
-
tariochbctools-1.0.
|
54
|
-
tariochbctools-1.0.
|
55
|
-
tariochbctools-1.0.
|
50
|
+
tariochbctools-1.0.1.dist-info/LICENSE.txt,sha256=VR2hkz3p9Sw4hSXc7S5iZTOXGeV4h-i8AO_q0zEmtkE,1074
|
51
|
+
tariochbctools-1.0.1.dist-info/METADATA,sha256=x3oqqW7r-EHMuY9xiUPoI-R3VcM_sn-6G8OEx7I6Rwc,2168
|
52
|
+
tariochbctools-1.0.1.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
|
53
|
+
tariochbctools-1.0.1.dist-info/entry_points.txt,sha256=9xrCCY1wx2zCIsQUOWZelLHDmHw9Oc-ZBAKUIY9lKTA,88
|
54
|
+
tariochbctools-1.0.1.dist-info/top_level.txt,sha256=CiA_NepCI6zDNsaORA55zmpuJFSnTvLESraIL13xiOQ,15
|
55
|
+
tariochbctools-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|