The project can connect and keep connection with dxFeed CometD server and allows to subscribe for quotes and candle histories.
The project is a model of architecture of a dxfeed cometD based client which relies only at pure websocket API and json serialization provided by the platform.
The project is made as a part of research for ForexConnect Lite API.
There are one main class DXFeedConnection
(see more) and three "sub-packages":
Platform
that provides a Websocket and Json serialization API see moreMessage
that provides a tree-like name-value message structure for CometD see moreDXFeedMessage
that provides dxfeed CometD messages see more
The relationship between the main class and packages is shown on the diagram below:
classDiagram
class IDXFeedConnection
<<interface>> IDXFeedConnection
class Platform
<<package>> Platform
class Message
<<package>> Message
class DXFeedMessage
<<package>> DXFeedMessage
DXFeedConnection --|> IDXFeedConnection
DXFeedConnection ..> Platform : uses
DXFeedConnection ..> Message : uses
DXFeedConnection ..> DXFeedMessage : uses
Platform ..> Message : uses
DXFeedMessage ..> Message : uses