INNER CODE UNIT · Python

resend_request

StratCraftsAI/NexusFix · fuzz/gen_corpus.py:68

def resend_request(begin_string, seq):
    return frame(begin_string, [
        ("35", "2"), ("49", "TARGET"), ("56", "SENDER"), ("34", str(seq)),
        ("52", "20231215-10:30:00"), ("7", "1"), ("16", "0"),
    ])


BEGIN = {
    "42": "FIX.4.2",
    "43": "FIX.4.3",
    "44": "FIX.4.4",
    "50": "FIXT.1.1",  # 5.0 uses the FIXT.1.1 session layer
}

# Known-malformed frames (hand-enumerated negatives; fuzzer beats hand-enum,
# but these prime the error branches immediately).
MALFORMED = {
    "empty": "",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…