INNER CODE UNIT · Python

sbe_nos

StratCraftsAI/NexusFix · fuzz/gen_corpus.py:110

def sbe_nos():
    body = (sbe_str("ORDER123", 20) + sbe_str("AAPL", 8) + b"1" + b"2" +
            b"\x00\x00" + struct.pack("<qqq", 15025000000, 1000000, 1702636200_000000000))
    return sbe_header(56, 1) + body


def sbe_exec_report():
    body = (sbe_str("EXCH-ORD-1", 20) + sbe_str("EXEC1", 20) +
            sbe_str("ORDER123", 20) + sbe_str("AAPL", 8) +
            b"1" + b"0" + b"0" + b"\x00" +
            struct.pack("<qqqqqqqq", 15025000000, 1000000, 15025000000,
                        1000000, 0, 1000000, 15025000000, 1702636200_000000000))
    return sbe_header(136, 8) + body


SBE_SEEDS = {
    "nos": sbe_nos(),
    "exec": sbe_exec_report(),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…