Release 0.8.4¶
2022-05-14
API¶
The following messages have been updated
GatewaySettings,StreamStatus,CreateOrderandOrderUpdatenow use bit-mask (see below).StreamStatushas new fields to better describe transport, protocol and encoding.TopOfBookhas been added theexchange_sequencefield to allow correlation toMarketByPriceUpdate(when supported by the exchange).
New helper functions have been added to cache::MarketByPrice
compute_vwapwill compute the volume-weighted average pricescreate_depth_updatewill 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 enumspaceship operator (partially due to clang still not having implemented it everywhere)
Bit-Mask¶
The API now implements proper bit-mask
GatewaySettingsandStreamStatusnow useMask<SupportType>(previouslyuint64_t)CreateOrderandOrderUpdatenow 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
ReferenceDatawithmin_trade_volandtrade_vol_step_size(Huobi Futures) #216).Increase
Symbolfixed-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
--usernameand--passworddefaults (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).