Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
<TryCopyField <TryCopyField SourceField = "85005" TargetField = "95005" /> 

There are two (mandatory) attributes: “SourceField” and “TargetField”. The action tries to copy tags within current FIX message.

 Absence of the tag defined by “SourceField” does not cause fail, the action is just ignored.

Code Block
languagehtml/xml
 <TryCopyField SourceField ="85005" TargetField  ="95005" DefaultValue = "NONE"/> 
 

It is possible to use default value for missed tags. Use optional attribute “DefaultValue” for this case.  

Code Block
languagehtml/xml
 

The “Method” attribute contains the method name that uses for conversion during copying. The “UTCToLocalTime” means that the conversation from UTC time to LocalDate will be performed.

Code Block
languagehtml/xml
 
The “Trim” method trims spaces and tabs from SourceField and copies the resulted value into TargetField.

 

<CopyField> action

 

Code Block
languagehtml/xml
<RemoveField Field="19" Order="10"/>

Every action element can contain the “Order” attribute. Order is an integer value that defines a sequence of actions within a current rule.
The “Order” attribute is optional.