FInal commit before stripping down to use FAVA
This commit is contained in:
parent
0b64ffa54f
commit
b9efd166a6
1 changed files with 9 additions and 8 deletions
|
|
@ -188,7 +188,8 @@ class BalanceCalculator:
|
||||||
total_balance -= balance
|
total_balance -= balance
|
||||||
# Equity contributions don't affect what castle owes
|
# Equity contributions don't affect what castle owes
|
||||||
|
|
||||||
# Merge inventories for fiat tracking
|
# Merge inventories for fiat tracking (exclude equity)
|
||||||
|
if account_type != AccountType.EQUITY:
|
||||||
for position in inventory.positions.values():
|
for position in inventory.positions.values():
|
||||||
# Adjust sign based on account type
|
# Adjust sign based on account type
|
||||||
if account_type == AccountType.ASSET:
|
if account_type == AccountType.ASSET:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue