Here's the file; I think the attachment should pass through, the input CSV
has no headers and comma separated values in order below:
Example:
Mnemonic, Price, Price Date (yyyy-mm-dd), Namespace, Currency Code
"94986H103",62.8194,2021-05-14,"401K","USD"

It works for me, in lines 10-12, you can adjust the file paths for your
input file and gnucash files.

As for creating the CSV file, I have different scripts for that using
Beautiful Soup or json to scrape either a website or API.

I'm open to suggestions on how it could be made better if anyone else wants
to take a look. Maybe I could even offer it up

On Mon, May 17, 2021 at 6:33 PM mike823 <fkjasdhf...@mailinator.com> wrote:

> I use a SQLite backend and I would love to test your script. Could you
> email
> it to me? Thanks.
>
>
>
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>

Attachment: gnc-price-import.py
Description: Binary data

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to