|
BetaTrader
A HFT Eco-System
|
Classes | |
| class | BinaryToCancelOrderRequestConverter |
Converts a raw FIX message string into a CancelOrderRequest object. More... | |
| class | BinaryToMarketDataRequestConverter |
Converts a raw FIX message string into a MarketDataRequest object. More... | |
| class | BinaryToModifyOrderRequestConverter |
Converts a raw FIX message string into a ModifyOrderRequest object. More... | |
| class | BinaryToOrderRequestConverter |
Converts a raw FIX message string into an OrderRequest object. More... | |
| struct | BusinessMessageReject |
| Represents the data required to build a FIX Business Message Reject (35=j) message. More... | |
| struct | CancelOrderRequest |
| Represents a parsed FIX Order Cancel Request message. More... | |
| class | ExecutionReport |
| Represents a FIX Execution Report (35=8) message. More... | |
| class | ExecutionReportToBinaryConverter |
A static utility class for serializing an ExecutionReport into a FIX message. More... | |
| class | FixServer |
| class | FixSession |
| struct | LogonRequest |
| Represents a parsed FIX Logon (35=A) message. More... | |
| struct | LogoutRequest |
| Represents a parsed FIX Logout (35=5) message. More... | |
| struct | MarketDataEntry |
| struct | MarketDataIncrementalEntry |
| struct | MarketDataIncrementalRefresh |
| class | MarketDataIncrementalRefreshToBinaryConverter |
Converts a MarketDataIncrementalRefresh object into a raw FIX message string. More... | |
| struct | MarketDataRequest |
| Represents a parsed FIX Market Data Request message. More... | |
| struct | MarketDataSnapshotFullRefresh |
| class | MarketDataSnapshotFullRefreshToBinaryConverter |
Converts a MarketDataSnapshotFullRefresh object into a raw FIX message string. More... | |
| struct | ModifyOrderRequest |
| Represents a parsed FIX Order Cancel Replace Request (Modify Order) message. More... | |
| class | OrderRequest |
| Represents a parsed FIX New Order - Single (35=D) message. More... | |
| struct | Reject |
| Represents the data required to build a FIX Session-Level Reject (35=3) message. More... | |
| struct | ResendRequest |
| Represents a parsed FIX Resend Request (35=2) message. More... | |
| struct | SequenceReset |
| Represents a parsed FIX Sequence Reset (35=4) message. More... | |
Typedefs | |
| using | ClientOrderID = uint64_t |
| Type alias for a client-assigned order ID. | |
| using | CompID = uint32_t |
| Type alias for a component ID (e.g., SenderCompID, TargetCompID). | |
| using | ExchangeOrderID = uint64_t |
| Type alias for an exchange-assigned order ID. | |
| using | Price = common::Price |
| Type alias for a price field, inheriting from the common Price type. | |
| using | Quantity = common::Quantity |
| Type alias for a quantity field, inheriting from the common Quantity type. | |
| using | SequenceNumber = uint64_t |
| Type alias for a message sequence number. | |
| using | Symbol = common::Symbol |
| Type alias for a symbol field, inheriting from the common Symbol type. | |
Enumerations | |
| enum class | MDEntryType : char { Bid = '0' , Offer = '1' , Trade = '2' } |
| Defines the type of market data entry (Tag 269). More... | |
| enum class | MDUpdateAction : char { New = '0' , Change = '1' , Delete = '2' } |
| Defines the update action for a market data entry (Tag 279). More... | |
| enum class | Tag { BeginString = 8 , BodyLength = 9 , MsgType = 35 , SenderCompID = 49 , TargetCompID = 56 , MsgSeqNum = 34 , SendingTime = 52 , ClOrdID = 11 , OrigClOrdID = 41 , Symbol = 55 , Side = 54 , OrdType = 40 , OrderQty = 38 , Price = 44 , TimeInForce = 59 , StopPrice = 99 , SettlType = 63 , SettlDate = 64 , OrderID = 37 , ExecID = 17 , OrdStatus = 39 , Text = 58 , CumQty = 14 , LeavesQty = 151 , LastPx = 31 , LastQty = 32 , TransactTime = 60 , MDReqID = 262 , SubscriptionRequestType = 263 , MarketDepth = 264 , NoRelatedSym = 146 , MDUpdateAction = 279 , MDEntryType = 269 , MDEntryPx = 270 , MDEntrySize = 271 , MDEntryTime = 273 , NoMDEntries = 268 , MDEntryPositionNo = 290 , CheckSum = 10 } |
Functions | |
| common::OrderSide | charToOrderSide (char c) |
| Converts a character representation of an order side to the common::OrderSide enum. | |
| common::OrderType | charToOrderType (char c) |
| Converts a character representation of an order type to the common::OrderType enum. | |
| std::map< int, std::string_view > | splitToMap (std::string_view str, char delimiter) |
| Splits a FIX message string view into a map of tags to values. | |
Variables | |
| constexpr std::string_view | FIX_BEGIN_STRING = "FIX.4.4" |
| The BeginString field (Tag 8) for FIX protocol version. | |
| constexpr int | MARKET_DEPTH_FULL_BOOK = 0 |
| Market Depth (Tag 264) for Full Book. | |
| constexpr int | MARKET_DEPTH_TOP_OF_BOOK = 1 |
| Market Depth (Tag 264) for Top of Book. | |
| constexpr char | MSG_TYPE_BUSINESS_MESSAGE_REJECT = 'j' |
| Message Type (Tag 35) for Business Message Reject. | |
| constexpr char | MSG_TYPE_EXECUTION_REPORT = '8' |
| Message Type (Tag 35) for Execution Report. | |
| constexpr char | MSG_TYPE_MARKET_DATA_INCREMENTAL_REFRESH = 'X' |
| Message Type (Tag 35) for Market Data Incremental Refresh. | |
| constexpr char | MSG_TYPE_MARKET_DATA_REQUEST = 'V' |
| Message Type (Tag 35) for Market Data Request. | |
| constexpr char | MSG_TYPE_MARKET_DATA_SNAPSHOT_FULL_REFRESH = 'W' |
| Message Type (Tag 35) for Market Data Snapshot Full Refresh. | |
| constexpr char | MSG_TYPE_NEW_ORDER_SINGLE = 'D' |
| Message Type (Tag 35) for New Order Single. | |
| constexpr char | MSG_TYPE_ORDER_CANCEL_REPLACE_REQUEST = 'G' |
| Message Type (Tag 35) for Order Cancel Replace Request. | |
| constexpr char | MSG_TYPE_ORDER_CANCEL_REQUEST = 'F' |
| Message Type (Tag 35) for Order Cancel Request. | |
| constexpr char | MSG_TYPE_REJECT = '3' |
| Message Type (Tag 35) for Reject. | |
| constexpr char | ORDER_SIDE_BUY = '1' |
| Order Side (Tag 54) for Buy. | |
| constexpr char | ORDER_SIDE_SELL = '2' |
| Order Side (Tag 54) for Sell. | |
| constexpr char | ORDER_STATUS_CANCELED = '4' |
| Order Status (Tag 39) for Canceled order. | |
| constexpr char | ORDER_STATUS_FILLED = '2' |
| Order Status (Tag 39) for Filled order. | |
| constexpr char | ORDER_STATUS_NEW = '0' |
| Order Status (Tag 39) for New order. | |
| constexpr char | ORDER_STATUS_PARTIALLY_FILLED = '1' |
| Order Status (Tag 39) for Partially Filled order. | |
| constexpr char | ORDER_STATUS_REJECTED = '8' |
| Order Status (Tag 39) for Rejected order. | |
| constexpr char | ORDER_TYPE_LIMIT = '2' |
| Order Type (Tag 40) for Limit order. | |
| constexpr char | ORDER_TYPE_MARKET = '1' |
| Order Type (Tag 40) for Market order. | |
| constexpr char | SOH = '\x01' |
| Start of Header (SOH) character, used as a field delimiter in FIX messages. | |
| constexpr char | SUBSCRIPTION_REQUEST_TYPE_SNAPSHOT = '0' |
| Subscription Request Type (Tag 263) for Snapshot. | |
| constexpr char | SUBSCRIPTION_REQUEST_TYPE_SNAPSHOT_AND_UPDATES = '1' |
| Subscription Request Type (Tag 263) for Snapshot and Updates. | |
| constexpr char | SUBSCRIPTION_REQUEST_TYPE_UNSUBSCRIBE = '2' |
| Subscription Request Type (Tag 263) for Unsubscribe. | |
| constexpr char | TIME_IN_FORCE_DAY = '0' |
| Time In Force (Tag 59) for Day order. | |
| constexpr char | TIME_IN_FORCE_FOK = '3' |
| Time In Force (Tag 59) for Fill Or Kill (FOK) order. | |
| constexpr char | TIME_IN_FORCE_GTC = '1' |
| Time In Force (Tag 59) for Good Till Cancel (GTC) order. | |
| constexpr char | TIME_IN_FORCE_IOC = '2' |
| Time In Force (Tag 59) for Immediate Or Cancel (IOC) order. | |
| using fix::ClientOrderID = typedef uint64_t |
Type alias for a client-assigned order ID.
| using fix::CompID = typedef uint32_t |
Type alias for a component ID (e.g., SenderCompID, TargetCompID).
| using fix::ExchangeOrderID = typedef uint64_t |
Type alias for an exchange-assigned order ID.
| using fix::Price = typedef common::Price |
Type alias for a price field, inheriting from the common Price type.
| using fix::Quantity = typedef common::Quantity |
Type alias for a quantity field, inheriting from the common Quantity type.
| using fix::SequenceNumber = typedef uint64_t |
Type alias for a message sequence number.
| using fix::Symbol = typedef common::Symbol |
Type alias for a symbol field, inheriting from the common Symbol type.
|
strong |
|
strong |
|
strong |
| common::OrderSide fix::charToOrderSide | ( | char | c | ) |
Converts a character representation of an order side to the common::OrderSide enum.
| c | The character to convert (e.g., '1' for Buy). |
| std::invalid_argument | if the character is not a valid order side. |

| common::OrderType fix::charToOrderType | ( | char | c | ) |
Converts a character representation of an order type to the common::OrderType enum.
| c | The character to convert (e.g., '2' for Limit). |
| std::invalid_argument | if the character is not a valid order type. |

| std::map< int, std::string_view > fix::splitToMap | ( | std::string_view | str, |
| char | delimiter | ||
| ) |
Splits a FIX message string view into a map of tags to values.
| str | The string view of the FIX message. |
| delimiter | The delimiter character (usually SOH). |

|
constexpr |
The BeginString field (Tag 8) for FIX protocol version.
|
constexpr |
Market Depth (Tag 264) for Full Book.
|
constexpr |
Market Depth (Tag 264) for Top of Book.
|
constexpr |
Message Type (Tag 35) for Business Message Reject.
|
constexpr |
Message Type (Tag 35) for Execution Report.
|
constexpr |
Message Type (Tag 35) for Market Data Incremental Refresh.
|
constexpr |
Message Type (Tag 35) for Market Data Request.
|
constexpr |
Message Type (Tag 35) for Market Data Snapshot Full Refresh.
|
constexpr |
Message Type (Tag 35) for New Order Single.
|
constexpr |
Message Type (Tag 35) for Order Cancel Replace Request.
|
constexpr |
Message Type (Tag 35) for Order Cancel Request.
|
constexpr |
Message Type (Tag 35) for Reject.
|
constexpr |
Order Side (Tag 54) for Buy.
|
constexpr |
Order Side (Tag 54) for Sell.
|
constexpr |
Order Status (Tag 39) for Canceled order.
|
constexpr |
Order Status (Tag 39) for Filled order.
|
constexpr |
Order Status (Tag 39) for New order.
|
constexpr |
Order Status (Tag 39) for Partially Filled order.
|
constexpr |
Order Status (Tag 39) for Rejected order.
|
constexpr |
Order Type (Tag 40) for Limit order.
|
constexpr |
Order Type (Tag 40) for Market order.
|
constexpr |
Start of Header (SOH) character, used as a field delimiter in FIX messages.
|
constexpr |
Subscription Request Type (Tag 263) for Snapshot.
|
constexpr |
Subscription Request Type (Tag 263) for Snapshot and Updates.
|
constexpr |
Subscription Request Type (Tag 263) for Unsubscribe.
|
constexpr |
Time In Force (Tag 59) for Day order.
|
constexpr |
Time In Force (Tag 59) for Fill Or Kill (FOK) order.
|
constexpr |
Time In Force (Tag 59) for Good Till Cancel (GTC) order.
|
constexpr |
Time In Force (Tag 59) for Immediate Or Cancel (IOC) order.