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 e14ee58 commit 5dcfe6b
Show file tree
Hide file tree
Showing 12 changed files with 332 additions and 344 deletions.
20 changes: 4 additions & 16 deletions tests/fixture/inr-beancount/allocation.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,8 @@
"Assets:Checking": {
"date": "2022-01-08T00:00:00Z",
"account": "Assets:Checking",
"amount": 1974.6485861976294,
"market_amount": 1974.6485861976294
},
"Assets:Coinbase:BTC": {
"date": "2022-01-08T00:00:00Z",
"account": "Assets:Coinbase:BTC",
"amount": 0.03440667277056,
"market_amount": 0.03440667277056
"amount": 1974.6829928704,
"market_amount": 1974.6829928704
},
"Assets:Equity:AAPL": {
"date": "2022-01-08T00:00:00Z",
Expand All @@ -148,14 +142,8 @@
"Assets:Checking": {
"date": "2022-01-09T00:00:00Z",
"account": "Assets:Checking",
"amount": 12001.94858619763,
"market_amount": 12001.94858619763
},
"Assets:Coinbase:BTC": {
"date": "2022-01-09T00:00:00Z",
"account": "Assets:Coinbase:BTC",
"amount": 0.03440667277056,
"market_amount": 0.03440667277056
"amount": 12001.9829928704,
"market_amount": 12001.9829928704
},
"Assets:Equity:AAPL": {
"date": "2022-01-09T00:00:00Z",
Expand Down
2 changes: 1 addition & 1 deletion tests/fixture/inr-beancount/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"Assets:Equity:NIFTY",
"Assets:Equity:ABNB",
"Assets:Equity:AAPL",
"Assets:Coinbase:BTC",
"Income:CapitalGains:Equity:AAPL",
"Assets:Coinbase:BTC",
"Income:Interest:Checking"
],
"config": {
Expand Down
128 changes: 64 additions & 64 deletions tests/fixture/inr-beancount/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,24 +122,24 @@
"note": ""
},
{
"id": "cf0433d80755efdea68d26506e86dc65",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"id": "04bcc4e3077a15d78cf9e39b7acf7365",
"date": "2022-01-10T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"postings": [
{
"id": 17,
"transaction_id": "cf0433d80755efdea68d26506e86dc65",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"account": "Assets:Checking",
"commodity": "INR",
"quantity": 10027.3,
"amount": 10027.3,
"id": 16,
"transaction_id": "04bcc4e3077a15d78cf9e39b7acf7365",
"date": "2022-01-10T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"account": "Assets:Coinbase:BTC",
"commodity": "BTC",
"quantity": 1e-8,
"amount": 0.03440667277056,
"status": "cleared",
"tag_recurring": "",
"tag_period": "",
"transaction_begin_line": 49,
"transaction_end_line": 53,
"transaction_begin_line": 52,
"transaction_end_line": 55,
"file_name": "main.beancount",
"forecast": false,
"note": "",
Expand All @@ -148,74 +148,74 @@
"balance": 0
},
{
"id": 16,
"transaction_id": "cf0433d80755efdea68d26506e86dc65",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"account": "Income:CapitalGains:Equity:AAPL",
"commodity": "INR",
"quantity": -27.3,
"amount": -27.3,
"id": 17,
"transaction_id": "04bcc4e3077a15d78cf9e39b7acf7365",
"date": "2022-01-10T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"account": "Assets:Checking",
"commodity": "USD",
"quantity": -0.00042772,
"amount": -0.03440667277056,
"status": "cleared",
"tag_recurring": "",
"tag_period": "",
"transaction_begin_line": 49,
"transaction_end_line": 53,
"transaction_begin_line": 52,
"transaction_end_line": 55,
"file_name": "main.beancount",
"forecast": false,
"note": "",
"transaction_note": "",
"market_amount": 0,
"balance": 0
},
}
],
"tag_recurring": "",
"tag_period": "",
"beginLine": 52,
"endLine": 55,
"fileName": "main.beancount",
"note": ""
},
{
"id": "f94666a5e00e6fb7fde74aa1c3990f7f",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"postings": [
{
"id": 15,
"transaction_id": "cf0433d80755efdea68d26506e86dc65",
"transaction_id": "f94666a5e00e6fb7fde74aa1c3990f7f",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"account": "Assets:Equity:AAPL",
"commodity": "AAPL",
"quantity": -100,
"amount": -10000,
"account": "Assets:Checking",
"commodity": "INR",
"quantity": 10027.3,
"amount": 10027.3,
"status": "cleared",
"tag_recurring": "",
"tag_period": "",
"transaction_begin_line": 49,
"transaction_end_line": 53,
"transaction_begin_line": 45,
"transaction_end_line": 49,
"file_name": "main.beancount",
"forecast": false,
"note": "",
"transaction_note": "",
"market_amount": 0,
"balance": 0
}
],
"tag_recurring": "",
"tag_period": "",
"beginLine": 49,
"endLine": 53,
"fileName": "main.beancount",
"note": ""
},
{
"id": "e0d3d39f83b50668b92ad25aac88582c",
"date": "2022-01-08T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"postings": [
},
{
"id": 13,
"transaction_id": "e0d3d39f83b50668b92ad25aac88582c",
"date": "2022-01-08T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"account": "Assets:Coinbase:BTC",
"commodity": "BTC",
"quantity": 1e-8,
"amount": 0.03440667277056,
"id": 14,
"transaction_id": "f94666a5e00e6fb7fde74aa1c3990f7f",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"account": "Income:CapitalGains:Equity:AAPL",
"commodity": "INR",
"quantity": -27.3,
"amount": -27.3,
"status": "cleared",
"tag_recurring": "",
"tag_period": "",
"transaction_begin_line": 45,
"transaction_end_line": 48,
"transaction_end_line": 49,
"file_name": "main.beancount",
"forecast": false,
"note": "",
Expand All @@ -224,19 +224,19 @@
"balance": 0
},
{
"id": 14,
"transaction_id": "e0d3d39f83b50668b92ad25aac88582c",
"date": "2022-01-08T00:00:00Z",
"payee": "Purchased 0.00000001 BTC",
"account": "Assets:Checking",
"commodity": "USD",
"quantity": -0.00042772,
"amount": -0.03440667277056,
"id": 13,
"transaction_id": "f94666a5e00e6fb7fde74aa1c3990f7f",
"date": "2022-01-09T00:00:00Z",
"payee": "Sell",
"account": "Assets:Equity:AAPL",
"commodity": "AAPL",
"quantity": -100,
"amount": -10000,
"status": "cleared",
"tag_recurring": "",
"tag_period": "",
"transaction_begin_line": 45,
"transaction_end_line": 48,
"transaction_end_line": 49,
"file_name": "main.beancount",
"forecast": false,
"note": "",
Expand All @@ -248,7 +248,7 @@
"tag_recurring": "",
"tag_period": "",
"beginLine": 45,
"endLine": 48,
"endLine": 49,
"fileName": "main.beancount",
"note": ""
},
Expand Down
Loading

0 comments on commit 5dcfe6b

Please sign in to comment.