|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
Bybit v5: the stream itself sends a snapshot first (kSnapshot flag), then deltas whose u must be strictly increasing; u == 1 means the venue restarted the book (treated as a snapshot marker -> resubscribe).
More...
#include <fastmm/core/book/book_syncer.hpp>
Static Public Member Functions | |
| static constexpr bool | is_stale (const BookDeltaMsg &d, std::uint64_t snap) noexcept |
| static constexpr bool | first_applies (const BookDeltaMsg &d, std::uint64_t snap) noexcept |
| static constexpr bool | next_applies (const BookDeltaMsg &d, std::uint64_t prev_u) noexcept |
| static constexpr bool | is_snapshot_marker (const BookDeltaMsg &d) noexcept |
Static Public Attributes | |
| static constexpr bool | kNeedsRestSnapshot = false |
| static constexpr bool | kBuffersDeltas = false |
Bybit v5: the stream itself sends a snapshot first (kSnapshot flag), then deltas whose u must be strictly increasing; u == 1 means the venue restarted the book (treated as a snapshot marker -> resubscribe).
No REST snapshot, no buffering.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
staticconstexpr |
|
staticconstexpr |