Skip to content

Commit

Permalink
[fixtures] regen
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Jan 14, 2024
1 parent 606269b commit e14ee58
Show file tree
Hide file tree
Showing 16 changed files with 1,170 additions and 668 deletions.
454 changes: 326 additions & 128 deletions tests/fixture/inr-beancount/allocation.json

Large diffs are not rendered by default.

42 changes: 32 additions & 10 deletions tests/fixture/inr-beancount/assets_balance.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,58 @@
"asset_breakdowns": {
"Assets": {
"group": "Assets",
"investmentAmount": 98024.89870848,
"investmentAmount": 98025.35141380237,
"withdrawalAmount": 10027.3,
"marketAmount": 101245.7,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 12.84,
"gainAmount": 13248.10129152,
"absoluteReturn": 0.1351503696108785
"gainAmount": 13247.648586197629,
"absoluteReturn": 0.1351451272056578
},
"Assets:Checking": {
"group": "Assets:Checking",
"investmentAmount": 0,
"withdrawalAmount": 0,
"marketAmount": 13002.40129152,
"marketAmount": 13001.94858619763,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 46.91,
"gainAmount": 13002.40129152,
"gainAmount": 13001.94858619763,
"absoluteReturn": 0
},
"Assets:Coinbase": {
"group": "Assets:Coinbase",
"investmentAmount": 0.03440667277056,
"withdrawalAmount": 0,
"marketAmount": 0.03440667277056,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 0,
"gainAmount": 0,
"absoluteReturn": 0
},
"Assets:Coinbase:BTC": {
"group": "Assets:Coinbase:BTC",
"investmentAmount": 0.03440667277056,
"withdrawalAmount": 0,
"marketAmount": 0.03440667277056,
"balanceUnits": 1e-8,
"latestPrice": 0,
"xirr": 0,
"gainAmount": 0,
"absoluteReturn": 0
},
"Assets:Equity": {
"group": "Assets:Equity",
"investmentAmount": 98024.89870848,
"investmentAmount": 98025.3170071296,
"withdrawalAmount": 10027.3,
"marketAmount": 88243.29870848,
"marketAmount": 88243.7170071296,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 3.23,
"gainAmount": 245.7,
"absoluteReturn": 0.0025065060330304
"absoluteReturn": 0.0025064953371396
},
"Assets:Equity:AAPL": {
"group": "Assets:Equity:AAPL",
Expand All @@ -46,9 +68,9 @@
},
"Assets:Equity:ABNB": {
"group": "Assets:Equity:ABNB",
"investmentAmount": 8024.89870848,
"investmentAmount": 8025.3170071296,
"withdrawalAmount": 0,
"marketAmount": 8024.89870848,
"marketAmount": 8025.3170071296,
"balanceUnits": 0.76,
"latestPrice": 0,
"xirr": 0,
Expand Down
4 changes: 2 additions & 2 deletions tests/fixture/inr-beancount/budget.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"availableForBudgeting": 13002.40129152,
"availableForBudgeting": 13001.94858619763,
"budgetsByMonth": {},
"checkingBalance": 13002.40129152
"checkingBalance": 13001.94858619763
}
8 changes: 4 additions & 4 deletions tests/fixture/inr-beancount/cash_flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"income": 121027.3,
"expenses": 20000,
"liabilities": 0,
"investment": 88024.89870848,
"investment": 88025.35141380237,
"tax": 0,
"checking": 13002.40129152,
"balance": 13002.40129152
"checking": 13001.94858619763,
"balance": 13001.94858619763
},
{
"date": "2022-02-01T00:00:00Z",
Expand All @@ -18,7 +18,7 @@
"investment": 0,
"tax": 0,
"checking": 0,
"balance": 13002.40129152
"balance": 13001.94858619763
}
]
}
1 change: 1 addition & 0 deletions tests/fixture/inr-beancount/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"Assets:Equity:NIFTY",
"Assets:Equity:ABNB",
"Assets:Equity:AAPL",
"Assets:Coinbase:BTC",
"Income:CapitalGains:Equity:AAPL",
"Income:Interest:Checking"
],
Expand Down
Loading

0 comments on commit e14ee58

Please sign in to comment.