dxFeed .Net API
7.1.0
dxFeed .Net API library intended to provide market data access for DX clients
|
Interface provides operations with event subscription More...
Public Member Functions | |
void | Disconnect () |
Disconnect from the server More... | |
IDxSubscription | CreateSubscription (EventType type, IDxEventListener listener) |
Create event subscription. More... | |
IDxSubscription | CreateSubscription (DateTime? time, IDxCandleListener listener) |
Create candle event subscription More... | |
IDxSubscription | CreateSubscription (EventType type, long time, IDxEventListener listener) |
Create time event subscription. More... | |
IDxSubscription | CreateSubscription (EventType type, DateTime? time, IDxEventListener listener) |
Create time event subscription. More... | |
IDxSubscription | CreateSnapshotSubscription (Int64 time, IDxSnapshotListener listener) |
Creates snapshot subscription More... | |
IDxSubscription | CreateSnapshotSubscription (DateTime? time, IDxSnapshotListener listener) |
Creates snapshot subscription More... | |
IDxSubscription | CreateSnapshotSubscription (EventType eventType, Int64 time, IDxSnapshotListener listener) |
Creates snapshot subscription More... | |
IDxSubscription | CreateSnapshotSubscription (EventType eventType, DateTime? time, IDxSnapshotListener listener) |
Creates snapshot subscription More... | |
IDxSubscription | CreateOrderViewSubscription (IDxOrderViewListener listener) |
Creates Order View subscription More... | |
IDxRegionalBook | CreateRegionalBook (string symbol, IDxRegionalBookListener book_listener, IDxQuoteListener quote_listener) |
Creates regional book More... | |
void | WriteRawData (string rawFileName) |
Add dumping raw data of incoming traffic of connection into specific file More... | |
Properties | |
IDictionary< string, string > | Properties [get] |
Retrieves properties for specified connection. Properties can be changed during reconnection. So returned array is a snapshot of properties at the moment of the call. More... | |
string | ConnectedAddress [get] |
Retrieves string with current connected address in format <host>:<port> . If return value is NULL then connection is not connected (reconnection, no valid addresses, closed connection and others). More... | |
ConnectionStatus | Status [get] |
Retrieves the current connection status More... | |
Interface provides operations with event subscription
IDxSubscription com.dxfeed.api.IDxConnection.CreateOrderViewSubscription | ( | IDxOrderViewListener | listener | ) |
Creates Order View subscription
listener |
Implemented in com.dxfeed.native.NativeConnection.
IDxRegionalBook com.dxfeed.api.IDxConnection.CreateRegionalBook | ( | string | symbol, |
IDxRegionalBookListener | book_listener, | ||
IDxQuoteListener | quote_listener | ||
) |
Creates regional book
symbol | Single symbol name |
book_listener | Regional book changes listener. Null is allowed. |
quote_listener | Quotes listener. Null is allowed. |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSnapshotSubscription | ( | Int64 | time, |
IDxSnapshotListener | listener | ||
) |
Creates snapshot subscription
time | Time in the past - number of milliseconds from 1.1.1970 (unix time) |
listener |
IDxSubscription com.dxfeed.api.IDxConnection.CreateSnapshotSubscription | ( | DateTime? | time, |
IDxSnapshotListener | listener | ||
) |
Creates snapshot subscription
time | Date time in the past |
listener |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSnapshotSubscription | ( | EventType | eventType, |
Int64 | time, | ||
IDxSnapshotListener | listener | ||
) |
Creates snapshot subscription
eventType | Single event type. |
time | Time in the past - number of milliseconds from 1.1.1970 (unix time) |
listener | snapshot listener callback |
DxException |
IDxSubscription com.dxfeed.api.IDxConnection.CreateSnapshotSubscription | ( | EventType | eventType, |
DateTime? | time, | ||
IDxSnapshotListener | listener | ||
) |
Creates snapshot subscription
eventType | Single event type. |
time | Date time in the past |
listener | snapshot listener callback |
DxException |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSubscription | ( | EventType | type, |
IDxEventListener | listener | ||
) |
Create event subscription.
type | Event type. |
listener | Event listener callback. |
ArgumentNullException | Listener is null. |
DxException |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSubscription | ( | DateTime? | time, |
IDxCandleListener | listener | ||
) |
Create candle event subscription
time | date time in the past |
listener | candle listener callback |
ArgumentNullException | Listener is null. |
DxException |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSubscription | ( | EventType | type, |
long | time, | ||
IDxEventListener | listener | ||
) |
Create time event subscription.
type | Event type. |
time | Unix time stamp (the number of milliseconds from 1.1.1970) |
listener | Event listener callback. |
ArgumentNullException | Listener is null. |
DxException |
Implemented in com.dxfeed.native.NativeConnection.
IDxSubscription com.dxfeed.api.IDxConnection.CreateSubscription | ( | EventType | type, |
DateTime? | time, | ||
IDxEventListener | listener | ||
) |
Create time event subscription.
type | Event type. |
time | Date time in the past. |
listener | Event listener callback. |
ArgumentNullException | Listener is null. |
DxException |
Implemented in com.dxfeed.native.NativeConnection.
void com.dxfeed.api.IDxConnection.Disconnect | ( | ) |
Disconnect from the server
Implemented in com.dxfeed.native.NativeConnection.
void com.dxfeed.api.IDxConnection.WriteRawData | ( | string | rawFileName | ) |
Add dumping raw data of incoming traffic of connection into specific file
rawFileName | file name for raw data |
ArgumentException | Invalid argument rawFileName |
NativeDxException |
Implemented in com.dxfeed.native.NativeConnection.
|
get |
Retrieves string with current connected address in format <host>:<port>
. If return value is NULL then connection is not connected (reconnection, no valid addresses, closed connection and others).
|
get |
Retrieves properties for specified connection. Properties can be changed during reconnection. So returned array is a snapshot of properties at the moment of the call.
|
get |
Retrieves the current connection status