dxFeed API
Java API
dxFeed is an open technology solution that provides data service delivering normalized real-time and delayed market data for exchanges and other financial data sources worldwide, running on a proven and robust open infrastructure and backed by 24×7×365 support. Hosted at premier facilities, in a resilient setup, the dxFeed platform provides a functional layer on top of low latency consolidated data feed.
Name
Source
Documentation
Release Notes
We’re constantly improving dxfeed APIs. Check our latest features, news, and improvements.
Knowledge Base
Check out our Knowledge Base for tutorials that cover Java API basics.
dxFeed Java API Example
With dxFeed Java API you can start receiving your market quotes writing only several lines of code:
// create subscription for a specific event type on default feed
DXFeedSubscription<Quote> sub = DXFeed.getInstance().createSubscription(Quote.class);
// define listener for events
sub.addEventListener(new DXFeedEventListener<Quote>() {
public void eventsReceived(List<Quote> events) {
for (Quote quote : events)
System.out.println(quote);
}
});
// add symbols to start receiving events
sub.addSymbols("IBM", "GOOG", "AAPL", "SPY");