fix-protocol

Difference between “group” and “component” in QuickFix/J

拜拜、爱过 提交于 2019-12-04 01:30:24
I am new in the FIX world. I am writing an application processing FIX messages in Java and for that I am using QuickFix/J. I have downloaded the DataDictionary from the homepage ( http://quickfixengine.org/ ). I am using the version 4.4 In the xml-file exists groups and components. But a component can contain groups again. What's the exact differnce between them? Thanks for your help!! Components aren't really... things. They're like macros in the FIX DataDictionary. Many messages need the same set of fields, so instead of specifying the same fields in every message, the DD defines a component

FIX internal sequence numbers

百般思念 提交于 2019-12-03 17:04:56
问题 I have a process between the Sell side client and an exchange that does currency conversons. There are two FIX adapters - one recieving the messages from the sell side and serving the messages to the process. And another FIX engine that takes the messages from the process and sends them in FIX to the exchange. Every FIX message has a unique sequence number dented by tag 34. However, it seems that each of these FIX engines has a INCOMING SEQUENCE number (what FIX engine is expecting for

in HFT does it make sense to try to parallel orders processing?

五迷三道 提交于 2019-12-03 08:03:33
Well I assume this is more theoretical question for those who familar with hft. I receive orders from FAST and process them. I receive about 2-3 thousands orders per second. The question is if I should try to process them synchronous or asynchronous. Every time I receive next order I need to do following: update orderbook of corresponding instrument update indexes and indicators that depends on that order update strategies and schedule some actions if required (buy/sell something etc.) To do that synchronous I have about 200-300 µs (to be able to process 3000 orders per second). That should be

What's the most efficient way to parse FIX Protocol messages in .NET?

≯℡__Kan透↙ 提交于 2019-12-03 06:02:47
问题 I came across this very similar question but that question is tagged QuickFIX (which is not relevant to my question) and most of the answers are QuickFIX-related. My question is broader. I'm looking for the most efficient way to parse a FIX Protocol message using C# . By way of background, a FIX message consists of a series of tag/value pairs separated by the ASCII <SOH> character (0x01). The number of fields in a message is variable. An example message might look like this: 8=FIX.4.2<SOH>9

FIX internal sequence numbers

ぃ、小莉子 提交于 2019-12-03 05:58:32
I have a process between the Sell side client and an exchange that does currency conversons. There are two FIX adapters - one recieving the messages from the sell side and serving the messages to the process. And another FIX engine that takes the messages from the process and sends them in FIX to the exchange. Every FIX message has a unique sequence number dented by tag 34. However, it seems that each of these FIX engines has a INCOMING SEQUENCE number (what FIX engine is expecting for counter party) and an OUTGOING SEQUENCE NUMBER (what FIX engine is sending to counter party). Are these

Quickfix failing to read repeating group

一世执手 提交于 2019-12-02 12:31:23
问题 I am using quickfix in Windows with python bindings. I have been able to make market data requests in the past. I recently changed to a different API provider (Cunningham, aka CTS) and am encountering a lot of issues. At least one of them, however, seems to be internal to quickfix. It is baffling me. When I send a market data request, I get back a response. It is a typical 35=W message, a market snapshot. Quickfix is rejecting this message because tag 269 appears more than once! Of course,

Weird behavior of Quickfix/j after “Sent test request TEST” happens

一世执手 提交于 2019-12-01 23:44:50
问题 I'm using Quickfix/J to receive the message but "Sent test request TEST" happen. The log file (FIX.4.2-A-B.event.log)shows that: 23:19:05: Sent test request TEST 23:19:32: Disconnecting: Timed out waiting for heartbeat 23:19:33: Initiated logon request 23:19:44: Disconnecting: Timed out waiting for logon response 23:19:45: Initiated logon request 23:19:56: Disconnecting: Timed out waiting for logon response ... But I find something in another log file(FIX.4.2-A-B.message.log): 8=FIX.4.2|9=68

Weird behavior of Quickfix/j after “Sent test request TEST” happens

隐身守侯 提交于 2019-12-01 21:16:06
I'm using Quickfix/J to receive the message but "Sent test request TEST" happen. The log file (FIX.4.2-A-B.event.log)shows that: 23:19:05: Sent test request TEST 23:19:32: Disconnecting: Timed out waiting for heartbeat 23:19:33: Initiated logon request 23:19:44: Disconnecting: Timed out waiting for logon response 23:19:45: Initiated logon request 23:19:56: Disconnecting: Timed out waiting for logon response ... But I find something in another log file(FIX.4.2-A-B.message.log): 8=FIX.4.2|9=68|35=1|34=250|49=A|52=20140224-23:19:05.909|56=B|112=TEST|10=106 8=FIX.4.2|9=74|35=0|49=B|56=A|43=N|34

Quickfix: acceptor and initator in same application?

泪湿孤枕 提交于 2019-12-01 09:34:53
I am new to quickfix (I'm a student trying to teach myself), and have downloaded the examples from quickfix.org (in c++) and have been able to connect ordermatch to tradeclient and get them talking to each other. I changed the config file for ordermatch to allow multiple clients and got that working (ordermatch can receive orders from multiple clients and manage the order book). I have been trying to find a way to alter ordermatch to send it's confirm messages to ALL clients, not just the sender. I have a seperate implementation of a limit orderbook and want to crack the incoming messages

FIX message delimiter

三世轮回 提交于 2019-11-30 08:00:57
问题 I am relatively new to FIX-Protocol. The delimiter for a FIX-Protocol message sometimes show ^ and other times |. Wikipedia for FIX-Protocol says [SOH] ( < Start of Header > for hex 0x01 ) being the character. Please explain the meaning of the same. For example a FIX-Protocol message can be visually represented as 8=FIX.4.4^9=122^35=D^34=215^49=CLIENT12^52=20100225-19:41:57.316^56=B^1=Marcel^11=13346^21=1^40=2^44=5^54=1^59=0^60=20100225-19:39:52.020^10=072^ or 8=FIX.4.4|9=122|35=D|34=215|49