GithubHelp home page GithubHelp logo

blxx's Introduction

blxx

Access the Bloomberg API from Elixir. Live and historic data. Suitable for terminal and B-Pipe users.

This is a heavy work in progress. The Elixir-side API is under heavy experimental development and is not stable. All Bloomberg functionality however is now present, and can be perused for inspiration.

  • Ticker data request (streaming prices)
  • Bar data request (streaming OHLC)
  • HistoricalDataRequest (daily data)
  • IntradayTickRequest (tick-by-tick data)
  • IntradayBarRequest (minute or other periodicity OHLC bars)
  • ReferenceDataRequest (security metadata, or one off price snapshots)
  • instrumentListRequest (lookup securities by name)
  • curveListRequest (lookup curves by names)
  • FieldListRequest (fields for an instrument / curve etc)
  • FieldInfoRequest (lookup fields by name)
  • studyRequest (technical analysis)

See the Bloomberg API manual for further information on these request types.

Instructions and usage

Concepts

The client is a Windows computer running a licenced Bloomberg terminal or BPIPE. The server is a computer running Linux or MacOS. _Unless you are licensed for BPIPE, these should be the same computer (with either client or server in virtual machine).

Keys

Run bbgfeeder.py --showkey on the Windows client running BLoomberg Terminal / BPIPE, ensuring that environment variable BLXXKEY on the server contains this value. This is used for basic authentication. The fully qualified public key path can be manually specified with the keypath command line argument. If you wish to authorise more than one key, they should be separated by a colon : in the BLXXKEY environment variable.

Implementation

Blxx implements a raw websocket server using Phoenix Transport in Elixir (example here), which is connected to by a python process bbgfeeder.py. Elixir can send subscription and historical data requests, and receive the responses from python which runs the offical Bloomberg blpapi client.

WIP.....

blxx's People

Contributors

vegabook avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.