Hey Zurab - this topic is a pretty frequent one. Take a look at the mailing
list archives first and then let us know if you're still having trouble.

On Mon, May 2, 2022 at 2:43 PM Zurab Sajaia <[email protected]> wrote:

> Hi,
> I just recently found and started using beancount, and have been having
> fun converting my old financial records to it. Most of the transaction
> types I was able to correctly enter and balance but have been unable to
> figure out what is wrong with one particular item:
> I'm trying to record a 8:1 split that happened for GE last year.
> 2021-08-02 * "Reverse Split GE 1 for 8"
>    Assets:Robinhood:GE -37.704432 GE {} @ 12.965 ; three lots with
> different prices
>    Assets:Robinhood:GE 4 GE {103.72 USD}
>    Assets:Robinhood:Cash 73.96 USD
> So the 32 old stocks were converted into 4 new, and for the residual of
> (new) 0.713 the cash was paid out.
>
> Now here's the problem, whichever way I tried to turn this transaction I'm
> not able to balance it, seems like beancount calculates the sale at the
> cost in the first leg (no matter what price I put after @ it doesn't seem
> to be used) and therefore says that the transaction is not balanced.
>
> What can I be doing wrong? other than having long fractional quantities
> and prices, everything else (seems to me) is straight out of the docs...
> any advice would be appreciated!
>
> Thanks,
> Zurab
>
> --
> 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/f9e995eb-96b1-4eb7-b1ba-7433c8f2451fn%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/f9e995eb-96b1-4eb7-b1ba-7433c8f2451fn%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/CACGEkZvmM%2BufoiEZRECu7XDZPabkSZiyKpVWonhw-oMX-jxzUA%40mail.gmail.com.

Reply via email to