Skip to content

Instantly share code, notes, and snippets.

View filip-seedcx's full-sized avatar

Filip filip-seedcx

  • SeedCX
  • Chicago, IL
View GitHub Profile
@filip-seedcx
filip-seedcx / logon.py
Last active February 7, 2019 23:38
Send logon message to FIX gateway
#!/usr/bin/env python3
"""
This script connects to a FIX gateway, sends a logon message
followed by a test request and a log out. It then disconnects.
No other messages get sent.
Cmd line parameters:
--host FIX gateway IP address or host name
--port FIX gateway port
@filip-seedcx
filip-seedcx / robocop-cert-target-sub-ids.txt
Created March 18, 2019 06:37
Test demonstrating FIX Gateway's routing based on target comp id
Using Environment cert
Using FIX market data config: /home/filipf/src/gw/robocop/tests/config/certfixmd.ini
Using default FIX file: defaults.ini
Loading defaults from: /home/filipf/src/gw/robocop/tests/defaults.ini
onCreate FIX.4.4:T-ROBO5A->SEEDCX
onCreate FIX.4.4:T-ROBO5B->SEEDCX
FIX.4.4:T-ROBO5A->SEEDCX : SENT ADMIN-LEVEL FIX
(begin_string)8=FIX.4.4 | (body_length)9=75 | (msg_type)35=A(logon) | (msg_seq_num)34=1 | (sender_comp_id)49=T-ROBO5A | (sending_time)52=20190318-06:34:57.953 | (target_comp_id)56=SEEDCX | (encrypt_method)98=0(unencrypted) | (heart_bt_int)108=30 | (reset_seq_num_flag)141=Y | (check_sum)10=038 |