Import prices API
Derek Atkins
warlord at MIT.EDU
Sat Apr 7 09:35:03 EDT 2007
GnuCash calls the gnc-fq-helper application to get quotes. You could
replace that program with any other program you want to return quotes
back to Gnucash. Run the program by hand if you want to see the
format of the returned data.
I dont know if it expects to get one quote at a time or gets all quotes
in one run.
There's also the scheme API (and I API) you could use if you wanted to
write code to install quotes.
Also, F::Q itself has an API; it's a plugin architecture so you could plug
in your own module.
But I have to ask: why would you want to NOT use F::Q?
-derek
Quoting nospamforas <nospamforas at gmx.net>:
> Hi,
>
> gnucash imports prices using Finance::Quote. I don't want to use it.
>
> Suppose I got the quotes in some other way from somewhere and have
> them stored
> in a datastore, e.g. a file. It would be very nice, if I could import them
> without Finance::Quote.
>
> I would prefer to have an API, so that one can switch the implementation
> (program, application) from Finance::Quote to something other.
>
> It might help, if someone could describe the current interface to
> Finance::Quote.
>
> - AS
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list