Skip to content

Instantly share code, notes, and snippets.

View cookie223's full-sized avatar
🎯
Focusing

Qi Chu cookie223

🎯
Focusing
View GitHub Profile
name: price update
on:
schedule:
- cron: "00 04 * * *"
jobs:
price-update:
name: price update
runs-on: ubuntu-latest
@cookie223
cookie223 / amortize_over.py
Last active January 10, 2022 15:48 — forked from wzyboy/amortize_over.py
amortize_over beancount plugin. move meta to posting and add optional different start date, support more than 2 postings
# Copyright (c) 2017 Cary Kempston
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
option "title" "My bean count"
option "operating_currency" "USD"
option "render_commas" "TRUE"
; necessary accounts
2019-01-01 open Assets:Cash:USD USD
2019-01-01 open Assets:Cash:EUR EUR
2019-01-01 open Assets:Cash:GBP GBP
2019-01-01 open Assets:Cash:CAD CAD