A jruby wrapper for the Bloomberg Java API
Ruby Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin fixup the gemspec. Sep 17, 2011
lib
spec
src/org/rubyforge/rawr
.gitignore
.rspec
.yardopts
ChangeLog.md Initial commit. Mar 11, 2011
Gemfile
Gemfile.lock
Guardfile Initial commit. Mar 11, 2011
LICENSE.txt Initial commit. Mar 11, 2011
README.md updated README to describe .exe build in more detail. Mar 16, 2011
Rakefile
bberg.gemspec
build_configuration.rb Initial commit. Mar 11, 2011
gemspec.yml Initial commit. Mar 11, 2011

README.md

bberg

Description

A library to use the Bloomberg Java API from jruby

Features

So far the following requests can be made:

  • HistoricalDataRequest
  • ReferenceDataRequest

We'll be working on adding all the requests supported by the Java API, including "subscriptions".

Feel free to pitch in :)

Examples

TODO: add examples. For now look at the specs for a couple of examples

Requirements

  • The Bloomberg Java API jar

Install

$ gem install bberg

The gem comes with a drb server to make it simpler to use the API from several processes on the same machine (multiple machines not allowed by the Java API copyright, same applies here):

$ bberg_drb_server

To create a stand alone executable do the following from a CMD prompt after checking out the git repo (for example it does't work from within cygwin):

$ gem install rawr
$ bundle install
$ bundle install --deployment --without development
$ rake bberg:create_exe

This creates a folder with a .exe in ../bberg-package/windows/

NOTE: you need rawr installed (outside of bundler) for this to work. We can't use rawr inside of bundler since we then get a copy of rawr among the vendor gems.

Copyright

Copyright (c) 2010 pts

See {file:LICENSE.txt} for details.