Re: [Quickfix-developers] Field missing in latest SecurityType.java
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-03-03 19:15:14
|
Well previous versions are only put in the deprecated directory if the name has changed. This is no longer the case by the way and all fields are not in the same directory. As for deprecated enumerations, deleting them ISN'T the solution. As I said earlier, we don't yet HAVE a solution. So please wait until we do before being unhappy with it :) I think it is unlikely that we will create a copy of 450 files in a different package simply because one or two are not backwards compatible. Removing enumerations is a very rare occurance (I believe this is a first) which can be handled on a case by case system. If it ever becomes more frequent, a more general solution will be called for. Commenting out isn't necessary because we do want those enumerations to be present. I've checked in a new generator that will place them in their for versions that no longer have them. This brings back the OPTION and FUTURE enumerations. Min Tang <mi...@op...> wrote:I know the new changes are for FIX4.3 spec, but I am not sure putting those fields of previous versions in deprecated directory is a proper way. Many institutions are still using old version such as FIX4.0. For those users this Java QuickFix simply does compile. I think one way to make them all work is creating a new package calle "fix40to42" and move all classes under deprecated to this new directory. Same idea can also apply to enumerations. If you do want to deprecate those enumerations such as OPTION and FUTURE in SecurityType.java, I believe commenting them out is better than deleting them. At lease I can easily tell you did this intentionally and they were all deprecated. ----- Original Message ----- From: To: Cc: ; Sent: Friday, February 28, 2003 8:24 PM Subject: Re: [Quickfix-developers] Field missing in latest SecurityType.java > > Yes and yes. > > Deprecated fields are ones whose names have changed. For instance > LastShares became LastQty. Although LastShares is in the deprecated > subdirectory, it is in the same package of LastQty, so you don't need to do > anything special to pull them in. Its just a way to show that its use has > been dropped in newer versions of the spec. > > Having these allows you to use LastShares when dealing with older versions > of the spec, and use LastQty when dealing with newer versions (in fact you > must do it this way or the compiler will complain). > > Concerning FUT and OPT, this is in accordance with FIX 4.3: > > It is recommended that CFICode be used instead of SecurityType for > non-Fixed Income instruments. > > Futures and Options should be specified using the CFICode[461] field > instead of SecurityType[167] (Refer to Volume 7 ? Recommendations and > Guidelines for Futures and Options Markets.") > > I haven't yet determined how to handle deprecated enumerations. > Suggestions would be welcome from anybody. For now, If you need to use > them, you can manually add them or just pass in "OPT" and "FUT". > > > --oren > > > |---------+-----------------------------------------------> > | | Min Tang | > | | Sent by: | > | | qui...@li...ur| > | | ceforge.net | > | | | > | | | > | | 02/28/2003 07:00 PM | > | | | > |---------+-----------------------------------------------> > >--------------------------------------------------------------------------- -------------------| > | | > | To: qui...@li... | > | cc: | > | Subject: [Quickfix-developers] Field missing in latest SecurityType.java | > >--------------------------------------------------------------------------- -------------------| > > > > > I cannot find Option and Future in latest SecurityType.java. Some classes > under deprecated directory are still using by classes in other directory. > Are these intentional updates? > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more |