mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* 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
18 lines
282 B
YAML
18 lines
282 B
YAML
one:
|
|
account: investment
|
|
security: aapl
|
|
date: <%= Date.current %>
|
|
qty: 10
|
|
price: 215
|
|
amount: 2150 # 10 * $215
|
|
currency: USD
|
|
|
|
two:
|
|
account: investment
|
|
security: aapl
|
|
date: <%= 1.day.ago.to_date %>
|
|
qty: 10
|
|
price: 214
|
|
amount: 2140 # 10 * $214
|
|
currency: USD
|