> On Nov 30, 2021, at 2:19 PM, Jean L <rip...@gmail.com> wrote:
> 
> Devs,
> 
> I was looking inside *libofx *and saw that a new callback has been added 
> *ofx_set_position_cb *which can be use to gain information about security 
> positions.
> (2021-01-03, LibOFX 0.10.0)
> 
> I think it'd be really useful to add this to gnc-ofx-import.c as currently, 
> reconciling security positions can only be done manually even when importing 
> transactions from an OFX file.
> Do you guys think it's a waste of time? Useful?

Very few of the elements in a struct OfxPositionData 
(https://github.com/libofx/libofx/blob/56e12a3016072204b771d0c4b0d2f4e5a4568a0e/inc/libofx.h.in#L1161)
 seem relevant to GnuCash.

Does your broker export OFX files with INVPOS elements? If not it will be hard 
for you to test and harder still to make much use of it. FWIW mine (Charles 
Schwab) exports only CSV.

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to