emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Financial data into an org-mode table
@ 2017-12-13 19:25 Paulo Matos
  2017-12-13 20:43 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Paulo Matos @ 2017-12-13 19:25 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Is there any code out there to pull data from stock markets (using for
example Google/Yahoo Finance) into an org-mode table?

Kind regards,
-- 
Paulo Matos

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Financial data into an org-mode table
  2017-12-13 19:25 Financial data into an org-mode table Paulo Matos
@ 2017-12-13 20:43 ` Rasmus
  2017-12-14  7:20   ` Paulo Matos
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2017-12-13 20:43 UTC (permalink / raw)
  To: emacs-orgmode

You could use the various R libraries and convert it to an Org table via
ob-R.el.

#+begin_src R :colnames yes
  library(quantmod)
  x = getSymbols("YHOO",src="google", auto.assign=FALSE)
  x[sprintf("%s/", Sys.Date()-7)]
#+end_src

Rasmus
-- 
Summon the Mothership!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Financial data into an org-mode table
  2017-12-13 20:43 ` Rasmus
@ 2017-12-14  7:20   ` Paulo Matos
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Matos @ 2017-12-14  7:20 UTC (permalink / raw)
  To: emacs-orgmode

Interesting idea. Thanks for the tip!

On 13/12/17 21:43, Rasmus wrote:
> You could use the various R libraries and convert it to an Org table via
> ob-R.el.
> 
> #+begin_src R :colnames yes
>   library(quantmod)
>   x = getSymbols("YHOO",src="google", auto.assign=FALSE)
>   x[sprintf("%s/", Sys.Date()-7)]
> #+end_src
> 
> Rasmus
> 

-- 
Paulo Matos

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-14  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 19:25 Financial data into an org-mode table Paulo Matos
2017-12-13 20:43 ` Rasmus
2017-12-14  7:20   ` Paulo Matos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).