Skip to content

Support for fractional shares #29

@nicdumz

Description

@nicdumz

I see that asset_share.shares is an int64. While this generally makes sense intuitively, this means that it becomes hard to use budgetwarrior for share vesting schemes.

In my case, my employer awards me for instance 20 shares of restricted stock, but after withholding taxes, my broker credits me 18.84 shares. So technically if I wanted to automatically track share awards, I would want to to log the acquisition of 18.84 shares, heh.

(And 40 becomes.... 37.681 ? for fascinating rounding reasons I suppose)

For curiosity, I wondered if there's an industry standard on what makes sense, but alas I'm not sure there is anything out there. Fascinating :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions