Identifies source of Order, AnalyticOrder, OtcMarketsOrder and SpreadOrder events.
More...
#include <OrderSource.hpp>
|
static bool | isSpecialSourceId (std::int32_t sourceId) noexcept |
| Determines whether specified source identifier refers to special order source.
|
|
static const OrderSource & | valueOf (std::int32_t sourceId) noexcept |
| Returns order source for the specified source identifier.
|
|
static const OrderSource & | valueOf (const std::string &name) noexcept |
| Returns order source for the specified source name.
|
|
static void | freeGraal (void *graalNative) noexcept |
| Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary).
|
|
|
| IndexedEventSource (std::int32_t id, std::string name) noexcept |
| Creates the new IndexedEvent's source by id and name.
|
|
std::int32_t | id () const noexcept |
| Returns the source identifier.
|
|
const std::string & | name () const noexcept |
| Returns the string representation of the object.
|
|
std::string | toString () const noexcept |
| Returns the string representation of the object.
|
|
Identifies source of Order, AnalyticOrder, OtcMarketsOrder and SpreadOrder events.
There are the following kinds of order sources:
◆ isSpecialSourceId()
static bool dxfcpp::OrderSource::isSpecialSourceId |
( |
std::int32_t | sourceId | ) |
|
|
inlinestaticnoexcept |
Determines whether specified source identifier refers to special order source.
Special order sources are used for wrapping non-order events into order events.
- Parameters
-
sourceId | the source identifier. |
- Returns
true
if it is a special source identifier
◆ valueOf() [1/2]
static const OrderSource & dxfcpp::OrderSource::valueOf |
( |
const std::string & | name | ) |
|
|
inlinestaticnoexcept |
Returns order source for the specified source name.
The name must be either predefined, or contain at most 4 alphanumeric characters.
- Parameters
-
name | the name of the source. |
- Returns
- order source.
◆ valueOf() [2/2]
static const OrderSource & dxfcpp::OrderSource::valueOf |
( |
std::int32_t | sourceId | ) |
|
|
inlinestaticnoexcept |
Returns order source for the specified source identifier.
- Parameters
-
sourceId | the source identifier. |
- Returns
- order source.
◆ ABE
ABE (abe.io) exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ AGGREGATE_ASK
Ask side of an aggregate order book (futures depth and NASDAQ Level II).
This source cannot be directly published via dxFeed API, but otherwise it is fully operational.
◆ AGGREGATE_BID
Bid side of an aggregate order book (futures depth and NASDAQ Level II).
This source cannot be directly published via dxFeed API, but otherwise it is fully operational.
◆ BATE
Bats Europe BXE Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ BI20
Borsa Istanbul Exchange.
Record for particular top 20 order book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ BXTR
Bats Europe TRF.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ BYX
Bats BYX Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ BZX
Bats BZX Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ bzx
Bats BZX Exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ C2OX
CBOE Options C2 Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ CEUX
Bats Europe DXE Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ CFE
CBOE Futures Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ CHIX
Bats Europe CXE Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ COMPOSITE_ASK
Ask side of a composite Quote.
It is a synthetic source. The subscription on composite Quote event is observed when this source is subscribed to.
◆ COMPOSITE_BID
Bid side of a composite Quote.
It is a synthetic source. The subscription on composite Quote event is observed when this source is subscribed to.
◆ DEA
Direct-Edge EDGA Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ DEFAULT
◆ DEX
Direct-Edge EDGX Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ dex
Direct-Edge EDGX Exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ ERIS
Eris Exchange group of companies.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ ESPD
NASDAQ eSpeed.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ FAIR
FAIR (FairX) exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ GLBX
◆ glbx
CME Globex.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ ICE
Intercontinental Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ iex
Investors exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ ISE
International Securities Exchange.
Order and SpreadOrder events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ IST
Borsa Istanbul Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ MEMX
Members Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ memx
Members Exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ NFX
NASDAQ Futures Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ NTV
NASDAQ Total View.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ ntv
NASDAQ Total View.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ REGIONAL_ASK
Ask side of a regional Quote.
It is a synthetic source. The subscription on regional Quote event is observed when this source is subscribed to.
◆ REGIONAL_BID
Bid side of a regional Quote.
It is a synthetic source. The subscription on regional Quote event is observed when this source is subscribed to.
◆ SMFE
Small Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ smfe
Small Exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ XEUR
Eurex Exchange.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ xeur
Eurex Exchange.
Record for price level book.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.
◆ XNFI
NASDAQ Fixed Income.
Order events are publishable on this source and the corresponding subscription can be observed via DXPublisher.