Skip to content

Commit

Permalink
regen fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Jan 20, 2024
1 parent ef51720 commit a3b3afe
Show file tree
Hide file tree
Showing 45 changed files with 3,674 additions and 1,564 deletions.
560 changes: 373 additions & 187 deletions tests/fixture/inr-beancount/allocation.json

Large diffs are not rendered by default.

59 changes: 35 additions & 24 deletions tests/fixture/inr-beancount/assets_balance.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
"asset_breakdowns": {
"Assets": {
"group": "Assets",
"investmentAmount": 98025.35141380237,
"withdrawalAmount": 10027.3,
"marketAmount": 101245.7,
"investmentAmount": 98768.183232,
"withdrawalAmount": 10027,
"marketAmount": 101083.81133819763,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 12.84,
"gainAmount": 13247.648586197629,
"absoluteReturn": 0.1351451272056578
"xirr": 12.18,
"gainAmount": 12342.62810619763,
"absoluteReturn": 0.1249656286296732
},
"Assets:Checking": {
"group": "Assets:Checking",
"investmentAmount": 0,
"withdrawalAmount": 0,
"marketAmount": 13001.94858619763,
"marketAmount": 12097.22810619763,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 46.91,
"gainAmount": 13001.94858619763,
"xirr": 44.97,
"gainAmount": 12097.22810619763,
"absoluteReturn": 0
},
"Assets:Coinbase": {
"group": "Assets:Coinbase",
"investmentAmount": 0.03440667277056,
"investmentAmount": 0,
"withdrawalAmount": 0,
"marketAmount": 0.03440667277056,
"marketAmount": 0,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 0,
Expand All @@ -35,42 +35,53 @@
},
"Assets:Coinbase:BTC": {
"group": "Assets:Coinbase:BTC",
"investmentAmount": 0.03440667277056,
"investmentAmount": 0,
"withdrawalAmount": 0,
"marketAmount": 0.03440667277056,
"marketAmount": 0,
"balanceUnits": 1e-8,
"latestPrice": 0,
"xirr": 0,
"gainAmount": 0,
"absoluteReturn": 0
},
"Assets:Dollar": {
"group": "Assets:Dollar",
"investmentAmount": 804.42048,
"withdrawalAmount": 0,
"marketAmount": 804.42048,
"balanceUnits": 10,
"latestPrice": 0,
"xirr": 0,
"gainAmount": 0,
"absoluteReturn": 0
},
"Assets:Equity": {
"group": "Assets:Equity",
"investmentAmount": 98025.3170071296,
"withdrawalAmount": 10027.3,
"marketAmount": 88243.7170071296,
"investmentAmount": 97963.762752,
"withdrawalAmount": 10027,
"marketAmount": 88182.162752,
"balanceUnits": 0,
"latestPrice": 0,
"xirr": 3.23,
"gainAmount": 245.7,
"absoluteReturn": 0.0025064953371396
"gainAmount": 245.4,
"absoluteReturn": 0.0025050079040067
},
"Assets:Equity:AAPL": {
"group": "Assets:Equity:AAPL",
"investmentAmount": 10000,
"withdrawalAmount": 10027.3,
"withdrawalAmount": 10027,
"marketAmount": 0,
"balanceUnits": -100,
"latestPrice": 0,
"xirr": 151.56,
"gainAmount": 27.3,
"absoluteReturn": 0.00273
"xirr": 149.2,
"gainAmount": 27,
"absoluteReturn": 0.0027
},
"Assets:Equity:ABNB": {
"group": "Assets:Equity:ABNB",
"investmentAmount": 8025.3170071296,
"investmentAmount": 7963.762752,
"withdrawalAmount": 0,
"marketAmount": 8025.3170071296,
"marketAmount": 7963.762752,
"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": 13001.94858619763,
"availableForBudgeting": 12158.816768,
"budgetsByMonth": {},
"checkingBalance": 13001.94858619763
"checkingBalance": 12158.816768
}
12 changes: 6 additions & 6 deletions tests/fixture/inr-beancount/cash_flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"cash_flows": [
{
"date": "2022-01-01T00:00:00Z",
"income": 121027.3,
"expenses": 20000,
"income": 121027,
"expenses": 20100,
"liabilities": 0,
"investment": 88025.35141380237,
"investment": 88768.183232,
"tax": 0,
"checking": 13001.94858619763,
"balance": 13001.94858619763
"checking": 12158.816768,
"balance": 12158.816768
},
{
"date": "2022-02-01T00:00:00Z",
Expand All @@ -18,7 +18,7 @@
"investment": 0,
"tax": 0,
"checking": 0,
"balance": 13001.94858619763
"balance": 12158.816768
}
]
}
2 changes: 2 additions & 0 deletions tests/fixture/inr-beancount/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"Assets:Equity:ABNB",
"Assets:Equity:AAPL",
"Income:CapitalGains:Equity:AAPL",
"Expenses:Charges",
"Assets:Dollar",
"Assets:Coinbase:BTC",
"Income:Interest:Checking"
],
Expand Down
Loading

0 comments on commit a3b3afe

Please sign in to comment.