Liking cljdoc? Tell your friends :D
Clojure only.

clojure-yahoo-finance.core


blocking-queryclj

(blocking-query startDate endDate symbols & options)

Returns historic data between startDate and endDate for the seq of symbols.

Options: :maxConnections - default 200. :threadPoolSize - default 300. Should be larger than maxConnections for optimal efficiency. Set to 0 for an unbounded thread pool - be advised that doing so may exhaust available memory if you're requesting a lot of symbols relative to the amount of free memory and thread-creation overhead on your system.

The optimal values for :maxConnections and :threadPoolSize depend on how much free RAM is available to the Clojure process, how much memory overhead is involved in creating a new thread (JVM/OS dependent), and the latency characteristics of the network link between the user and Yahoo. The defaults should be reasonable for most modern desktop computers and broadband network environments, but those with access to particularly fast network pipes and with lots of RAM to spare may be able to get better performance by tweaking them. Note that you have to give <code>java</code> the <code>-Xmx</code> flag at startup to actually make more free RAM available to the JVM.

Returns historic data between startDate and endDate for the seq of symbols.

Options:
  :maxConnections - default 200.
  :threadPoolSize - default 300. Should be larger than maxConnections
                    for optimal efficiency. Set to 0 for an unbounded thread pool - be
                    advised that doing so may exhaust available memory if you're requesting a lot of symbols
                    relative to the amount of free memory and thread-creation overhead on your system.

The optimal values for :maxConnections and :threadPoolSize depend on
how much free RAM is available to the Clojure process, how much memory
overhead is involved in creating a new thread (JVM/OS dependent), and
the latency characteristics of the network link between the user and
Yahoo. The defaults should be reasonable for most modern desktop
computers and broadband network environments, but those with access to
particularly fast network pipes and with lots of RAM to spare may be
able to get better performance by tweaking them. Note that you have to
give <code>java</code> the <code>-Xmx</code> flag at startup to
actually make more free RAM available to the JVM.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close