Open a section from the left

Where the calls live

Header What it covers
version.hpp The library release kVersion
book/bar.hpp Bars from ticks the caller marks tradable
book/calendar.hpp Trading days and session times
book/cover.hpp Visible quantity that meets a limit
book/cumtick.hpp Infer per-price lots from two cumulative volume/turnover snaps
book/cross.hpp The limit book and the call auction
book/lags.hpp Session bands and sampled delay
book/ladder.hpp A fixed price window and the best occupied tick
book/mbo.hpp Market-by-order book builder (MboBook)
book/own.hpp Local tops of book the caller feeds
book/quote.hpp Quote batches, ordered apply, the print log, and minute rolls
book/steps.hpp Tick bands, price walks, and TickGrid with a cached band cursor
study/factorcal.hpp Fixed-depth factor calendar series and named rings (notes §22)
book/extprint.hpp Print match by order number, active quote path
book/venue.hpp PaperVenue
book/tradelane.hpp Local TD TradeLane / lane_beat
book/drill.hpp DrillCue / DrillBook
desk/acct.hpp Trader→accounts table and acct_idle
desk/broker.hpp BrokerWatch, QueryFold, and QueryWant
desk/risk.hpp risk_merge and AcctRiskTab
desk/cash.hpp Cash/hold boards and cash_enough
desk/config.hpp Startup PitConf load, normalize, host apply, cash/hold soft tune, conf_yard_plan / conf_venue_cfg
desk/feedhub.hpp Local MD FeedHub / feed_push_*
desk/seed.hpp Startup CashSeed / HoldSeed
desk/shelf.hpp Local basic-data seeds (seed_facts / hours / holidays / load_facts / load_hours / load_holidays)
desk/bus.hpp Local topic bus (TopicBus)
desk/routebook.hpp Local algo route table (RouteBook)
desk/pulsehub.hpp pulse_bridge PulseBoard → desk pulses
desk/yard.hpp Startup symbol/quote yard (YardPlan, claim/bind/publish/latest)
order/prelock.hpp Two-phase freeze reserve / commit
clear/clearing.hpp ClearingBook FIFO lots, today/yesterday, fees, cash ledger, dual valuation, NAV, reconciliation, settle, blotter
order/credit.hpp Liability short pools and option_free
study/fair.hpp Integer fair, book bias, pressure score
util/breach.hpp First-breach sticky flags and pool watermarks
desk/codec.hpp Symbol class, offset, and direction
desk/feed.hpp Subscription mask, price scale, and raw ticks
desk/ids.hpp IdMint
desk/logline.hpp Log
desk/names.hpp NameBook
desk/region.hpp The desk, MapOpt file mapping, and ring capacities
desk/ring.hpp FanRing
desk/replay.hpp Deterministic ring replay and fault injection
desk/snapring.hpp Fixed-layout cross-language snapshot ring
desk/wal.hpp File-backed write-ahead log
desk/runtime.hpp DeskLoop
desk/signal.hpp PulseBoard
desk/types.hpp Intent, Report, Quote, sides, styles, phases, and Why
desk/wire.hpp Algo, control, pulse, print, query, subscribe, signal, market-order, and parcel slots
desk/engine.hpp Engine process role
desk/md_engine.hpp MdEngine market-data gateway
desk/td_engine.hpp TdEngine / TdClient trader gateway
desk/plane.hpp SimRole, replay delay, and tape speed
study/strat_engine.hpp StratEngine strategy and context
study/shadow.hpp Shadow fill comparison and per-algorithm slippage
host/affinity.hpp Set CPU affinity for the calling thread or process
host/hugepage.hpp nr_hugepages, Hugepagesize, thp_disable
host/memlock.hpp Process-wide mlockall / munlockall
host/irq.hpp Read and write IRQ smp_affinity_list
host/numa.hpp NUMA node query and range mbind
host/priority.hpp SCHED_FIFO / SCHED_RR / SCHED_OTHER and nice
order/ack.hpp Place and cancel acknowledgement timers
order/bind.hpp Counter ids and out-of-order reports
order/idclaim.hpp Fixed-capacity id state table (Wait / Live / Final)
order/inbound.hpp Commands waiting for their due time
order/judge.hpp List, flow, ratio, deviation, and self-trade checks
order/inflight.hpp List-only inflight timeout scan
order/lane.hpp Channel rules, LaneBook, and Cause
order/basket.hpp Per-name basket target ledger
order/ledger.hpp Freezes, margin, fees, fills, login ids, and the working slot
order/life.hpp Order transitions and phase names
order/line.hpp Arrival order of ids at one price
order/lots.hpp Lot split, board-lot, and margin quantity helpers
order/parent.hpp Parent time slices, child quantity, and a basket control header
order/quoteprice.hpp Book-only pre, post, and chase prices
order/plan.hpp The next order, resting room, slices, and chase prices
order/pool.hpp Fixed slots found by id
order/recon.hpp Local and counter fill alignment
order/shed.hpp Sojourn drop
order/sheet.hpp Order sheet, partial cancel, and gate_ask
order/sign.hpp Sign composition and opening quota
order/ticket.hpp Command snapshot and revision
order/typed.hpp Compile-time ticket tags
study/acb.hpp FIFO lot queue and average-cost position book
study/corp.hpp Corporate-action price factors
study/decide.hpp Scored candidate intents: store and compare
study/extreme.hpp High and low over the last fixed run of prices
study/plan.hpp A grey-black factor order and a fixed act list
study/study.hpp Book features, markouts, relations, factors, replay, and one research step
study/strathook.hpp Strategy façade StratHook / strat_stage_*
time/clock.hpp A published cycle scale and wall time
time/cut.hpp Solo versus split path choice from measured gaps
time/cycle.hpp Cycle reads, an integer scale, and a cached microsecond
time/global.hpp Process-wide integer TSC cycle scale
time/lap.hpp Differences of timestamps the caller stored
time/mag.hpp Magnitude buckets and paced notes
time/sample.hpp A fixed list of samples
time/simclock.hpp SimClock
time/span.hpp Timestamps beside a message
time/tape.hpp A gate, a per-core tape, sealed segments, and spikes
time/tail.hpp Per-lane TSC tail histograms and a freeze-on-trigger tape
time/trace.hpp Latency samples, clock offset, and buckets
time/tsc.hpp Calibrated TSC microsecond clock and desk publish
time/urgent.hpp One tag that does not wait in a queue
time/wheel.hpp A tick wheel
util/arena.hpp Fixed-capacity arena with default explicit huge pages
util/batch.hpp Adaptive micro-batch size from backlog
util/bound.hpp One-compare bounds and a walk budget
util/corebank.hpp Caller-owned per-core fixed-stride bank
util/chunk.hpp Sparse price blocks and cancel handles
util/drill.hpp Clocks, budgets, ladders, and plain records for tests
util/fillring.hpp A slot filled in place
util/authbits.hpp MAC whitelist (≤3) and role bit tests
util/frame.hpp Frames, sequence gaps, and reordering
util/grace.hpp Reader epochs and a retire list
util/hex.hpp Hex and a byte compare
util/hint.hpp Branch tips, hot and cold placement, and prefetch
util/mix64.hpp A split mix
util/mold.hpp Prepared frames, block length, and an id that can be returned
util/objpool.hpp Thread-private fixed freelist pool
util/numeric.hpp Wide products used by the checks
util/page.hpp Ordinary and huge page sizes; byte round-up
util/pace.hpp Token buckets and theoretical arrival times
util/phase.hpp Signed-ticket PhaseGate; non-blocking flip_ready; ActiveSum counter rotate
util/pinbank.hpp PrioSnap priority triple buffer; PinBank multi-reader snapshots with per-slot refcounts
util/readwin.hpp The slowest reader plus a window
util/seqgate.hpp Sequence gap recovery, gap_width, and reset
util/seqpub.hpp No-backpressure sequence ring; may overwrite unread slots
util/seqwin.hpp A sequence window that stops at a hole
util/rankbits.hpp RankBits dense ranks and QuadTab four-key lines
util/sig.hpp Signature buckets
util/simd.hpp Packed clear, packed copy, and cover helpers
util/snap.hpp Snapshot slots published as a whole
util/spin.hpp A TTAS spin lock on its own line
util/stage.hpp A ring finished in claim order
util/stream.hpp Frame checksums and byte-stream reassembly
util/sticky.hpp Wait-free StickyCounter (final value visible to readers)
util/stride.hpp The address of one core's slot
util/textbuf.hpp A fixed text buffer
util/touch.hpp Prefetch and load by cache line
util/wirepx.hpp Mantissa/exponent wire price helpers
net/frame.hpp NetHeader, NetKind, net_pack, net_unpack, CRC32C
net/logbuf.hpp TermLog term buffer with pad frames and flow control
net/udp.hpp UdpAddr, udp_addr, udp_parse, UdpLink
net/replicate.hpp Leader/follower ReplicaLog with quorum commit
net/hub.hpp RemoteHub desk-to-log and log-to-desk bridge
order/oms.hpp Oms, OmsOrder, OmsFill order state and parent/child progress
order/sor.hpp Venue effective price, aggressive/passive routing, ShownHold
order/ems.hpp Ems parent slicing through SlicePlan and the SOR
order/pms.hpp Pms average-cost positions and PnL
order/rms.hpp Rms pre-trade limit checks
study/factor.hpp FactorEngine integer factor series
study/factor_eval.hpp FactorEval IC, rank IC, hit rate, quintiles
study/pipeline.hpp FactorPipeline research/backtest/paper/live stages
study/backtest.hpp Backtester, BtCfg, BtMetrics, BtPoint single-instrument event-driven backtest
study/block_tape.hpp BlockTapeWriter / BlockTapeReader append-only columnar tick tape
study/tape_source.hpp TapeSourceApi adapters that load a block tape or its tail into Quote rows
study/factor_lab.hpp FactorLab kind/window/horizon sweep, IC/rank IC/ICIR, sort, and pick
ops/strategy.hpp StrategyRegistry eight strategy slots, state machine, command ring, seqlock rows