real-time financial data

Daniel Pocock daniel at pocock.com.au
Fri Nov 22 12:08:10 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 22/11/13 20:17, Thorsten Behrens wrote:
> Jess Corrius wrote:
>> Also as a wish for LibreOffice 4.3 I would love to see new core
>> Calc functions like:
>> 
>> =GoogleFinance("GOOG")
>> 
> Not sure that would be overly smart to have as a core feature -
> urls and formats for these things tend to be a bit in flux. ;)

That is where a middleware like OpenMAMA comes in handy - OpenMAMA
(with a messaging broker or multicast solution like avis or ZeroMQ
underneath) can distribute the prices around on your local network for
different users and applications.

Then you just need some feed handler(s) to suck the prices from Google
or another source and transmit them into the OpenMAMA framework.  You
can change the feed handler when necessary without having to change
all the code that consumes prices.

> There's this guy here (worked for me in the past): 
> http://extensions.openoffice.org/de/project/getquote
> 
> For your original question wrt. a suitable example: 
> http://www.enigmacurry.com/archive/2009/12/1/

The description looks very similar to what I had in mind, but I notice
that is in Python.

For OpenMAMA, there is a C++ and Java API and I notice that
LibreOffice offers both C++ and Java extension writing tutorials.  Can
you make any comment on which might be the better choice and any
example in one of those languages?  I suspect C++ would be the better
choice for performance.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJSj7mqAAoJEOm1uwJp1aqDFrcQAMdwBGhTYxkFGHBgzg4hdp4D
mxTiXeptsRBhI5yeSXJQduWPguLVG8aOjnyaW3hdHbFZ4sEWzEAG1MWWpaPYD8RK
TEE9qDs4fGsZZprGRd3WX1Y1foNKu1z2F0aNjYaV4iyEXceexOw7JGCOXEocvFTf
J3L19GJkK4npVLSJQu0LKx/TwDxjjrRwTcFHvfv57lmlC/ffS3aFjWXZCfFtaibc
X/9h16SKdJ8GkRIrMPj2xRqpUgzVnqM8hCO/8lBDB6NHfvbK95TafnmJsFKuuXNT
/DVJuYo3qjYctLcRFnRlo4JOdRRvJBSXpd4PJPbxNCex6QYCCQor04BalQa5F3uN
C7x3ZVOoxRyG6IML9BI0rw8T2R91k0/3MwzysG9sMRAMQhaOwWLvnhfCONlXomxi
2Z4fKXk4D6/j5mmSnpC7iSB8rwxDN3NqZIQt0bXVrJxSMOqoW82NG7x8pOaP+oz6
L23VFYHEyJL5cft5G0ACqZkDJ8oJlzfv1+5UfhjyAUnLSToQe9zTArn1fLsvMRNs
QyVYORS5N+VXKXxLNOA5UBxzJs1WIoCPVBEgRNJ8TyNQNIyrDAFdBZLvkRk05b8l
S6MjgfM1J98G2NaV5p8BfRIWq1LKGienhKEHZlxHQGv+HZXfVp7vgW3VEWK1nKAb
uQ55Nco90B3/FWknfHRV
=xpqk
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list