mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-26 23:42:29 -05:00
9 lines
278 B
Lua
9 lines
278 B
Lua
accounts = get_accounts()
|
|
|
|
for id, account in pairs(accounts) do
|
|
print(account, account.security)
|
|
a = account:balance(date.new("2015-12-01"), date.new("2017-12-01"))
|
|
b = account:balance(date.new("2015-06-01"), date.new("2015-12-01"))
|
|
print(a, b, a+b, account:balance())
|
|
end
|