Symbol / quote yard
Yard is a separate startup map (magic PITYARD2, layout kYardVersion 2) for startup-sized pools: dense symbols, quote / order / trade / rebuild / mix tapes, plus YardFacts and YardHours tables. Defaults: (sym/quote 150000×256, order/trade lanes 10×32768, rebuild 10×128, mix 10×32768, facts 35000, hours 500). yard_open sizes once; claim / bind / publish / latest paths never allocate. Full pools fail closed. Names are pitlane-owned (YardTick, YardPrint, YardFacts, YardHours).
pitlane::YardPlan plan = pitlane::conf_yard_plan(conf); // or a tiny plan in tests
pitlane::YardView yard{};
if (pitlane::yard_open("yard.bin", plan, &yard, pitlane::conf_map_opt(conf), 1) != 0) return 1;
uint32_t id = pitlane::yard_claim_sym(yard, "IF2501");
if (!id || !pitlane::yard_bind_quote(yard, id) || !pitlane::yard_bind_order(yard, id)) return 1;
pitlane::YardMark mark{/* bid/ask px qty, ts_us */};
if (!pitlane::yard_publish(yard, id, mark)) return 1;
pitlane::YardTick tick{/* px qty side ts_us */};
if (!pitlane::yard_publish_tick(yard, id, tick)) return 1;
conf_study_plan copies study-scale defaults for caller-side FactorSeries / NamedFactorRing sizing (not a shared mmap).