tag:blogger.com,1999:blog-8712770457197348465.post1808591029222972383..comments2024-03-28T02:47:19.159-07:00Comments on Javarevisited: Top 20 FIX Protocol Interview Questions and Answersjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-8712770457197348465.post-31870482788370450812020-07-25T22:34:12.521-07:002020-07-25T22:34:12.521-07:00Hello @Anonymous, I don't think this is possib...Hello @Anonymous, I don't think this is possible. let assume Side has sequence Number 100 and side B has 120, if A sends a request with 34=100 then B will ask for resend.javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-27211521381235468662020-07-24T01:06:47.305-07:002020-07-24T01:06:47.305-07:00Hello,
quick question: lets say both sides are beh...Hello,<br />quick question: lets say both sides are behind in seqNum in terms of each other. How would recovering from that work?<br />1) Side A sends a resend req<br />2) Side B receives resend req with lower seq num than expected and sends its own resend req to Side A<br />3) side A receives resend req with lower seq num than expected and sends another resend req<br />...<br />How this scenarioAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-50370582020898764382020-04-17T23:55:02.964-07:002020-04-17T23:55:02.964-07:00Hello Rohin, it depends upon your scenario, if old...Hello Rohin, it depends upon your scenario, if old messages are important for you then send those message, if those are not important then just reset the sequence number. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-37544183270922296522020-04-13T09:06:17.276-07:002020-04-13T09:06:17.276-07:00I have a question
I understand that during sequen...I have a question<br /><br />I understand that during sequence number reset either fix engine can use poss dup or poss resent.<br /><br />How fix engine will determine which one to sent either poss dup or poss resent during sequence number reset?<br /><br />Is it configured or dependent on fix engines that it should sent poss dup or poss resent only when the other guy ask for sequence number Rohinhttps://www.blogger.com/profile/03520480821085795451noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-60595853612188450292017-01-04T03:15:57.906-08:002017-01-04T03:15:57.906-08:00@Anonymous- In which scenario 39=5 and 150=F will ...@Anonymous- In which scenario 39=5 and 150=F will occur?<br />I dont think this condition is possible. Tag 39 cant be replaced if tag 150 is F.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-52265230475568683572015-12-16T22:36:46.872-08:002015-12-16T22:36:46.872-08:00Thanks Javin, this question has helped to QA, Supp...Thanks Javin, this question has helped to QA, Support guys, developers and new hires into our team to learn more about FIX Protocol and I have feedback that its great resource both tester, developer and even Interviewer to check FIX protocol skills of potential candidates. thanks for putting effort and sharing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-89510729529580147552015-02-10T05:49:54.858-08:002015-02-10T05:49:54.858-08:00Hello Javin
In which scenario 39=5 and 150=F will...Hello Javin<br /><br />In which scenario 39=5 and 150=F will occur?<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-23672511449531755752014-08-24T07:15:41.439-07:002014-08-24T07:15:41.439-07:00Can we send a Cancel followed by NEW instead of se...Can we send a Cancel followed by NEW instead of sending MOD? what is difference? Yes, you can but the difference is position of order in price queue. In case of MOD, many exchange keep the original position of order, but when you cancel you lose the position and NEW will always be added at the end of price queue (tail).javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-79165575410150235502014-08-24T07:14:23.394-07:002014-08-24T07:14:23.394-07:00@Anonymous, if OrderStatus 39=5 or replaced, then ...@Anonymous, if OrderStatus 39=5 or replaced, then ExecType partial filled means there is still some remaining quantity in market with modified price/quantity, fill means there is no more quantity and bust means the earlier executions are cancelled.javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-8625307125850394282014-08-24T07:12:30.716-07:002014-08-24T07:12:30.716-07:00@Anonymous, Tag 1 is used for Account @Anonymous, Tag 1 is used for Account javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-55060795556580720542014-08-24T07:11:56.092-07:002014-08-24T07:11:56.092-07:00@Anonymous, It depends upon how Sell side handles ...@Anonymous, It depends upon how Sell side handles it, until sell side broker ack it, order is in Pending NEW state and any modification will likely to be rejected, but some broker may queue it, returning first NEW and then REPLACED messages. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-78140125650109495162014-08-24T06:34:20.531-07:002014-08-24T06:34:20.531-07:00Question. If you place an order and then make modi...Question. If you place an order and then make modification to it before ack from sell side. What happens to orginal order?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-43285890377419571472014-08-21T13:54:02.094-07:002014-08-21T13:54:02.094-07:00What does an OrderStatus (39=5) replaced means if ...What does an OrderStatus (39=5) replaced means if 150 (execType) ==Partially Fill, fill or even if bust 20=1?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-91243770606835531982014-08-21T02:00:27.846-07:002014-08-21T02:00:27.846-07:00What does tag 1 represent in FIX protocol?
Can we ...What does tag 1 represent in FIX protocol?<br />Can we send a Cancel followed by NEW instead of sending MOD? what is difference?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-33454648185091620582014-06-07T20:54:56.404-07:002014-06-07T20:54:56.404-07:00I was asked following questions on morgan stanley ...I was asked following questions on morgan stanley interview :<br /><br />1) what is difference between Odd lot and Round lot in Stocks? in <br />Answer : An odd lot is a number of shares less than 100 (1-99), while a "Round Lot" is 100 shares of stock. Any number of shares that is a multiple of 100 is also a round lot (i.e. 100, 600, 1,600, etc)<br /><br />2) Name two exchange traded Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-66131577482919626592014-04-15T15:05:22.571-07:002014-04-15T15:05:22.571-07:00Is there a way in FIX 4.2 to find out what the cur...Is there a way in FIX 4.2 to find out what the current net position is on a futures position?Tony C.https://www.blogger.com/profile/16660141530413708829noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-43283544095577424332014-01-23T06:30:17.848-08:002014-01-23T06:30:17.848-08:00for FX streaming price you use the Market Data Sna...for FX streaming price you use the Market Data Snapshot Full Refresh 35=WAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-39616510186034743872013-10-01T01:02:33.880-07:002013-10-01T01:02:33.880-07:00Couple of questions from my side :
What are the F...Couple of questions from my side :<br /><br />What are the FIX messages which is used in FX trading? (msgtype W and X are some examples)<br />What are the FIX messages which is used for publishing market data?Richardnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-16396471686556783582013-07-11T20:32:36.545-07:002013-07-11T20:32:36.545-07:00In Question 2 of "New FIX protocol question s...In Question 2 of "New FIX protocol question section", tag for OrderCancelReplace should be 35=G instead of 35=F, which is used for OrderCancelMessage.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-74692926433307346362013-07-10T22:15:59.490-07:002013-07-10T22:15:59.490-07:00I was asked in latest interview with one of leadin...I was asked in latest interview with one of leading ASIAN brokerage firm, how do perform FIX Sequence reset? I answered by removing persistence files which keeps track of incoming and outgoing sequence number, but he doesn't seems happy? Is there any other way to reset FIX sequence numbers, both incoming and outgoing?DKnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-54247467771944975162013-07-10T21:00:28.724-07:002013-07-10T21:00:28.724-07:00I was interviewed by one hedge fund in Hongkong an...I was interviewed by one hedge fund in Hongkong and they asked me about At auction limit order, which is a limit order, can only be placed during pre opening session between 9.00 and 9.30, whose price can not be more than 9 times of closing price of security. Remaining At Auction limit order, which is not filled, get converted into normal limit order. They also ask, how do you handle Special Wangnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-49685157421771341982013-07-09T00:12:23.391-07:002013-07-09T00:12:23.391-07:00Thanks a lot Demetrius Harvy for providing answers...Thanks a lot Demetrius Harvy for providing answers of all FIX questions. Javin, Can you also share some SWIFT protocol questions? e.g. SWIFT templating with templates like MT340, MT360?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-44098801996239424382013-05-16T19:57:01.905-07:002013-05-16T19:57:01.905-07:00Main difference between LIMIT, Enhanced LIMIT and ...Main difference between LIMIT, Enhanced LIMIT and Special Limit order is how they executed, LIMIT order executes only at specified price or better price. Enhanced LIMIT order can go upto 10 price queues to fill the order, for example if want to buy HSBC at 1HKD, and price tick is 0.01HKD, it can go up to price queue 1.10 HKD to fill your order. Remaining order will be treated as Limit order, on Lim chimnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-58141914788787072592013-04-16T02:38:46.977-07:002013-04-16T02:38:46.977-07:00What is difference between Limit Order, Enhanced L...What is difference between Limit Order, Enhanced Limit Order and Special Limit order of HongKong Stock Exchange? This question was asked to me on Deutsche Bank HongKong Interview.<br /><br />Another question was difference between Order Driven and Quote Driven Market, and whether HKSE is a order or quote driven market.Ravinoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-50674104039500713082013-04-16T02:22:20.333-07:002013-04-16T02:22:20.333-07:00Answer to question 1 : Main difference between Ord...Answer to question 1 : Main difference between OrdStatus(tag 39) and ExecType(tag 150) is that former denotes current status of order on broker side, while later denotes type of execution report message e.g. ACK, FILL or PARTIAL FILL.Anonymousnoreply@blogger.com