Release 0.8.4¶
2022-05-14
API¶
The following messages have been updated
GatewaySettings
,StreamStatus
,CreateOrder
andOrderUpdate
now use bit-mask (see below).StreamStatus
has new fields to better describe transport, protocol and encoding.TopOfBook
has been added theexchange_sequence
field to allow correlation toMarketByPriceUpdate
(when supported by the exchange).
New helper functions have been added to cache::MarketByPrice
compute_vwap
will compute the volume-weighted average pricescreate_depth_update
will convert a full update into a depth update
C++20¶
With clang 13 available from conda-forge, it is now possible to make the API more C++20 compliant
using enum
spaceship operator (partially due to clang still not having implemented it everywhere)
Bit-Mask¶
The API now implements proper bit-mask
GatewaySettings
andStreamStatus
now useMask<SupportType>
(previouslyuint64_t
)CreateOrder
andOrderUpdate
now useMask<ExecutionInstruction>
(previouslyExecutionInstruction
)
Python¶
It is now possible to use the Roq API natively from Python. Packages are provided for Python 3.8 and 3.9 for all supported platforms.
This project is open source and available here.
Warning
This project is actively being developed and should still be considered “prototype”.
CHANGELOG¶
Added¶
Changed¶
License validation now also includes operating system information (Server) #217).
Extend
ReferenceData
withmin_trade_vol
andtrade_vol_step_size
(Huobi Futures) #216).Increase
Symbol
fixed-length size to 48 (API)(#214).Order book subscriptions now depends on client tiering (OKX) (#212).
Fail on unknown config (toml) keys (FIX Bridge) (#206).
Simplify enums (API) (#199).
Proper bit-mask support (API) (#198).
Fixed¶
Incorrect parsing for
timestamp_e6
(Bybit Futures) (#215).Missing magic_enum package dependency (API) (#213).
Exchange time was missing from MbP (BitMEX) (#211).
ReferenceData incorrectly used quote currency for trade amounts (KuCoin) (#210).
Incorrect
--username
and--password
defaults (ClickHouse) (#207).Missing
TopOfBook.exchange_time_utc
(Binance Futures) (#205).Undocumented field for
OrderCancelReject
(Deribit) (#204).Support JSON parsing when numeric fields have the
"undefined"
value (Deribit) (#203).Unhandled exception when parsing HTTP response (Core) (#202).