Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I have updated the <a href="https://github.com/assylias/jBloomberg" rel="nofollow">jBloomberg</a> library to include tick data. You can submit different types of query to a <a href="http://assylias.github.com/jBloomberg/apidocs/assylias/jbloomberg/BloombergSession.html" rel="nofollow">BloombergSession</a> which acts as a queue. So if you want to submit different types of request you can write something like:</p> <pre><code>RequestBuilder&lt;IntradayTickData&gt; tickRequest = new IntradayTickRequestBuilder("SPX Index", DateTime.now().minusHours(2), DateTime.now()); RequestBuilder&lt;IntradayBarData&gt; barRequest = new IntradayBarRequestBuilder("SPX Index", DateTime.now().minusHours(2), DateTime.now()) .period(5, TimeUnit.MINUTES); RequestBuilder&lt;ReferenceData&gt; refRequest = new ReferenceRequestBuilder("SPX Index", "NAME"); Future&lt;IntradayTickData&gt; ticks = session.submit(tickRequest); Future&lt;IntradayBarData&gt; bars = session.submit(barRequest); Future&lt;ReferenceData&gt; name = session.submit(refRequest); </code></pre> <p>More examples available in <a href="http://assylias.github.io/jBloomberg/apidocs/index.html" rel="nofollow">the javadoc</a>.</p> <p>If you need to fetch the same information regularly, you can reuse a builder and use it in combination with a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledThreadPoolExecutor</a> for example.</p> <p>Note: the library is still in beta state so don't use it blindly in an black box that trades automatically!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload