[GNC] Example of importing Stock transactions from CSV

flywire flywire0 at gmail.com
Thu Aug 25 03:48:39 EDT 2022


Did you carefully work through the known working process described in the
bug report Comment 3 using the file below?

The broker csv file almost certainly needs manipulating. The best approach
is to enter the data into GnuCash, and then export the account to csv. You
can use the exported csv to see the data required in the fields (except for
price).

Something like the transaction below should import successfully. You can
then add extra fields or try a double split on a single line. If it doesn't
import, attach the new csv file and the one you exported to a message in
the mail list so the community can troubleshoot it.

https://lists.gnucash.org/pipermail/gnucash-user/2022-August/102562.html

> The three lines below work using a Multi-split import - based on
> https://bugs.gnucash.org/show_bug.cgi?id=797450
>
> Save *PP-Demo_Transactions_Minimal_Priced2.csv*:
>
> Date,Description,Action,Account,Deposit,Rate/Price
> 01/02/2021,RIO,,Assets:Broker:Funds,-9912.53
> ,,Buy,Assets:Broker:Shares:RIO,89,8900/991253
>
>>


More information about the gnucash-user mailing list