This is one of the most commonly asked questions, please give archives of
the list a look and come back if you have questions after that.

On Tue, Oct 12, 2021, 07:42 [email protected] <[email protected]>
wrote:

>
> I got myself a new broker and migrated all shares there. But whatever I
> try beancount complains about not beeing able to match postings.
>
> 2018-01-01 open Assets:Depot:BR1 "FIFO"
> 2021-10-01 open Assets:Depot:BR2 "FIFO"
>
> 2021-07-02 * "BR1" Savings Plan"
>   Assets:Depot:BR1                               4.978 XYZ {100.44 EUR}
>   Assets:Clearing:BR1                          -499.99 EUR
>
> 2021-04-07 * "BR1" "Savings Plan"
>   Assets:Depot:BR1                               5.218 XYZ {95.8107 EUR}
>   Assets:Clearing:BR1                           -500.00 EUR
>
> What I tried:
>
> 2021-10-05 * "BR2" "Transfer everything"
>   Assets:Depot:BR2                                -10 XYZ
>   Assets:Depot:BR1                                  10 XYZ
>
> Causes Assets:Depot:BR1 to contain 10 XYZ and -10 XYZ.
>
> 2021-10-05 * "BR2" "Transfer everything"
>   Assets:Depot:BR2                                -10 XYZ {}
>   Assets:Depot:BR1                                  10 XYZ
>
> Error: "No position matches Posting..."
>
> 2021-10-05 * "BR2" "Transfer everything"
>   Assets:Depot:BR2                                -10 XYZ {}
>   Assets:Depot:BR1                                  10 XYZ {}
>
> Error: "Failed to categorize posting 1"
>
> How do I make Beancount transfer all shares following FIFO to the new
> account to keep cost basis?
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/341bcc30-0a76-4d3a-9b91-ca99ee6aeaa3n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/341bcc30-0a76-4d3a-9b91-ca99ee6aeaa3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CACGEkZvTWfM5MMNR3eEU5Vm1DCB4TOU4R02yC6KiN-xGox9SAw%40mail.gmail.com.

Reply via email to