bcgt.py v2.2.0 Splits and nits...

51 views
Skip to first unread message

fin

unread,
Jan 25, 2025, 6:13:56 PM1/25/25
to bean...@googlegroups.com
https://github.com/flowerbug/bcgt

Got splits working and fixed a few other minor things that I didn't like, but no breaking changes.

When selling shares the regfee at the end of the line is now optional in case you have a lot of zero fee transactions you can leave this off and the script will put the zero in for you. I suppose it is silly to have those zero amounts in the transaction at all so a rational followup change I should make would be to leave those lines off. But not for this version...

I didn't like that the basis amounts were not at least two digits after the decimal point so those are now generated even if you type in a whole number. To me a USD amount should always have cents.

Just as a postscript I thought it was interesting that the Python Decimal implementation does allow a negative zero and I'm ok with that.


fin

Reply all
Reply to author
Forward
0 new messages