Files
sure/test/fixtures/entries.yml
Zach Gollwitzer e657c40d19 Account:: namespace simplifications and cleanup (#2110)
* Flatten Holding model

* Flatten balance model

* Entries domain renames

* Fix valuations reference

* Fix trades stream

* Fix brakeman warnings

* Fix tests

* Replace existing entryable type references in DB
2025-04-14 11:40:34 -04:00

45 lines
930 B
YAML

valuation:
name: Manual valuation
date: <%= 4.days.ago.to_date %>
amount: 4995
currency: USD
account: depository
entryable_type: Valuation
entryable: one
trade:
name: Purchase 10 shares of AAPL
date: <%= 1.day.ago.to_date %>
amount: 2140 # 10 shares * $214 per share
currency: USD
account: investment
entryable_type: Trade
entryable: one
transaction:
name: Starbucks
date: <%= 1.day.ago.to_date %>
amount: 10
currency: USD
account: depository
entryable_type: Transaction
entryable: one
transfer_out:
name: Payment to credit card account
date: <%= 3.days.ago.to_date %>
amount: 100
currency: USD
account: depository
entryable_type: Transaction
entryable: transfer_out
transfer_in:
name: Payment received from checking account
date: <%= 3.days.ago.to_date %>
amount: -100
currency: USD
account: credit_card
entryable_type: Transaction
entryable: transfer_in