[GNC] An external tool to edit securities in Gnucash books

2024-05-08 Thread Edward Toroshchyn via gnucash-user
All,

I've written a small tool that augments the Gnucash security editor. Currently 
it has
only one noteworthy feature: adding a stock ticker by automatically looking it 
up by
ISIN:


$ tickers add test.gnucash US6903701018
+---+++++--+
| Namespace | Name   | Symbol | Display Symbol | ISIN   | 
Fraction |
+---+++++--+
| NYQ   | Beyond, Inc.   | BYON   | BYON   | US6903701018   | 
1/1  |
+---+++++--+
Do you want to add this security? (yes/no) [no] y


I also plan to add import/export features. My personal use-case is to migrate a
security database from one Gnucash book to another.

The code is on Github[1] and also might be a good start if you were ever 
interested
in writing Python programs using Gnucash bindings.

Let me know if you have any questions. If this is something that could be 
useful to
you too, feel free to try it out and file issue reports if you encounter any 
problems.

Best regards,
-- 

Edward

[1] https://github.com/hades/gnucash-tickers/


publickey - gnucash@hades.name - 0x313E7073.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Setting up an account for stocks

2023-11-27 Thread Edward Toroshchyn via gnucash-user
Max,

In the guide you've referenced under "Example Stock Account" there's a 
description of individual fields in the dialog box.

You need to follow the instructions in item 6 "Create the New Security", and 
create a security record for your stock, and then in the New Account dialog 
you'll need to click "Select" next to the "Security/Currency" field, and select 
the new security you've created.

Make sure that you select a "Stocks" parent account _before_ selecting the 
security, otherwise you will not be able to find your security there.

Hope this helps, happy to help if you run into more issues.

--
Edward

publickey - gnucash@hades.name - 0x313E7073.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.