Question about FIX Msgs

If I connect to a FIX API and I execute a trade, on the execution message (which will flow back down to the Prime Broker/Clearer) can I add a text string message, which the PB/Clearer will indeed see this message?

For clarity, my personal message is not reliant on the execution meaning I could pre-populate the FIX tag if need be.

Cheers.

Posted Aug 12, 2015, 9:26 AM UTC

45
enginerd03•

you have to discuss with your counterparty regarding the dictionary.

2
KarmaReckoner•

You should really read the FIX specification before you even begin to think about sending messages to a API.

Field 58 is named "Text", and is usually used to send text strings. But of course this depends upon the specification you are developing against.

2
Stimzz•

I assume that you refer to you being a client connecting to a fix server (broker) sending in orders. Then the msg exchange is you -> NewOrderSingle. Broker respond with a ExecutionReport status New/Rejected. Then once you get a partial / fully - filled they will send you another ExecutionReport stating so (unsolicited).

Thus the only msg where you can send in clearing instructions to the broker (who will forward it on the trade to the clearer / might be them self) is in the NewOrderSingle. There are many different tags for this however it is not likely that you will be successful in persuading the broker to modify their fix engine to your needs.

So unless your broker already support this you are probably out of luck. -> You need their FIX specification.

PS FIX is a plague on mankind and should exterminated promptly. DS

2
LacesOutOP•

In a perfect world, what would you recommend over FIX?

1
Stimzz•

Yeah you are right. FIX is the standard. But in a perfect world most of the native order entry protocols i.e. Nasdaq's OUCH, MIT's MOUCH or BATS' Native Order Entry is lightyears ahead.

My personal favorit is Pantors' Blink. It is google protocol buffers on steroids. Blink is not a protocol in it self though but rather the next abstraction above.

My reasons for feeling dirty after a full day of FIX wrangling is that session layer and application layers is mixed. Seq nr on application lvl common. That is supposed to be handle by the transmission layer. Then FIX is not a protocol in that it is just a bunch of random tag=value pairs.

People do all kinds of crazy stuff making me crawl all over.

Take ITCH for example do not remember exactly but there is like 5 message types in the whole protocol. Small, efficient and clean.

Then I am not going to start on efficiency in reagards to FIX. The level of waist in parsing into ASCI back and forth, watching for delimiters etc. It is like we read the book on how to get an efficient protocol and then did the opposite. Fixed offset / header that gives the offsets - binary messages is so much cleaner.

Sorry for the rant, been exposed to too much FIX :)

1