Interesting ideas here, Martin, thanks!
I'm really not attached to JSON, so don't worry on that account.
I won't have any time to work on my parser for the next couple of weeks,
but will consider these things when I start again after that.
cheers,
Simon
On Sun, 19 Nov 2023, 9:02 am Martin Blais
On Sat, Nov 18, 2023 at 2:53 PM Simon Guest wrote:
> I had seen that, and it looks interesting!
>
> How could we free it from being C++ only? If such a test suite could be
> language independent, that would really open things up for testing of other
> language implementations.
>
Well it's based
I had seen that, and it looks interesting!
How could we free it from being C++ only? If such a test suite could be
language independent, that would really open things up for testing of other
language implementations.
The only thought I had so far would be for a parser adapter layer to output
as,
Have you guys seen this suite of tests?
https://github.com/beancount/beancount/blob/master/beancount/cparser/parser_test.cc
Any parser that supports a suite like this I'd probably want to integrate
and contemplate a Rust version of Beancount.
There are two crucial things at the bottom of it all:
-
Cool, that helped a lot, thanks!
Best,
Matthias
Am Samstag, 18. November 2023, 15:44:30 CET schrieb Martin Blais:
> Check out the section on trading in the docs.
> You can choose a booking method, e.g. FIFO, or do it manually (if you use
> the "specific lot identification" method).
> One trick th
Hi,
I'm trying to create a custom bean-price importer. I'm scraping prices from
a paginated set of prices. I can retrieve 20 prices at once.
I noticed that
bean-price -v -i --no-cache --update test.bean
will call beanprice.source.Source.get_historical_price() for every day
between 2023-11-18
Check out the section on trading in the docs.
You can choose a booking method, e.g. FIFO, or do it manually (if you use
the "specific lot identification" method).
One trick that works well when doing by is to run bean-doctor to get the
context around a transaction, it gives you the contents of the
Hi Blais,
Hi beancount list,
I am a long term beancount user but only lately got into how to work with
beancount and stock trading.
I moved my stock trades from "normal syntax", like:
2023-11-18 * "Buy some"
Assets:Stock +10 COOLSTOCK @ 10 EUR
Assets:Bank:Account -105 EUR
Expenses: