INNER CODE UNIT · Python

exec_report

StratCraftsAI/NexusFix · fuzz/gen_corpus.py:43

def exec_report(begin_string, seq):
    # ExecutionReport (35=8)
    return frame(begin_string, [
        ("35", "8"), ("49", "SENDER"), ("56", "TARGET"), ("34", str(seq)),
        ("52", "20231215-10:30:00"), ("37", "ORDER123"), ("17", "EXEC1"),
        ("150", "0"), ("39", "0"), ("55", "AAPL"), ("54", "1"),
        ("38", "100"), ("14", "0"), ("6", "0"), ("44", "150.25"),
    ])


def logon(begin_string, seq):
    # Logon (35=A) - counterparty view (49=TARGET) for the session harness
    return frame(begin_string, [
        ("35", "A"), ("49", "TARGET"), ("56", "SENDER"), ("34", str(seq)),
        ("52", "20231215-10:30:00"), ("98", "0"), ("108", "30"),
    ])

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…