Re: Investment tools for fava

2020-03-28 Thread Red S
On Monday, March 23, 2020 at 4:13:57 PM UTC-7, Dave The Happy Singer wrote: > > > If you're interested in contributing code to do this, please do, by all > means. An irr directory within fava-investor on a dev branch would be a > great if you already have working code and tests. If not, feel fre

Re: Investment tools for fava

2020-03-28 Thread Red S
> > > I have a python implementation of Albert Mao's "optimal lazy rebalancing" > that can be used standalone: https://github.com/hoostus/lazy_rebalance > Excellent, will keep this in mind! -- You received this message because you are subscribed to the Google Groups "Beancount" group. To un

Web programming help required for fava (flask/jinja)

2020-03-28 Thread Red S
https://github.com/redstreet/fava-investor/issues/10 We will likely need to display a page with "tabs," with tabs for asset allocation, TLH, rebalancing, etc. See the holdings page in fava for an example. The holdings page uses def holdings_by() in fava/applications.py. Static pages suffice

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Red S
Makdisse, 1) Include this line in your earlier source: 2000-01-01 open Assets:Coinbase:ETH "NONE" and everything would work fine. However, you won't get strict lot reduction, but rather, a mix of positive and negative lots. The point here is to help you build your mental model of how beancount w

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Makdisse
Thanks for that Red! It works fine with "NONE". And I think I understand how I must track the holding when converting from a currency to another. On Saturday, 28 March 2020 07:46:27 UTC, Red S wrote: > > Makdisse, > 1) Include this line in your earlier source: > 2000-01-01 open Assets:Coinbase:E

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Martin Blais
On Fri, Mar 27, 2020 at 2:26 PM Makdisse wrote: > I've tried adding the ETH price to make sure beancount knows against which > account it should match: > > 2018-03-22 * "Buy ETH" > Assets:Coinbase:ETH 2.13226701 ETH {443.62 GBP} > Assets:Coinbase:Fees 14.09 GBP > Equity:Opening-Balances > > 2018-

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Martin Blais
Be careful with NONE booking. "Works" means there will be no lot matching. The only meaningful numbers you can get out of that are - Sum of units over all postings in that account, currency - Sum of cost bases over all postings in that account, currency If you're not getting an error that doesn't m

Re: Beancount issues

2020-03-28 Thread Martin Blais
Thank you Daniele. Just as I had pretty much decided to give in to the Github... I had ruled out Heptapod as it seemed to have only a few projects it itself owned just even last week (and now I see the list growing, so it's morphing into a hosting solution). Let me think about this a bit more. O

Re: Beancount issues

2020-03-28 Thread Daniele Nicolodi
Hi Martin, Sure. I didn't want to force your hand one way or the other (although, if you decide to move to git, I would prefer Gitlab over GitHub). I was just investigating what it would take to migrate to Heptapod. I didn't expect things to move so quickly. Cheers, Dan On 28/03/2020 13:10, Mar