Enable or disable parameter on the screen based on Region/Country

Dear community,

Hope you guys are doing great.

I’d like to know if it possible to add a StateRule that enable/disable some parameters on screen based on the instrument’s Country/Region. If StateRule is not possible, maybe I can use StrategyEdit to validate the message before the user sent.

Thanks in advance.

Is this question about FIXatdl?

Region and Country are considered ‘filtering’ options.

In FIXatdl 1.1 (in broad use), you would unfortunately (re-)define separate Strategy elements, and specify different Region element (and optionally Country element) elements to each Strategy element.

In FIXatdl 1.2 (released recently), we added the ability to define a Filter element which could include Regions-Region-Country elements, and then that Filter’s id attribute can be referenced on specific Controls and other elements (providing the ability to conditionally / contextually control facets of a single Strategy element).

For FIXatdl 1.2, see the “Filtering according to OMS Environment Values” section within its spec:

I’m not aware of any recommendation to ‘provide’ the underlying order’s Region, Country, SecurityType, etc filter criteria as ‘accessible fields’ – like the “FIX_” prefixed ones (FIX Message fields) such as FIX_Price, FIX_Quantity, etc.

1 Like