Skip to main content

market_status_snapshot_updates

Function market_status_snapshot_updates 

Source
pub fn market_status_snapshot_updates(
    statuses: &[MarketStatus],
) -> Vec<MarketEventUpdate>
Expand description

Adapt the complete CMD6823 pull snapshot into the same domain updates used by CMD6301 pushes.

C++ NNBiz_Qot_EventNotice.cpp:106-125 constructs a new market-state row from each pull item and stores commit_day_key alongside it. The pull path therefore replaces both localized text fields, including an explicit empty string, while CMD6301 patches preserve text fields absent on the wire.